<?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: Ping Alert when up in Alerting</title>
    <link>https://community.splunk.com/t5/Alerting/Ping-Alert-when-up/m-p/419521#M7301</link>
    <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/169595"&gt;@davidirvine&lt;/a&gt;,&lt;/P&gt;

&lt;P&gt;I believe below query may or mayn't help you. Can you elaborate in detail manner what exactly your requirement.  &lt;/P&gt;

&lt;P&gt;sourcetype="ping_input" back_up_packet_loss = 0%&lt;BR /&gt;
| table dest, packet_loss&lt;/P&gt;

&lt;P&gt;Thanks ..&lt;/P&gt;</description>
    <pubDate>Wed, 30 Sep 2020 00:53:15 GMT</pubDate>
    <dc:creator>Shan</dc:creator>
    <dc:date>2020-09-30T00:53:15Z</dc:date>
    <item>
      <title>Ping Alert when up</title>
      <link>https://community.splunk.com/t5/Alerting/Ping-Alert-when-up/m-p/419520#M7300</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;I currently have a Ping Alert which is notifies me when there is 100% packet loss for a host/device.&lt;BR /&gt;
The search for the Ping is currently&lt;BR /&gt;
sourcetype="ping_input" packet_loss = 100&lt;BR /&gt;
| table dest, packet_loss&lt;/P&gt;

&lt;P&gt;I now want to create an alert which tell me when the host/device is back up packet loss = 0%&lt;BR /&gt;
I am think I need to do a compare of the two results, but unsure on how to start this one?&lt;BR /&gt;
Reaching out for some assistance.&lt;/P&gt;

&lt;P&gt;thanks&lt;/P&gt;</description>
      <pubDate>Wed, 30 Sep 2020 00:53:12 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/Ping-Alert-when-up/m-p/419520#M7300</guid>
      <dc:creator>davidirvine</dc:creator>
      <dc:date>2020-09-30T00:53:12Z</dc:date>
    </item>
    <item>
      <title>Re: Ping Alert when up</title>
      <link>https://community.splunk.com/t5/Alerting/Ping-Alert-when-up/m-p/419521#M7301</link>
      <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/169595"&gt;@davidirvine&lt;/a&gt;,&lt;/P&gt;

&lt;P&gt;I believe below query may or mayn't help you. Can you elaborate in detail manner what exactly your requirement.  &lt;/P&gt;

&lt;P&gt;sourcetype="ping_input" back_up_packet_loss = 0%&lt;BR /&gt;
| table dest, packet_loss&lt;/P&gt;

&lt;P&gt;Thanks ..&lt;/P&gt;</description>
      <pubDate>Wed, 30 Sep 2020 00:53:15 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/Ping-Alert-when-up/m-p/419521#M7301</guid>
      <dc:creator>Shan</dc:creator>
      <dc:date>2020-09-30T00:53:15Z</dc:date>
    </item>
    <item>
      <title>Re: Ping Alert when up</title>
      <link>https://community.splunk.com/t5/Alerting/Ping-Alert-when-up/m-p/419522#M7302</link>
      <description>&lt;P&gt;Hi I think I'm after something like a Set-Diff actually as I want to compare the two results.&lt;BR /&gt;
So when the first part of the search show 100% packet loss and the second part does not it will alert me.&lt;BR /&gt;
Potentially something like this article &lt;A href="https://answers.splunk.com/answers/151315/how-to-find-differences-between-two-searches-with-set-diff-command.html"&gt;https://answers.splunk.com/answers/151315/how-to-find-differences-between-two-searches-with-set-diff-command.html&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 17 Jun 2019 23:44:42 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/Ping-Alert-when-up/m-p/419522#M7302</guid>
      <dc:creator>davidirvine</dc:creator>
      <dc:date>2019-06-17T23:44:42Z</dc:date>
    </item>
    <item>
      <title>Re: Ping Alert when up</title>
      <link>https://community.splunk.com/t5/Alerting/Ping-Alert-when-up/m-p/419523#M7303</link>
      <description>&lt;P&gt;If the data is not that much, you could easily do just a &lt;CODE&gt;| transaction _time, packet_loss src_ip startswith=packet_loss=100 endswith=packet_loss=0&lt;/CODE&gt;.&lt;BR /&gt;
(Or use &lt;CODE&gt;stats&lt;/CODE&gt; with first() and last() occurence. See the &lt;A href="https://docs.splunk.com/Documentation/Splunk/7.3.0/SearchReference/Eventorderfunctions"&gt;docs page&lt;/A&gt; for an example.)&lt;/P&gt;

&lt;P&gt;Skalli&lt;/P&gt;</description>
      <pubDate>Tue, 18 Jun 2019 07:32:50 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/Ping-Alert-when-up/m-p/419523#M7303</guid>
      <dc:creator>skalliger</dc:creator>
      <dc:date>2019-06-18T07:32:50Z</dc:date>
    </item>
    <item>
      <title>Re: Ping Alert when up</title>
      <link>https://community.splunk.com/t5/Alerting/Ping-Alert-when-up/m-p/419524#M7304</link>
      <description>&lt;P&gt;Hi @davidirvine - Could you please elaborate comparison? What kind of comparison you are looking for? As don't think so  &lt;CODE&gt;|set diff&lt;/CODE&gt; will work in your case.&lt;/P&gt;</description>
      <pubDate>Tue, 18 Jun 2019 11:46:02 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/Ping-Alert-when-up/m-p/419524#M7304</guid>
      <dc:creator>VatsalJagani</dc:creator>
      <dc:date>2019-06-18T11:46:02Z</dc:date>
    </item>
  </channel>
</rss>

