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!

Splunk Answers Content Calendar, June Edition

Get ready for this week’s post dedicated to Splunk Dashboards! We're celebrating the power of community by ...

What You Read The Most: Splunk Lantern’s Most Popular Articles!

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

See your relevant APM services, dashboards, and alerts in one place with the updated ...

As a Splunk Observability user, you have a lot of data you have to manage, prioritize, and troubleshoot on a ...