Splunk Search

Performing real-time search on new data only

samiomer
Path Finder

Hello,

I was wondering if there's a configuration somewhere in Splunk where it would make my continuous real-time search to be performed only at the chunk of log data that has not been searched before.

So, for example, if the previous search has searched up to line 100 of a specific log file, is there a way to configure it so that the next search would start at line 101?

Thanks

Tags (2)
0 Karma
1 Solution

gkanapathy
Splunk Employee
Splunk Employee

real-time search only ever runs against data as it comes into Splunk. If you stop a RT search, any data that came in during the stop can not returned during a subsequent run. That's a fundamental part of the real-time nature. Of course, it could be retrieved using a historical search, but there isn't anything to track this.

View solution in original post

gkanapathy
Splunk Employee
Splunk Employee

real-time search only ever runs against data as it comes into Splunk. If you stop a RT search, any data that came in during the stop can not returned during a subsequent run. That's a fundamental part of the real-time nature. Of course, it could be retrieved using a historical search, but there isn't anything to track this.

Get Updates on the Splunk Community!

Routing logs with Splunk OTel Collector for Kubernetes

The Splunk Distribution of the OpenTelemetry (OTel) Collector is a product that provides a way to ingest ...

Welcome to the Splunk Community!

(view in My Videos) We're so glad you're here! The Splunk Community is place to connect, learn, give back, and ...

Tech Talk | Elevating Digital Service Excellence: The Synergy of Splunk RUM & APM

Elevating Digital Service Excellence: The Synergy of Real User Monitoring and Application Performance ...