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!

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!

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

New in Observability Cloud - Explicit Bucket Histograms

Splunk introduces native support for histograms as a metric data type within Observability Cloud with Explicit ...