@Override
    public void append(final LogEvent logEvent) {
        val refName = this.appenderRef.getRef();
        if (StringUtils.isNotBlank(refName)) {
            val appender = this.config.getAppender(refName);
            if (appender != null) {
                val newLogEvent = LoggingUtils.prepareLogEvent(logEvent);
                appender.append(newLogEvent);
            } else {
                LOGGER.warn("No Splunk log appender could be found for [{}]", refName);
            }
        } else {
            LOGGER.warn("No Splunk log appender reference could be located in logging configuration.");
        }
    }
Create appender.

@param name        the name
@param appenderRef the appender ref
@param config      the config
@return the appender
support/cas-server-support-logging-config-splunk/src/main/java/org/apereo/cas/logging/SplunkAppender.java