Splunk Search

How to create a (where) Alert parameter

albyva
Communicator

I'm using (where) to alert me if a field exceeds 80% but what I also need is to prevent it from
alerting if that field exceeds 100%. Here is what I have now:

| where bandwidth > 80

How can this be adjusted to be greater than 80, but less than 100?

Thanks,

Tags (1)
0 Karma
1 Solution

kristian_kolb
Ultra Champion

As you can see in the documentation for where, that is just a simple AND;

<your_search> | where bandwidth > 80 AND bandwidth < 100

http://docs.splunk.com/Documentation/Splunk/latest/SearchReference/Where

/K

View solution in original post

kristian_kolb
Ultra Champion

As you can see in the documentation for where, that is just a simple AND;

<your_search> | where bandwidth > 80 AND bandwidth < 100

http://docs.splunk.com/Documentation/Splunk/latest/SearchReference/Where

/K

albyva
Communicator

Great. Thanks. Guess I missed that one. 🙂

0 Karma
Get Updates on the Splunk Community!

Stay Connected: Your Guide to May Tech Talks, Office Hours, and Webinars!

Take a look below to explore our upcoming Community Office Hours, Tech Talks, and Webinars this month. This ...

They're back! Join the SplunkTrust and MVP at .conf24

With our highly anticipated annual conference, .conf, comes the fez-wearers you can trust! The SplunkTrust, as ...

Enterprise Security Content Update (ESCU) | New Releases

Last month, the Splunk Threat Research Team had two releases of new security content via the Enterprise ...