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!

Cloud Platform | Customer Change Announcement: Email Notification Will Be Available ...

The Notification Team is migrating our email service provider since currently there’s no support ...

Mastering Synthetic Browser Testing: Pro Tips to Keep Your Web App Running Smoothly

To start, if you're new to synthetic monitoring, I recommend exploring this synthetic monitoring overview. In ...

Splunk Edge Processor | Popular Use Cases to Get Started with Edge Processor

Splunk Edge Processor offers more efficient, flexible data transformation – helping you reduce noise, control ...