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!

Index This | I am a number, but when you add ‘G’ to me, I go away. What number am I?

March 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...

What’s New in Splunk App for PCI Compliance 5.3.1?

The Splunk App for PCI Compliance allows customers to extend the power of their existing Splunk solution with ...

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...