Splunk Search

rolling near-time results between 5 and 15 minutes?

dang
Path Finder

How do I add a relative time range to a search that will allow me to see data between 15 and 5 minutes ago (read: not quite "real time")? I can see in the splunk manager I can add a start time of -15m@m and an end time of -5m@m, but that only gives me one 10-minute window, and doesn't show continuous values over time.

Am I not formatting my timechart clause properly?

Tags (2)
0 Karma

sideview
SplunkTrust
SplunkTrust

If you are looking for a 'real-time' search, meaning that while you watch the results, the 10 minute window is continually inching itself further along to keep up with real time, then you want to put "rt" in front of those timeranges:

rt-15m@m
rt-5m@m

http://www.splunk.com/base/Documentation/latest/User/RealtimeSearch

Of course this may not be what you're trying to do, but in that case I'm afraid I dont understand.

dang
Path Finder

I probably didn't want to use the phrase "real time" as it might confuse the issue. Here's the problem I'm trying to solve:

I've got a search which timecharts (with a span of 10min) the success rate of an event. Because data does not get processed instantaneously, I often get results greater than 100%. I'm thinking that if I look back just 5 minutes earlier, I might get more accurate results, without losing much in the way of seeing current data.

0 Karma
Get Updates on the Splunk Community!

Updated Team Landing Page in Splunk Observability

We’re making some changes to the team landing page in Splunk Observability, based on your feedback. The ...

New! Splunk Observability Search Enhancements for Splunk APM Services/Traces and ...

Regardless of where you are in Splunk Observability, you can search for relevant APM targets including service ...

Webinar Recap | Revolutionizing IT Operations: The Transformative Power of AI and ML ...

The Transformative Power of AI and ML in Enhancing Observability   In the realm of IT operations, the ...