Getting Data In

Splunk prevents application to log

laurentjehu
Engager

Hi,

I'm testing Splunk to monitoring the log of an application. The logs are generated with log4j.
When I configure Splunk to index the log file, no more activity is traced by the application.

When using tail in command line, I don't have the problem.

How can I configure splunk not to lock the file ?

Best regards,
Laurent

Tags (3)
0 Karma
1 Solution

laurentjehu
Engager

I have found a solution by adding a syslog appender to the log configuration file of log4j.
Splunk has been set up to listen on port UDP 514.

View solution in original post

laurentjehu
Engager

I have found a solution by adding a syslog appender to the log configuration file of log4j.
Splunk has been set up to listen on port UDP 514.

Get Updates on the Splunk Community!

Introducing the Splunk Community Dashboard Challenge!

Welcome to Splunk Community Dashboard Challenge! This is your chance to showcase your skills in creating ...

Wondering How to Build Resiliency in the Cloud?

IT leaders are choosing Splunk Cloud as an ideal cloud transformation platform to drive business resilience,  ...

Updated Data Management and AWS GDI Inventory in Splunk Observability

We’re making some changes to Data Management and Infrastructure Inventory for AWS. The Data Management page, ...