Splunk Search

Is it possible to force bin, chart, or timechart to store its older stats so we can just append the delta each time?

mortenb123
Path Finder

Hi Splunkers

We have an ever growing pile of dashboards where we like to compare old statistics.

Is it possible to force bin/chart/timechart to store its older stats so we can just append the delta each time?

I assumed it maybe did this automatically, but my stats take longer and longer to run the longer back I go.
Also, we only keep around the latest 3 months of logs around, so what about the last year? Must be possible to simply downsample and store vital stats for longer periods.

I'm pretty sure this already exists, but my googling did not reveal anything.

Most of our searches are on this simple format:

<search> | bin _time span=1h | eval time=strftime(_time,"%b%d%H") | chart XXXXX over YYYYY by time

I also like to store this data for longer than the general retention period the data it is extracted from.
Keep it after the data is removed. Like the last 5 years traffic with daily resolution, or last year with hourly resolution.

Any best practices tips would be nice.

Thanks

0 Karma
1 Solution

sundareshr
Legend

mortenb123
Path Finder

Thanks, by the link I found that it was just to replace my chart,timechart,stats with sichart,sitimechart and sistats and create a report that did the extraction.

0 Karma
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.

Can’t make it to .conf25? Join us online!

Get Updates on the Splunk Community!

Community Content Calendar, September edition

Welcome to another insightful post from our Community Content Calendar! We're thrilled to continue bringing ...

Splunkbase Unveils New App Listing Management Public Preview

Splunkbase Unveils New App Listing Management Public PreviewWe're thrilled to announce the public preview of ...

Leveraging Automated Threat Analysis Across the Splunk Ecosystem

Are you leveraging automation to its fullest potential in your threat detection strategy?Our upcoming Security ...