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!

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...