Splunk Search

How can I resuse the output of a query to compute larger timeframes?

yk010123
Path Finder

I am currently running a query that is quite inefficient, and it fails when run for extended periods.

Splunk only allows me to run it every 15 minutes, which is a limitation I have as a work around for now.

Unfortunately, I can't improve the situation because I don't have control over the log creation process as the logs come from a third party system

Currently, I'm running the query as an alert every 15 minutes, but I'd like to capture these metrics over a more extended period, such as 24 hours or more.

Is there a built-in mechanism in Splunk that can store and append the results of these queries for future reference?

I am aware that I could use the Java SDK to extract and aggregate the metrics outside of Splunk, but that approach is not ideal.

Labels (2)
0 Karma

yuanliu
SplunkTrust
SplunkTrust
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.
Get Updates on the Splunk Community!

Thanks for the Memories! Splunk University, .conf25, and our Community

Thank you to everyone in the Splunk Community who joined us for .conf25, which kicked off with our iconic ...

Data Persistence in the OpenTelemetry Collector

This blog post is part of an ongoing series on OpenTelemetry. What happens if the OpenTelemetry collector ...

Introducing Splunk 10.0: Smarter, Faster, and More Powerful Than Ever

Now On Demand Whether you're managing complex deployments or looking to future-proof your data ...