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!

Detecting Remote Code Executions With the Splunk Threat Research Team

REGISTER NOWRemote code execution (RCE) vulnerabilities pose a significant risk to organizations. If ...

Observability | Use Synthetic Monitoring for Website Metadata Verification

If you are on Splunk Observability Cloud, you may already have Synthetic Monitoringin your observability ...

More Ways To Control Your Costs With Archived Metrics | Register for Tech Talk

Tuesday, May 14, 2024  |  11AM PT / 2PM ET Register to Attend Join us for this Tech Talk and learn how to ...