Security

how to find out the maximum CPU percentage the host reached for last one month

ksarode
Explorer

i want to find out the maximum CPU utilization reached by the server "xyz" in last one month

Tags (1)
0 Karma

xpac
SplunkTrust
SplunkTrust

You only provided little detail, so you'll have to adapt this to your data:

index=yourindex sourcetype=yoursourcetype
| timechart span=1mon max(yourfield) by host

Hope that helps - if it does I'd be happy if you would upvote/accept this answer, so others could profit from it. 🙂

0 Karma

FrankVl
Ultra Champion

Since he is looking for max in last month, a simple | stats max(yourfield) by host would do right (and then use the timepicker to run that over the desired timerange)?

xpac
SplunkTrust
SplunkTrust

Yeah, I thought it might be useful to have a comparison handy, but that might actually be enough 😉

0 Karma

xpac
SplunkTrust
SplunkTrust

Please add some details: Do you already have that data? Is it Windows, Linux.... like, basics. 😉

0 Karma

ksarode
Explorer

its an unix box and also these servers are getting monitored in splunk and also CPU,memory,disk is getting monitored to trigger an alert of it is crossing 70%

0 Karma

ksarode
Explorer

but here they want to see the maximum range host has reached in last month

0 Karma
Get Updates on the Splunk Community!

Splunk Decoded: Service Maps vs Service Analyzer Tree View vs Flow Maps

It’s Monday morning, and your phone is buzzing with alert escalations – your customer-facing portal is running ...

What’s New in Splunk Observability – September 2025

What's NewWe are excited to announce the latest enhancements to Splunk Observability, designed to help ITOps ...

Fun with Regular Expression - multiples of nine

Fun with Regular Expression - multiples of nineThis challenge was first posted on Slack #regex channel ...