<?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: Create an alert (Splunk query) for different nodes where if the status of the node goes down and doesn't come up within 1 hour then an alert should trigger. in Alerting</title>
    <link>https://community.splunk.com/t5/Alerting/Create-an-alert-Splunk-query-for-different-nodes-where-if-the/m-p/465603#M9363</link>
    <description>&lt;PRE&gt;&lt;CODE&gt;index=* Interface changed state to down 
|rex ".*Interface\s(?&amp;lt;interface&amp;gt;[\S]+),"
|rex ".*state\s+to\s+(?&amp;lt;vendor_action[\S]+)" 
| table _time,src_interface,vendor_action
| reverse
| streamstats count(eval(status="down")) as session by interface
| streamstats count(eval(status="start")) as start by session interface
| where start &amp;lt; 1 
&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Fri, 21 Feb 2020 10:39:08 GMT</pubDate>
    <dc:creator>to4kawa</dc:creator>
    <dc:date>2020-02-21T10:39:08Z</dc:date>
    <item>
      <title>Create an alert (Splunk query) for different nodes where if the status of the node goes down and doesn't come up within 1 hour then an alert should trigger.</title>
      <link>https://community.splunk.com/t5/Alerting/Create-an-alert-Splunk-query-for-different-nodes-where-if-the/m-p/465600#M9360</link>
      <description>&lt;P&gt;Hi Guys,&lt;/P&gt;

&lt;P&gt;I am Just creating a rule for a switch for multiple nodes where if the status of the switch goes down and doesn't comes up within an hour then it has to be triggered. But also if you see logs the status is getting up within a fraction of sec so i just want to put a threshold of 1 hour. Kindly help me on forming the Splunk query. &lt;/P&gt;

&lt;P&gt;2019-12-02T17:25:38.448Z x.x.x.x &amp;lt;45&amp;gt;12376292: 12377249: *Dec  2 18:14:15.138: %LINEPROTO-5-UPDOWN: Line protocol on Interface Tunnel1, changed state to up&lt;/P&gt;

&lt;P&gt;2019-12-02T17:25:38.448Z x.x.x.x &amp;lt;45&amp;gt;12376291: 12377248: *Dec  2 18:14:15.101: %LINEPROTO-5-UPDOWN: Line protocol on Interface Tunnel1, changed state to down&lt;/P&gt;

&lt;P&gt;Thanks in advance&lt;/P&gt;</description>
      <pubDate>Wed, 12 Feb 2020 08:14:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/Create-an-alert-Splunk-query-for-different-nodes-where-if-the/m-p/465600#M9360</guid>
      <dc:creator>Inayath_khan</dc:creator>
      <dc:date>2020-02-12T08:14:20Z</dc:date>
    </item>
    <item>
      <title>Re: Create an alert (Splunk query) for different nodes where if the status of the node goes down and doesn't come up within 1 hour then an alert should trigger.</title>
      <link>https://community.splunk.com/t5/Alerting/Create-an-alert-Splunk-query-for-different-nodes-where-if-the/m-p/465601#M9361</link>
      <description>&lt;P&gt;what's your field extractions?&lt;/P&gt;</description>
      <pubDate>Wed, 12 Feb 2020 09:46:00 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/Create-an-alert-Splunk-query-for-different-nodes-where-if-the/m-p/465601#M9361</guid>
      <dc:creator>to4kawa</dc:creator>
      <dc:date>2020-02-12T09:46:00Z</dc:date>
    </item>
    <item>
      <title>Re: Create an alert (Splunk query) for different nodes where if the status of the node goes down and doesn't come up within 1 hour then an alert should trigger.</title>
      <link>https://community.splunk.com/t5/Alerting/Create-an-alert-Splunk-query-for-different-nodes-where-if-the/m-p/465602#M9362</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/184221"&gt;@to4kawa&lt;/a&gt; this is my extraction,&lt;/P&gt;

&lt;P&gt;index=*  Interface changed state to down |rex ".*Interface\s(?[\S]+),"|rex ".*state\s+to\s+(?[\S]+)" | table _time,src_interface,vendor_action &lt;/P&gt;</description>
      <pubDate>Wed, 30 Sep 2020 04:16:00 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/Create-an-alert-Splunk-query-for-different-nodes-where-if-the/m-p/465602#M9362</guid>
      <dc:creator>Inayath_khan</dc:creator>
      <dc:date>2020-09-30T04:16:00Z</dc:date>
    </item>
    <item>
      <title>Re: Create an alert (Splunk query) for different nodes where if the status of the node goes down and doesn't come up within 1 hour then an alert should trigger.</title>
      <link>https://community.splunk.com/t5/Alerting/Create-an-alert-Splunk-query-for-different-nodes-where-if-the/m-p/465603#M9363</link>
      <description>&lt;PRE&gt;&lt;CODE&gt;index=* Interface changed state to down 
|rex ".*Interface\s(?&amp;lt;interface&amp;gt;[\S]+),"
|rex ".*state\s+to\s+(?&amp;lt;vendor_action[\S]+)" 
| table _time,src_interface,vendor_action
| reverse
| streamstats count(eval(status="down")) as session by interface
| streamstats count(eval(status="start")) as start by session interface
| where start &amp;lt; 1 
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 21 Feb 2020 10:39:08 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/Create-an-alert-Splunk-query-for-different-nodes-where-if-the/m-p/465603#M9363</guid>
      <dc:creator>to4kawa</dc:creator>
      <dc:date>2020-02-21T10:39:08Z</dc:date>
    </item>
    <item>
      <title>Re: Create an alert (Splunk query) for different nodes where if the status of the node goes down and doesn't come up within 1 hour then an alert should trigger.</title>
      <link>https://community.splunk.com/t5/Alerting/Create-an-alert-Splunk-query-for-different-nodes-where-if-the/m-p/465604#M9364</link>
      <description>&lt;P&gt;Thanks @to4kawa it dint work.   The status of an interface is getting up within 30 sec. I want a query that will trigger if status of the port is down for an interface for more than an hour and it's not up. Can we do some kind time comparision??&lt;/P&gt;</description>
      <pubDate>Wed, 26 Feb 2020 16:07:12 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/Create-an-alert-Splunk-query-for-different-nodes-where-if-the/m-p/465604#M9364</guid>
      <dc:creator>Inayath_khan</dc:creator>
      <dc:date>2020-02-26T16:07:12Z</dc:date>
    </item>
    <item>
      <title>Re: Create an alert (Splunk query) for different nodes where if the status of the node goes down and doesn't come up within 1 hour then an alert should trigger.</title>
      <link>https://community.splunk.com/t5/Alerting/Create-an-alert-Splunk-query-for-different-nodes-where-if-the/m-p/465605#M9365</link>
      <description>&lt;P&gt;&lt;CODE&gt;within 1 hour then an alert should trigger.&lt;/CODE&gt; is your question.&lt;BR /&gt;
&lt;CODE&gt;if status of the port is down for an interface for more than an hour and it's not up.&lt;/CODE&gt; is your comment and the reason  &lt;EM&gt;not to accept&lt;/EM&gt;&lt;BR /&gt;
I create for your question. not to your problem. sorry.&lt;/P&gt;</description>
      <pubDate>Wed, 26 Feb 2020 19:47:18 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/Create-an-alert-Splunk-query-for-different-nodes-where-if-the/m-p/465605#M9365</guid>
      <dc:creator>to4kawa</dc:creator>
      <dc:date>2020-02-26T19:47:18Z</dc:date>
    </item>
  </channel>
</rss>

