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!

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