<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Alerts  setup with required values in Alerting</title>
    <link>https://community.splunk.com/t5/Alerting/Alerts-setup-with-required-values/m-p/433397#M7537</link>
    <description>&lt;P&gt;Thank you Those are simple i can but those are not works for me im looking where and if clause to add &lt;BR /&gt;
like &lt;/P&gt;

&lt;P&gt;1)2 or more Radio status down with in same area ( area  field)  or same region( region) send alert - critical&lt;BR /&gt;
2) If only one Radio is down with in same me area ( area  field)  or same region( region) send alert -Major&lt;BR /&gt;
3) if Temp&amp;gt; 90 - major &lt;BR /&gt;
4) If Humidity "0-80" normal operation no alarm &lt;BR /&gt;
5) If Humidity "&amp;gt;80" over 12 hours time- alert with  minor &lt;/P&gt;</description>
    <pubDate>Mon, 29 Apr 2019 13:17:12 GMT</pubDate>
    <dc:creator>Splunk_rocks</dc:creator>
    <dc:date>2019-04-29T13:17:12Z</dc:date>
    <item>
      <title>Alerts  setup with required values</title>
      <link>https://community.splunk.com/t5/Alerting/Alerts-setup-with-required-values/m-p/433394#M7534</link>
      <description>&lt;P&gt;I have following fields in my splunk  radioStatus,bitChange,DeviceChange,Temp,Humidity.&lt;BR /&gt;
index=test | table &lt;BR /&gt;
radioStatus: Running or Down&lt;BR /&gt;
bit Change: 0=Closed &amp;amp; 1=Open&lt;BR /&gt;
deviceChange 0=Normal or 1=Moved&lt;BR /&gt;
Temp: 90 degrees or below= Normal Above 90 degrees = Abnormal --( regular values in between 1-90)&lt;BR /&gt;
Humidity: 0-80% = Normal, Above 80%= Abnormal ( regular values in between 1-80)&lt;/P&gt;

&lt;P&gt;Case 1)create alert if  Radio status down and with respective to "Temp" change is above 90&lt;BR /&gt;
Case 2)create a alert if  Radio status running "Humidity" Above 80%= Abnormal&lt;BR /&gt;
Case 3)create a alert if "Temp"changes Above 90 degrees = Abnormal for radios&lt;BR /&gt;
Case 4) Create a alet if "Device" change 1=Moved with "Temp" Above 90 degrees = Abnormal&lt;/P&gt;</description>
      <pubDate>Sun, 28 Apr 2019 20:47:43 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/Alerts-setup-with-required-values/m-p/433394#M7534</guid>
      <dc:creator>Splunk_rocks</dc:creator>
      <dc:date>2019-04-28T20:47:43Z</dc:date>
    </item>
    <item>
      <title>Re: Alerts  setup with required values</title>
      <link>https://community.splunk.com/t5/Alerting/Alerts-setup-with-required-values/m-p/433395#M7535</link>
      <description>&lt;P&gt;Show us a sample of your events.  Yes, it matters VERY much.&lt;/P&gt;</description>
      <pubDate>Mon, 29 Apr 2019 07:20:39 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/Alerts-setup-with-required-values/m-p/433395#M7535</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2019-04-29T07:20:39Z</dc:date>
    </item>
    <item>
      <title>Re: Alerts  setup with required values</title>
      <link>https://community.splunk.com/t5/Alerting/Alerts-setup-with-required-values/m-p/433396#M7536</link>
      <description>&lt;P&gt;Hello @Splunk_rocks &lt;/P&gt;

&lt;P&gt;You can use the below conditions:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;1. index=test radioStatus= Down Temp &amp;gt; 90
2. index=test radioStatus= Running Humidity&amp;gt; 80
3. index=test Humidity&amp;gt;80 Temp&amp;gt; 90
4. index=test deviceChange = 1 Temp &amp;gt; 90
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;you can schedule the alert 30 sec or 1 min window and alert will be triggered if it find any event.&lt;/P&gt;</description>
      <pubDate>Mon, 29 Apr 2019 07:32:18 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/Alerts-setup-with-required-values/m-p/433396#M7536</guid>
      <dc:creator>vishaltaneja070</dc:creator>
      <dc:date>2019-04-29T07:32:18Z</dc:date>
    </item>
    <item>
      <title>Re: Alerts  setup with required values</title>
      <link>https://community.splunk.com/t5/Alerting/Alerts-setup-with-required-values/m-p/433397#M7537</link>
      <description>&lt;P&gt;Thank you Those are simple i can but those are not works for me im looking where and if clause to add &lt;BR /&gt;
