Dashboards & Visualizations

How to create a dashboard with avg cpu usage over 30 days, per host

bond77s
Explorer

 Im currently using the query to find the cpu utilization for a few host but i want to see the average utilization per host 

tag=name "CPU Utilization" | timechart span=15m max(SysStatsUtilizationCpu) by host limit=0

 

Any information would be helpful

Labels (1)
0 Karma

bond77s
Explorer

It worked,  how do i remove the decimal (floating number)

0 Karma

ITWhisperer
SplunkTrust
SplunkTrust
| eval average=floor(average)
0 Karma

ITWhisperer
SplunkTrust
SplunkTrust
| timechart span=15m max(SysStatsUtilizationCpu) by host limit=0
| untable _time host SysStatsUtilizationCpu
| stats avg(SysStatsUtilizationCpu) as average by host
0 Karma

bond77s
Explorer

Thank you

0 Karma
Get Updates on the Splunk Community!

Dashboards: Hiding charts while search is being executed and other uses for tokens

There are a couple of features of SimpleXML / Classic dashboards that can be used to enhance the user ...

Splunk Observability Cloud's AI Assistant in Action Series: Explaining Metrics and ...

This is the fourth post in the Splunk Observability Cloud’s AI Assistant in Action series that digs into how ...

Brains, Bytes, and Boston: Learn from the Best at .conf25

When you think of Boston, you might picture colonial charm, world-class universities, or even the crack of a ...