Splunk Search

Searching for period of months without rerunning search every month for complete timerange

igschloessl
Explorer

I have a search which counts all ids events of the last 12 months by the severity. This search needs really long to run. So I dont want to rerun it every month for the complete time range of 12 months. I would like to just add the last month and search this over 6 monts.

My actual search is following:

index=ids  earliest="-1year@month" latest="@month"
| fields severity | timechart count by severity span=1mon

 

Thank you in advance

Labels (3)
0 Karma

ITWhisperer
SplunkTrust
SplunkTrust

Create a summary index which you add to every month then query that index for longer periods

0 Karma
Get Updates on the Splunk Community!

Your Guide to SPL2 at .conf24!

So, you’re headed to .conf24? You’re in for a good time. Las Vegas weather is just *chef’s kiss* beautiful in ...

Get ready to show some Splunk Certification swagger at .conf24!

Dive into the deep end of data by earning a Splunk Certification at .conf24. We're enticing you again this ...

Built-in Service Level Objectives Management to Bridge the Gap Between Service & ...

Now On-Demand Join us to learn more about how you can leverage Service Level Objectives (SLOs) and the new ...