All Apps and Add-ons

Error with splunk appenders in log4j xml

Rahul756
Loves-to-Learn

i used that appender in log4j.xml and i have localy splunk enterprise installed

 

<Appenders>
<Http name="http" url="https://localhost:8000.cloud.splunk.com/services/collector" token="f8196ae1-ef66-459e-a1c0-17359053ea14" disableCertificateValidation="true">
 <PatternLayout pattern="%-5p | %d{yyyy-MM-dd HH:mm:ss} | [%t] %C{2} (%F:%L) - %m%n" />
	</Appenders>

 

  and i got this error

ERROR StatusLogger Unable to send HTTP in appender [http]

Solution please

Labels (1)
Tags (1)
0 Karma

richgalloway
SplunkTrust
SplunkTrust
Port 8000 is for the user interface, not for collecting logs. Try using port 8088.
---
If this reply helps you, Karma would be appreciated.
0 Karma
Get Updates on the Splunk Community!

Splunk Security Content for Threat Detection & Response, Q1 Roundup

Join Principal Threat Researcher, Michael Haag, as he walks through:An introduction to the Splunk Threat ...

Splunk Life | Happy Pride Month!

Happy Pride Month, Splunk Community! &#x1f308; In the United States, as well as many countries around the ...

SplunkTrust | Where Are They Now - Michael Uschmann

The Background Five years ago, Splunk published several videos showcasing members of the SplunkTrust to share ...