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!

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...

Splunk Custom Visualizations App End of Life

The Splunk Custom Visualizations apps End of Life for SimpleXML will reach end of support on Dec 21, 2024, ...