<?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: Send alerts for status recovery in Splunk Enterprise</title>
    <link>https://community.splunk.com/t5/Splunk-Enterprise/Send-alerts-for-status-recovery/m-p/530792#M4278</link>
    <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/229117"&gt;@frankroger&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;you need to identify the value used to find events for running.&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;index="init_butcher" sourcetype="services_status.out.log" host=* status="running" &lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 25 Nov 2020 11:15:21 GMT</pubDate>
    <dc:creator>thambisetty</dc:creator>
    <dc:date>2020-11-25T11:15:21Z</dc:date>
    <item>
      <title>Send alerts for status recovery</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/Send-alerts-for-status-recovery/m-p/530779#M4277</link>
      <description>&lt;P&gt;We have the below query, which checks whenever a server is down. So we want this query to send an alert when the status changes from Stopped to Running. Now it only sends an alert when the status is Stopped.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;index="init_butcher" sourcetype="services_status.out.log" host=* | chart useother=f values(status) as services over host by service limit=0&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;| eval status=if('abc'="STOPPED", "DOWN", "Critical")&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;| where 'cfd'="STOPPED" OR 'hij'="STOPPED" OR ''="STOPPED" OR 'jkl'="STOPPED" OR 'mno'="STOPPED" OR 'pqr'="STOPPED" OR 'stu'="STOPPED" OR 'vux'="STOPPED" OR 'yz'="STOPPED"&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;| fields butcher, host, status&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;| mvcombine host delim=","&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;| eval message="Butcher Services are at status: ".status." Host(s):".mvjoin(host,",")&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 25 Nov 2020 09:12:03 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/Send-alerts-for-status-recovery/m-p/530779#M4277</guid>
      <dc:creator>frankroger</dc:creator>
      <dc:date>2020-11-25T09:12:03Z</dc:date>
    </item>
    <item>
      <title>Re: Send alerts for status recovery</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/Send-alerts-for-status-recovery/m-p/530792#M4278</link>
      <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/229117"&gt;@frankroger&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;you need to identify the value used to find events for running.&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;index="init_butcher" sourcetype="services_status.out.log" host=* status="running" &lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 25 Nov 2020 11:15:21 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/Send-alerts-for-status-recovery/m-p/530792#M4278</guid>
      <dc:creator>thambisetty</dc:creator>
      <dc:date>2020-11-25T11:15:21Z</dc:date>
    </item>
    <item>
      <title>Re: Send alerts for status recovery</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/Send-alerts-for-status-recovery/m-p/530796#M4279</link>
      <description>&lt;P&gt;Thanks Thambisetty for your quick respone. But I am new to splunk, I don't understand what is meant by your reply there.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 25 Nov 2020 11:34:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/Send-alerts-for-status-recovery/m-p/530796#M4279</guid>
      <dc:creator>frankroger</dc:creator>
      <dc:date>2020-11-25T11:34:26Z</dc:date>
    </item>
    <item>
      <title>Re: Send alerts for status recovery</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/Send-alerts-for-status-recovery/m-p/530797#M4280</link>
      <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/229117"&gt;@frankroger&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;can you post sample events and also check is there any field status or abc in your events.&lt;/P&gt;</description>
      <pubDate>Wed, 25 Nov 2020 11:39:59 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/Send-alerts-for-status-recovery/m-p/530797#M4280</guid>
      <dc:creator>thambisetty</dc:creator>
      <dc:date>2020-11-25T11:39:59Z</dc:date>
    </item>
    <item>
      <title>Re: Send alerts for status recovery</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/Send-alerts-for-status-recovery/m-p/530800#M4281</link>
      <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="frankroger_0-1606304620857.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/12056i9708297331A227E6/image-size/medium?v=v2&amp;amp;px=400" role="button" title="frankroger_0-1606304620857.png" alt="frankroger_0-1606304620857.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Here is the results.&lt;/P&gt;</description>
      <pubDate>Wed, 25 Nov 2020 11:46:12 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/Send-alerts-for-status-recovery/m-p/530800#M4281</guid>
      <dc:creator>frankroger</dc:creator>
      <dc:date>2020-11-25T11:46:12Z</dc:date>
    </item>
    <item>
      <title>Re: Send alerts for status recovery</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/Send-alerts-for-status-recovery/m-p/530802#M4283</link>
      <description>&lt;P&gt;yes. you have got few results that means you have field status.&amp;nbsp;&lt;/P&gt;&lt;P&gt;The query you have provided in the question is not properly developed.&amp;nbsp; If you just need to be alerted when status is running you can just add below and save as an alert.&lt;/P&gt;&lt;P&gt;| stats count by host,service&lt;/P&gt;</description>
      <pubDate>Wed, 25 Nov 2020 11:57:39 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/Send-alerts-for-status-recovery/m-p/530802#M4283</guid>
      <dc:creator>thambisetty</dc:creator>
      <dc:date>2020-11-25T11:57:39Z</dc:date>
    </item>
    <item>
      <title>Re: Send alerts for status recovery</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/Send-alerts-for-status-recovery/m-p/530809#M4284</link>
      <description>&lt;P&gt;I want the alert to trigger when the services are down and then trigger again once or twice when the server is up.&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 25 Nov 2020 12:16:32 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/Send-alerts-for-status-recovery/m-p/530809#M4284</guid>
      <dc:creator>frankroger</dc:creator>
      <dc:date>2020-11-25T12:16:32Z</dc:date>
    </item>
  </channel>
</rss>

