<?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: Alert UP and Down By Status Code in Dashboards &amp; Visualizations</title>
    <link>https://community.splunk.com/t5/Dashboards-Visualizations/Alert-UP-and-Down-By-Status-Code/m-p/538253#M36817</link>
    <description>&lt;P&gt;Hi manjunathmeti&lt;/P&gt;&lt;P&gt;Thank you for your reply.&lt;/P&gt;&lt;P&gt;When I tried like your way, I got many alerts for the all Status with the correct message. ‌‌ That is funny to empty my inbox. but it's OK&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":face_with_tears_of_joy:"&gt;😂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I think that is need a little conditions, just like a monitoring Uptime. If node get DOWN status then send me the a alert once. and then if the node get UP status send me the alert just once. But I still try to hard.&lt;/P&gt;&lt;P&gt;so, thanks for you&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 02 Feb 2021 10:01:06 GMT</pubDate>
    <dc:creator>bernanda</dc:creator>
    <dc:date>2021-02-02T10:01:06Z</dc:date>
    <item>
      <title>Alert UP and Down By Status Code</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Alert-UP-and-Down-By-Status-Code/m-p/538205#M36811</link>
      <description>&lt;P&gt;Hi Splunk,&lt;/P&gt;&lt;P&gt;Newbie here&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":grinning_face_with_sweat:"&gt;😅&lt;/span&gt; want to ask about alert.&lt;/P&gt;&lt;P&gt;for example we have data like&lt;/P&gt;&lt;TABLE border="1" width="102.21752732060268%"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD width="50%" height="24px"&gt;Name&lt;/TD&gt;&lt;TD width="25%" height="24px"&gt;Time&lt;/TD&gt;&lt;TD width="25%" height="24px"&gt;StatusCode&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="50%" height="24px"&gt;AAA&lt;/TD&gt;&lt;TD width="25%" height="24px"&gt;2021-02-02 08:00&lt;/TD&gt;&lt;TD width="25%" height="24px"&gt;404&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="50%" height="24px"&gt;AAA&lt;/TD&gt;&lt;TD width="25%" height="24px"&gt;2021-02-02 08:01&lt;/TD&gt;&lt;TD width="25%" height="24px"&gt;200&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="50%" height="24px"&gt;BBB&lt;/TD&gt;&lt;TD width="25%" height="24px"&gt;2021-02-02 09:00&lt;/TD&gt;&lt;TD width="25%" height="24px"&gt;503&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD height="24px"&gt;CCC&lt;/TD&gt;&lt;TD height="24px"&gt;2021-02-02 09:01&lt;/TD&gt;&lt;TD height="24px"&gt;404&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD height="24px"&gt;BBB&lt;/TD&gt;&lt;TD height="24px"&gt;2021-02-02 09:30&lt;/TD&gt;&lt;TD height="24px"&gt;200&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD height="24px"&gt;CCC&lt;/TD&gt;&lt;TD height="24px"&gt;2021-02-02 09:30&lt;/TD&gt;&lt;TD height="24px"&gt;200&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;BR /&gt;How to create a alert base on table with cron every per 5 minutes. if StatusCode != 200 alert notif startdown and if StatusCode =200 alert notif Solved.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Example for the alert base on table:&lt;/P&gt;&lt;P&gt;"&lt;STRONG&gt;Hi AAA, you are down on&amp;nbsp;2021-02-02 08:00&lt;/STRONG&gt;"&lt;BR /&gt;&lt;BR /&gt;and email again if the AAA StatusCode changed to 200&lt;/P&gt;&lt;P&gt;"&lt;STRONG&gt;Hi AAA, you are now SOLVED on&amp;nbsp;2021-02-02 08:01&lt;/STRONG&gt;"&lt;/P&gt;&lt;P&gt;done, until the StatusCode Changed to !=200 the alert send me the email again.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Another Example:&lt;/P&gt;&lt;P&gt;"&lt;STRONG&gt;Hi BBB, you are down on 2021-02-02 09:00&lt;/STRONG&gt;"&lt;/P&gt;&lt;P&gt;then the StatusCode Changed to 200&lt;/P&gt;&lt;P&gt;"&lt;STRONG&gt;Hi BBB, you are now SOLVED on 2021-02-02 09:30&lt;/STRONG&gt;"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;On the splunk alert menu, we didn't find&amp;nbsp; for r&lt;SPAN class="rc-radioButton"&gt;eset alert when trigger condition is no longer true. So we need a help and advice.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="rc-radioButton"&gt;Thank you&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 02 Feb 2021 03:46:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Alert-UP-and-Down-By-Status-Code/m-p/538205#M36811</guid>
      <dc:creator>bernanda</dc:creator>
      <dc:date>2021-02-02T03:46:17Z</dc:date>
    </item>
    <item>
      <title>Re: Alert UP and Down By Status Code</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Alert-UP-and-Down-By-Status-Code/m-p/538243#M36815</link>
      <description>&lt;P&gt;hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/230913"&gt;@bernanda&lt;/a&gt;&amp;nbsp;,&lt;BR /&gt;You can create a new field in your search and use it in the email subject/body.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;&amp;lt;your_base_search&amp;gt; | eval message=if(Status_Code==200, "Hi ".Name.", you are now SOLVED on ".Time, "Hi ".Name.", you are down on ".Time)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You can use&amp;nbsp;&lt;STRONG&gt;$result.message$ &lt;/STRONG&gt;in the email subject/message body.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="Screenshot 2021-02-02 at 2.32.34 PM.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/12784iA8FAEA9DA00A3EFA/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Screenshot 2021-02-02 at 2.32.34 PM.png" alt="Screenshot 2021-02-02 at 2.32.34 PM.png" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;Screenshot 2021-02-02 at 2.32.34 PM.png&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Change Trigger condition to trigger alert action per result.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="Screenshot 2021-02-02 at 2.33.00 PM.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/12786iA1B6C41585C2D6FA/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Screenshot 2021-02-02 at 2.33.00 PM.png" alt="Screenshot 2021-02-02 at 2.33.00 PM.png" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;Screenshot 2021-02-02 at 2.33.00 PM.png&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;If this reply helps you, an upvote/like would be appreciated.&lt;/P&gt;</description>
      <pubDate>Tue, 02 Feb 2021 09:10:41 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Alert-UP-and-Down-By-Status-Code/m-p/538243#M36815</guid>
      <dc:creator>manjunathmeti</dc:creator>
      <dc:date>2021-02-02T09:10:41Z</dc:date>
    </item>
    <item>
      <title>Re: Alert UP and Down By Status Code</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Alert-UP-and-Down-By-Status-Code/m-p/538253#M36817</link>
      <description>&lt;P&gt;Hi manjunathmeti&lt;/P&gt;&lt;P&gt;Thank you for your reply.&lt;/P&gt;&lt;P&gt;When I tried like your way, I got many alerts for the all Status with the correct message. ‌‌ That is funny to empty my inbox. but it's OK&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":face_with_tears_of_joy:"&gt;😂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I think that is need a little conditions, just like a monitoring Uptime. If node get DOWN status then send me the a alert once. and then if the node get UP status send me the alert just once. But I still try to hard.&lt;/P&gt;&lt;P&gt;so, thanks for you&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 02 Feb 2021 10:01:06 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Alert-UP-and-Down-By-Status-Code/m-p/538253#M36817</guid>
      <dc:creator>bernanda</dc:creator>
      <dc:date>2021-02-02T10:01:06Z</dc:date>
    </item>
  </channel>
</rss>

