Monitoring Splunk

Add moitor changes are not reflecting to my search

prathapkcsc
Explorer

I have some data with 4 lines in my.txt file. I uploaded this file into splunk, Successfully getting this data as a event.
This is my search source="my.txt" sourcetype="my1_monitor"
After i added this file to monitor clause in input.conf.
My input.conf`
[monitor: //C:\Users\Users\Desktop\my.txt]
sourcetype=my1_monitor

After this, 3 more lines of data added to that file and i restarted the splunkd.exe service.
But, Still changes are not reflecting my search, First 4 lines of data was showing.
Any solution for this problem.

Thank you

0 Karma

lavanyaanne
Path Finder

Try to use the followTail option because it reads data that arrives after the first encounter.
In inputs.conf Add
followTail=1

0 Karma
Get Updates on the Splunk Community!

Automatic Discovery Part 1: What is Automatic Discovery in Splunk Observability Cloud ...

If you’ve ever deployed a new database cluster, spun up a caching layer, or added a load balancer, you know it ...

Real-Time Fraud Detection: How Splunk Dashboards Protect Financial Institutions

Financial fraud isn't slowing down. If anything, it's getting more sophisticated. Account takeovers, credit ...

Splunk + ThousandEyes: Correlate frontend, app, and network data to troubleshoot ...

 Are you tired of troubleshooting delays caused by siloed frontend, application, and network data? We've got a ...