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!

Index This | I am a number, but when you add ‘G’ to me, I go away. What number am I?

March 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...

What’s New in Splunk App for PCI Compliance 5.3.1?

The Splunk App for PCI Compliance allows customers to extend the power of their existing Splunk solution with ...

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...