like &lt;/P&gt;

&lt;P&gt;1)2 or more Radio status down with in same area ( area  field)  or same region( region) send alert - critical&lt;BR /&gt;
2) If only one Radio is down with in same me area ( area  field)  or same region( region) send alert -Major&lt;BR /&gt;
3) if Temp&amp;gt; 90 - major &lt;BR /&gt;
4) If Humidity "0-80" normal operation no alarm &lt;BR /&gt;
5) If Humidity "&amp;gt;80" over 12 hours time- alert with  minor &lt;/P&gt;</description>
      <pubDate>Mon, 29 Apr 2019 13:17:12 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/Alerts-setup-with-required-values/m-p/433397#M7537</guid>
      <dc:creator>Splunk_rocks</dc:creator>
      <dc:date>2019-04-29T13:17:12Z</dc:date>
    </item>
    <item>
      <title>Re: Alerts  setup with required values</title>
      <link>https://community.splunk.com/t5/Alerting/Alerts-setup-with-required-values/m-p/433398#M7538</link>
      <description>&lt;P&gt;Thanks,&lt;/P&gt;

&lt;P&gt;here is sample event in _jason format in splunk&lt;/P&gt;

&lt;P&gt;"radioId”: “00001",&lt;BR /&gt;
“timestamp”: “Sat Dec 15 13:19:36 2018",&lt;BR /&gt;
“deviceChange”: “0",&lt;BR /&gt;
“Bitchanges”: “1",&lt;BR /&gt;
“Temp”: “59.17 C”,&lt;BR /&gt;
“Humidity”: ” 7.92",&lt;BR /&gt;
“uname”: “Linux ESC_A10 4.14.0 #720 SMP Tue Dec 11 20:35:41 UTC 2018 GNU/Linux”,&lt;BR /&gt;
“radio_status”: “running”,&lt;BR /&gt;
“timestamp_cloud”: 187781}}'&lt;BR /&gt;
we have automatic lookup file with location region state etc with mapped with radioid.&lt;/P&gt;

&lt;P&gt;I need to construct below one &lt;BR /&gt;
1)2 or more Radio status down with in same area ( area field) or same region( region) send alert - critical&lt;BR /&gt;
2) If only one Radio is down with in same me area ( area field) or same region( region) send alert -Major&lt;BR /&gt;
3) if Temp&amp;gt; 90 - major &lt;BR /&gt;
4) If Humidity "0-80" normal operation no alarm &lt;BR /&gt;
5) If Humidity "&amp;gt;80" over 12 hours time- alert with minor &lt;/P&gt;</description>
      <pubDate>Wed, 30 Sep 2020 00:15:37 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/Alerts-setup-with-required-values/m-p/433398#M7538</guid>
      <dc:creator>Splunk_rocks</dc:creator>
      <dc:date>2020-09-30T00:15:37Z</dc:date>
    </item>
    <item>
      <title>Re: Alerts  setup with required values</title>
      <link>https://community.splunk.com/t5/Alerting/Alerts-setup-with-required-values/m-p/433399#M7539</link>
      <description>&lt;P&gt;Like this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;... | multireport
[ where radio_status="down" | stats dc(radioId) AS radiosDown BY area | where radiosDown &amp;gt;= 2 | eval severity = "Critical" ]
[ where radio_status="down" OR Temp &amp;gt; 90 | eval severity = "Major" ]
[ streamstats  time_window=12h count(eval(Humidity&amp;lt;=80)) AS OK BY radioId | where OK = 0 | eval severity = "Minor" ]
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 30 Apr 2019 06:06:33 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/Alerts-setup-with-required-values/m-p/433399#M7539</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2019-04-30T06:06:33Z</dc:date>
    </item>
  </channel>
</rss>

