Splunk IT Service Intelligence

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


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.


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

Labels (2)
Tags (1)
0 Karma


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, an upvote would be appreciated.
0 Karma
Register for .conf21 Now! Go Vegas or Go Virtual!

How will you .conf21? You decide! Go in-person in Las Vegas, 10/18-10/21, or go online with .conf21 Virtual, 10/19-10/20.