Getting Data In

monitor a file using tail initially blank

jamesmonico
Engager

Hello,

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

[monitor:///splunk_formatted/xxxxxxxxxx]
followTail = 1
sourcetype=billing_data
index=xxxxxxxxxx

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?

Thanks

Tags (2)
0 Karma

the_wolverine
Champion

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:
http://answers.splunk.com/answers/57819/when-is-it-appropriate-to-set-followtail-to-true

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 ...