Deployment Architecture

Splunk universal forwarder is reading files from directory intermittently. I am writing file to directory at regular intervals.

lavkush
New Member

We have installed universal forwarder on our machine and mapped the local directory on splunk server. Forwarding and receiving is also configured.I am writing file to directory at regular intervals. But sometimes splunk forwarder is unable to forward the file to splunk. Is there any configuration that need to be made? Also is there any mechanism to delete the file which has been read by splunk forwarder?

Tags (1)
0 Karma

ddrillic
Ultra Champion

As @somesoni2 described we can see a discussion about it -

Can Splunk delete old log files after indexing them?

It says -

alt text

About missing data the following might help - I can't find my data!

0 Karma

somesoni2
Revered Legend

Check splunkd logs on the UF to see if you get any error for the file that you're monitoring.

For deleting the file after it's read, use the [batch:// mode instead of [monitor://. See this for more info https://docs.splunk.com/Documentation/Splunk/6.4.3/Admin/Inputsconf#BATCH_.28.22Upload_a_file.22_in_...

0 Karma
Get Updates on the Splunk Community!

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

Take a look below to explore our upcoming Community Office Hours, Tech Talks, and Webinars this month. This ...

They're back! Join the SplunkTrust and MVP at .conf24

With our highly anticipated annual conference, .conf, comes the fez-wearers you can trust! The SplunkTrust, as ...

Enterprise Security Content Update (ESCU) | New Releases

Last month, the Splunk Threat Research Team had two releases of new security content via the Enterprise ...