Hi
I'm trying to push logs to Splunk using Splunk HTTP appender in Log4j.
If I disable SSL in HTTP event Collector Global Settings, I can push the logs to Splunk successfully whereas if I enable SSL, I cannot see any logs. Is there some configuration missing as part of my log4j ? Please help.
mule:log.splunk.url : http://localhost:8088 --> disabling SSL
mule:log.splunk.url : https://localhost:8088 --> enabling SSL
<SplunkHttp name="splunk" url="${mule:log.splunk.url}"
token="${mule:log.splunk.token}" batch_size_count="1" disableCertificateValidation="true" >
<JSONLayout complete="false" compact="false">
<KeyValuePair key="timestamp" value="$${date:MM-dd-yyyy}"/>
<KeyValuePair key="api_name" value="${mule:log.api.name}"/>
<KeyValuePair key="api_version" value="${mule:log.api.version}"/>
<KeyValuePair key="api_type" value="${mule:log.api.type}"/>
<KeyValuePair key="api_domain" value="${sys:domain}"/>
<KeyValuePair key="api_worker_index" value="${sys:worker.id}"/>
</JSONLayout>
</SplunkHttp>
... View more