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
Get Updates on the Splunk Community!

Welcome to the Splunk Community!

(view in My Videos) We're so glad you're here! The Splunk Community is place to connect, learn, give back, and ...

Tech Talk | Elevating Digital Service Excellence: The Synergy of Splunk RUM & APM

Elevating Digital Service Excellence: The Synergy of Real User Monitoring and Application Performance ...

Adoption of RUM and APM at Splunk

    Unleash the power of Splunk Observability   Watch Now In this can't miss Tech Talk! The Splunk Growth ...