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!

A Season of Skills: New Splunk Courses to Light Up Your Learning Journey

There’s something special about this time of year—maybe it’s the glow of the holidays, maybe it’s the ...

Announcing the Migration of the Splunk Add-on for Microsoft Azure Inputs to ...

Announcing the Migration of the Splunk Add-on for Microsoft Azure Inputs to Officially Supported Splunk ...

Splunk Observability for AI

Don’t miss out on an exciting Tech Talk on Splunk Observability for AI! Discover how Splunk’s agentic AI ...