All Apps and Add-ons

Send log4j output to splunk

omidizadkhasti
New Member

Dear Sir/Madam,

I am going to use Splunk to send my java application logs from different servers to Splunk.
I have created a SocketAppender in log4j.properties. Moreover, I have created a TCP data inputs on same port on Splunk.
But when I run my application it said there is not any listener on this port.
Could you please how can I fix this issue?
Moreover, is there any special appender for log4j in Splunk.

Thanks,
Omid

Tags (1)
0 Karma

brettcave
Builder

An effective way of getting log4j data to splunk is to use a syslog appender. more info

Check out this discussion

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 ...