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!

Automatic Discovery Part 1: What is Automatic Discovery in Splunk Observability Cloud ...

If you’ve ever deployed a new database cluster, spun up a caching layer, or added a load balancer, you know it ...

Real-Time Fraud Detection: How Splunk Dashboards Protect Financial Institutions

Financial fraud isn't slowing down. If anything, it's getting more sophisticated. Account takeovers, credit ...

Splunk + ThousandEyes: Correlate frontend, app, and network data to troubleshoot ...

 Are you tired of troubleshooting delays caused by siloed frontend, application, and network data? We've got a ...