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!

Can’t Make It to Boston? Stream .conf25 and Learn with Haya Husain

Boston may be buzzing this September with Splunk University and .conf25, but you don’t have to pack a bag to ...

Splunk Lantern’s Guide to The Most Popular .conf25 Sessions

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...

Unlock What’s Next: The Splunk Cloud Platform at .conf25

In just a few days, Boston will be buzzing as the Splunk team and thousands of community members come together ...