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!

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 ...

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...