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!

Index This | I am a number, but when you add ‘G’ to me, I go away. What number am I?

March 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...

What’s New in Splunk App for PCI Compliance 5.3.1?

The Splunk App for PCI Compliance allows customers to extend the power of their existing Splunk solution with ...

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...