All Apps and Add-ons

continuous monitoring

Explorer

I have a log file(which is a notepad) i have indexed that log file as continuous monitoring. But whenever i add or remove data in log file, the new data is getting appended in index, But i want only recent data to be displayed. Is there any other way other than selecting time range from time picker?

0 Karma

SplunkTrust
SplunkTrust

@harinivgr ,

Do you have fields or do you want to see the _raw ? Do you have timestamps associated with the events or how do you identify the recent event?

You should be able to get it by stats latest()

0 Karma
State of Splunk Careers

Access the Splunk Careers Report to see real data that shows how Splunk mastery increases your value and job satisfaction.

Find out what your skills are worth!