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!

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics GA in US-AWS!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...