Reporting

Saved search usage

priya0709
Path Finder

I have a query saved to display all Hard Disk error for hosts. We generate this data daily from the query and send it to the respective Assignee every Wednesday.

My requirement is to prepare a visualization for 30 days data of these scheduled search??

Please help me with the query

Labels (1)
0 Karma
1 Solution

ITWhisperer
SplunkTrust
SplunkTrust

I would start by setting up a summary index populated with the results of your daily searches. You can then base your 30 day report/dashboard visualisation on this index without having to rerun the original query for each of the 30 days. Not only will this be faster, it will mean you can save space because you will have already extracted all the information you need from the raw logs into the summary index. This does mean you have to think carefully about the search for your summary index so that it includes everything you might need from the original data.

View solution in original post

0 Karma

ITWhisperer
SplunkTrust
SplunkTrust

I would start by setting up a summary index populated with the results of your daily searches. You can then base your 30 day report/dashboard visualisation on this index without having to rerun the original query for each of the 30 days. Not only will this be faster, it will mean you can save space because you will have already extracted all the information you need from the raw logs into the summary index. This does mean you have to think carefully about the search for your summary index so that it includes everything you might need from the original data.

0 Karma

isoutamo
SplunkTrust
SplunkTrust
That's excellent way to do it if you have lot of data and it takes time to generate the whole report. Remember to ensure that summary indexes don't contains any holes if/when there are some issues to populate those.

But if amount of data is quite slow and you have resources to run this query as needed then just create it when needed from your original data.
r. Ismo
0 Karma
Get Updates on the Splunk Community!

Splunk Classroom Chronicles: Training Tales and Testimonials

Welcome to the "Splunk Classroom Chronicles" series, created to help curious, career-minded learners get ...

Access Tokens Page - New & Improved

Splunk Observability Cloud recently launched an improved design for the access tokens page for better ...

Stay Connected: Your Guide to November Tech Talks, Office Hours, and Webinars!

🍂 Fall into November with a fresh lineup of Community Office Hours, Tech Talks, and Webinars we’ve ...