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!

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

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...