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!

Easily Improve Agent Saturation with the Splunk Add-on for OpenTelemetry Collector

Agent Saturation What and Whys In application performance monitoring, saturation is defined as the total load ...

Explore the Latest Educational Offerings from Splunk [January 2025 Updates]

At Splunk Education, we are committed to providing a robust learning experience for all users, regardless of ...

Developer Spotlight with Paul Stout

Welcome to our very first developer spotlight release series where we'll feature some awesome Splunk ...