Splunk Search

Log searching Splunk

av_
Path Finder

I am searching some logs in an application for the last 24 hours (or any time range the user has selected). Is it possible to search the same logs in another application for the next day? 

Eg: if the user has selected the time range as last one hour, can I see the trajectory of those logs over a period of next day?

0 Karma

bowesmana
SplunkTrust
SplunkTrust

When you say "in another application" what do you mean

The predict command can be used to predict future trends

https://docs.splunk.com/Documentation/SplunkCloud/9.1.2312/SearchReference/Predict

 

 

0 Karma

marnall
Motivator

As in running the same search that another user has previously run, but in a different time period?

0 Karma

av_
Path Finder

@marnall @Not really, it’s like if I’m running the search for last 24 hrs, I’d like to see the data for now()+1d. 

0 Karma

marnall
Motivator

Probably the best thing for that, as bowesmana suggested, is the predict command, which would estimate what the data may look like in the future based on its behavior in the past. 

Unless you have data with timestamps in the future, you can't actually look at future data. now()+1d should be empty.

0 Karma
Get Updates on the Splunk Community!

Splunk Observability for AI

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

Splunk Enterprise Security 8.x: The Essential Upgrade for Threat Detection, ...

Watch On Demand the Tech Talk on November 6 at 11AM PT, and empower your SOC to reach new heights! Duration: ...

Splunk Observability as Code: From Zero to Dashboard

For the details on what Self-Service Observability and Observability as Code is, we have some awesome content ...