Getting Data In

File monitoring not working after re-enabling

remy06
Contributor

I have been monitoring a log file via file monitor input.I disabled the monitoring temporary for a few days but when I switched it back today,when I did a search it only showed me the latest event which was the time I stopped the monitoring few days ago.

However,on the search summary page itself,the Last Update is indicated as today,so as the same as the log file itself.

Tags (1)
0 Karma

jbsplunk
Splunk Employee
Splunk Employee

Maybe you've got some kind of a timestamp issue? What does your search look like? If you were to generate some new lines into this file and set the search to do only a search on the source w/ an all time, real time search, do you see events? What you describe makes me think this might be what you are observing, and that the time constraints of the search are masking the events. You can also try searching for some unique string over all time.

remy06
Contributor

the file that i'm monitoring is still being updated with events however splunk is not able to index the new events.

0 Karma

remy06
Contributor

The search is source="/path/file.log" on all time.

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