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!

Stay Connected: Your Guide to December Tech Talks, Office Hours, and Webinars!

❄️ Celebrate the season with our December lineup of Community Office Hours, Tech Talks, and Webinars! ...

Splunk and Fraud

Watch Now!Watch an insightful webinar where we delve into the innovative approaches to solving fraud using the ...

Continuing Innovation & New Integrations Unlock Full Stack Observability For Your ...

You’ve probably heard the latest about AppDynamics joining the Splunk Observability portfolio, deepening our ...