Splunk IT Service Intelligence

Trying to setup splunk alert for high CPU and memory consuming process in java

ravir_jbp
Explorer

Hello Trying to setup splunk alert where in list the java process consuming more than 80 % cpu and memory and trigger an alert. Below is the base script that created but not sure how to add condition. Please help.

top

host=xzy index=os java latest=now| top limit=5 COMMAND PID pctCPU pctMEM

Labels (2)
Tags (1)
0 Karma

richgalloway
SplunkTrust
SplunkTrust

Try this 

host=xzy index=os java latest=now
| where (pctCPU>80 AND pctMEM>80)
| table COMMAND PID pctCPU pctMEM
---
If this reply helps you, Karma would be appreciated.
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 ...