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!

Splunk Custom Visualizations App End of Life

The Splunk Custom Visualizations apps End of Life for SimpleXML will reach end of support on Dec 21, 2024, ...

Introducing Splunk Enterprise 9.2

WATCH HERE! Watch this Tech Talk to learn about the latest features and enhancements shipped in the new Splunk ...

Adoption of RUM and APM at Splunk

    Unleash the power of Splunk Observability   Watch Now In this can't miss Tech Talk! The Splunk Growth ...