Getting Data In

monitor a file using tail initially blank



I have a file being monitored like this:
where xxxxxxxxxx is the filename and index name

followTail = 1

Initially the file does not exist, however, when it is created the first event is skipped, all following events are caught as normal.

Is this normal behaviour? and if so is there away to capture that first event?


Tags (2)
0 Karma


There is no need to use followTail, especially when the file does not yet exist.

Additionally, it is advised by Splunk that you NOT use followTail:

Get Updates on the Splunk Community!

Streamline Data Ingestion With Deployment Server Essentials

REGISTER NOW!Every day the list of sources Admins are responsible for gets bigger and bigger, often making the ...

Remediate Threats Faster and Simplify Investigations With Splunk Enterprise Security ...

REGISTER NOW!Join us for a Tech Talk around our latest release of Splunk Enterprise Security 7.2! We’ll walk ...

Introduction to Splunk AI

WATCH NOWHow are you using AI in Splunk? Whether you see AI as a threat or opportunity, AI is here to stay. ...