Getting Data In

Log4j2-TF-7-AsyncLoggerConfig-4 ERROR Unable to send HTTP in appender [Splunk] Connection timed out: connect

sknjc
New Member

Hello Support

I am trying to configure my mule application with the below configuration in LOG4J2. I am getting the below error message and logs are not writing to Splunk. Please help. Splunk is configured on a cloud server.

Log4j2 configuration

<Http name="Splunk" url="http://<server>:8088/services/collector/raw">
<Property name="Authorization" value="Splunk <token>" ></Property>
<PatternLayout pattern="%-5p %d [%t] %X{correlationId}%c: %m%n" ></PatternLayout>
</Http>

 

<AsyncRoot level="INFO">
<AppenderRef ref="file" />
<AppenderRef ref="Splunk" ></AppenderRef>
</AsyncRoot>

Error Message

2020-06-24 01:02:47,675 Log4j2-TF-7-AsyncLoggerConfig-4 ERROR Unable to send HTTP in appender [Splunk] java.net.ConnectException: Connection timed out: connect

sknjc_0-1592940716693.png

 

Best Regards

Sandeep

Labels (1)
0 Karma

Tanmay049
Engager

Hi Vikas, I'm using splunk cloud and uncheck the SSL is disabled, so what should i do?

Kind regards,

Tanmay

0 Karma

vikaspuri
Engager

Hi Sandeep,

Please make sure that in splunk there is Global Setting, go there and uncheck the SSL, as HTTP is not ssl enabled which will cause issue. 

Hope it will work!

Kind regards,

Vikas

Get Updates on the Splunk Community!

Index This | I am a number, but when you add ‘G’ to me, I go away. What number am I?

March 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...

What’s New in Splunk App for PCI Compliance 5.3.1?

The Splunk App for PCI Compliance allows customers to extend the power of their existing Splunk solution with ...

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...