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

Happy Splunking!
0 Karma
Get Updates on the Splunk Community!

Routing Data to Different Splunk Indexes in the OpenTelemetry Collector

This blog post is part of an ongoing series on OpenTelemetry. The OpenTelemetry project is the second largest ...

Getting Started with AIOps: Event Correlation Basics and Alert Storm Detection in ...

Getting Started with AIOps:Event Correlation Basics and Alert Storm Detection in Splunk IT Service ...

Register to Attend BSides SPL 2022 - It's all Happening October 18!

Join like-minded individuals for technical sessions on everything Splunk!  This is a community-led and run ...