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!

More Ways To Control Your Costs With Archived Metrics | Register for Tech Talk

Tuesday, May 14, 2024  |  11AM PT / 2PM ET Register to Attend Join us for this Tech Talk and learn how to ...

.conf24 | Personalize your .conf experience with Learning Paths!

Personalize your .conf24 Experience Learning paths allow you to level up your skill sets and dive deeper ...

Threat Hunting Unlocked: How to Uplevel Your Threat Hunting With the PEAK Framework ...

WATCH NOWAs AI starts tackling low level alerts, it's more critical than ever to uplevel your threat hunting ...