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!

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics GA in US-AWS!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...