Splunk Search

Choosing the right amount of data to chart

chowell
Explorer

I'm currently indexing DHCP stats, used and free for each scope, every five minutes. Now, if I want to chart this information for say a day it's not a problem. But, if I want to chart this data for longer periods of time, how can I get Splunk to selectively pull the used and free data at the top of every hour, or two hours etc. to cut down the data points? Thanks.

Tags (1)
0 Karma

Ayn
Legend

Splunk's timechart command actually already does this by default until you tell it not to. Among the various arguments you can feed timechart with, there's span and bins. The default number for bins is 100, meaning timechart will always choose the timespan so that no more than 100 intervals will be used. You can change this as you see fit.

0 Karma
Get Updates on the Splunk Community!

Now Available: Cisco Talos Threat Intelligence Integrations for Splunk Security Cloud ...

At .conf24, we shared that we were in the process of integrating Cisco Talos threat intelligence into Splunk ...

Preparing your Splunk Environment for OpenSSL3

The Splunk platform will transition to OpenSSL version 3 in a future release. Actions are required to prepare ...

Easily Improve Agent Saturation with the Splunk Add-on for OpenTelemetry Collector

Agent Saturation What and Whys In application performance monitoring, saturation is defined as the total load ...