All Apps and Add-ons

continuous monitoring

harinivgr
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

renjith_nair
Legend

@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()

---
What goes around comes around. If it helps, hit it with Karma 🙂
0 Karma
Get Updates on the Splunk Community!

Fueling your curiosity with new Splunk ILT and eLearning courses

At Splunk Education, we’re driven by curiosity—both ours and yours! That’s why we’re committed to delivering ...

Splunk AI Assistant for SPL 1.1.0 | Now Personalized to Your Environment for Greater ...

Splunk AI Assistant for SPL has transformed how users interact with Splunk, making it easier than ever to ...

Unleash Unified Security and Observability with Splunk Cloud Platform

     Now Available on Microsoft AzureOn Demand Now Step boldly into the AI revolution with enhanced security ...