<?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: How do I alert when a host stops sending data? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-do-I-alert-when-a-host-stops-sending-data/m-p/14655#M1593</link>
    <description>&lt;P&gt;if do search am getting 5 host name and time if I create alert for it its not triggering ??&lt;/P&gt;

&lt;P&gt;AM using age &lt;BR /&gt;
| metadata index=### type=hosts | eval age = now()-lastTime | where age &amp;gt; 1800 | sort age d | convert ctime(lastTime) | fields age,host,lastTime&lt;/P&gt;</description>
    <pubDate>Mon, 15 Apr 2019 12:54:53 GMT</pubDate>
    <dc:creator>raja8220</dc:creator>
    <dc:date>2019-04-15T12:54:53Z</dc:date>
    <item>
      <title>How do I alert when a host stops sending data?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-I-alert-when-a-host-stops-sending-data/m-p/14646#M1584</link>
      <description>&lt;P&gt;What's the best way to create a search to identify which hosts have not sent a syslog message to Splunk in the last 2 days?&lt;/P&gt;</description>
      <pubDate>Wed, 02 Jun 2010 05:08:50 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-I-alert-when-a-host-stops-sending-data/m-p/14646#M1584</guid>
      <dc:creator>matt</dc:creator>
      <dc:date>2010-06-02T05:08:50Z</dc:date>
    </item>
    <item>
      <title>Re: How do I alert when a host stops sending data?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-I-alert-when-a-host-stops-sending-data/m-p/14647#M1585</link>
      <description>&lt;P&gt;Are you talking specifically &lt;CODE&gt;sourcetype=syslog&lt;/CODE&gt; or just any events from a host?  It's easy to do any events from a host with something like this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| metadata index=main type=hosts | eval age = now()-lastTime | where age &amp;gt; (2*86400) | sort age d | convert ctime(lastTime) | fields age,host,lastTime
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Does that work for you?&lt;/P&gt;</description>
      <pubDate>Wed, 02 Jun 2010 05:25:51 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-I-alert-when-a-host-stops-sending-data/m-p/14647#M1585</guid>
      <dc:creator>Lowell</dc:creator>
      <dc:date>2010-06-02T05:25:51Z</dc:date>
    </item>
    <item>
      <title>Re: How do I alert when a host stops sending data?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-I-alert-when-a-host-stops-sending-data/m-p/14648#M1586</link>
      <description>&lt;P&gt;I tried this search an got 0 search results&lt;/P&gt;</description>
      <pubDate>Fri, 18 Jun 2010 01:33:21 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-I-alert-when-a-host-stops-sending-data/m-p/14648#M1586</guid>
      <dc:creator>ram_malhotra</dc:creator>
      <dc:date>2010-06-18T01:33:21Z</dc:date>
    </item>
    <item>
      <title>Re: How do I alert when a host stops sending data?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-I-alert-when-a-host-stops-sending-data/m-p/14649#M1587</link>
      <description>&lt;P&gt;this could mean that you don't have any "lost" hosts&lt;/P&gt;</description>
      <pubDate>Fri, 18 Jun 2010 13:37:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-I-alert-when-a-host-stops-sending-data/m-p/14649#M1587</guid>
      <dc:creator>CerielTjuh</dc:creator>
      <dc:date>2010-06-18T13:37:17Z</dc:date>
    </item>
    <item>
      <title>Re: How do I alert when a host stops sending data?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-I-alert-when-a-host-stops-sending-data/m-p/14650#M1588</link>
      <description>&lt;P&gt;Or that you don't use the main index. Try doing&lt;/P&gt;

&lt;P&gt;&lt;CODE&gt;| metadata index=* type=hosts | eval age = now()-lastTime | where age &amp;gt; 2 | sort age d | convert ctime(lastTime) | fields age,host,lastTime&amp;lt;/code&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;This will search all non-internal indexes and display any hosts that haven't reported in 2 seconds.&lt;/P&gt;</description>
      <pubDate>Tue, 12 Aug 2014 20:33:18 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-I-alert-when-a-host-stops-sending-data/m-p/14650#M1588</guid>
      <dc:creator>ckurtz</dc:creator>
      <dc:date>2014-08-12T20:33:18Z</dc:date>
    </item>
    <item>
      <title>Re: How do I alert when a host stops sending data?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-I-alert-when-a-host-stops-sending-data/m-p/14651#M1589</link>
      <description>&lt;P&gt;I am getting the point where I feel ITSI may not be the right choice for service monitoring for us. How can you rely on ITSI if it can't easily detect if a KPI for a Entity is not getting data in a ITSI Service? What I am finding is if any query returns no results ITSI keeps the last KPI value for an Entity it received.  Since Splunk ITSI is used in a large enterprise by several business units, it is imperative that each BU can tell if a Entities not reporing in within a ITSI Service.&lt;/P&gt;

&lt;P&gt;In my example, i can tell  by the Aggregate Calculation that a host is not reporting in but how can I easily tell which Entity? Only the Entities that have previously stop sending data will show in the Entities section but never drop off once it starts getting data again.&lt;/P&gt;

&lt;P&gt;I am using the query &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| metadata index=* type=hosts | eval age = now()-lastTime | where age &amp;gt; 300 | sort age d | convert ctime(lastTime) | fields age,host,lastTime
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="alt text"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/5i12782588278428C7/image-size/large?v=v2&amp;amp;px=999" role="button" title="alt text" alt="alt text" /&gt;&lt;/span&gt;&lt;/P&gt;

&lt;P&gt;Does anyone have a sure way of knowing which Entity has stopped sending data within a ITSI Service?&lt;/P&gt;</description>
      <pubDate>Tue, 13 Dec 2016 19:05:22 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-I-alert-when-a-host-stops-sending-data/m-p/14651#M1589</guid>
      <dc:creator>r34220</dc:creator>
      <dc:date>2016-12-13T19:05:22Z</dc:date>
    </item>
    <item>
      <title>Re: How do I alert when a host stops sending data?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-I-alert-when-a-host-stops-sending-data/m-p/14652#M1590</link>
      <description>&lt;P&gt;I downvoted this post because this is not suitable for the original question and should not be ranked as an answer because:&lt;BR /&gt;
1. it is a question about another service&lt;BR /&gt;
2. the person posted it as an answer when it is really just another question.&lt;/P&gt;</description>
      <pubDate>Tue, 14 Mar 2017 15:49:37 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-I-alert-when-a-host-stops-sending-data/m-p/14652#M1590</guid>
      <dc:creator>mbain606</dc:creator>
      <dc:date>2017-03-14T15:49:37Z</dc:date>
    </item>
    <item>
      <title>Re: How do I alert when a host stops sending data?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-I-alert-when-a-host-stops-sending-data/m-p/14653#M1591</link>
      <description>&lt;P&gt;I downvoted this post because not relevant to the question, and it is another question -- not an answer or solution to the original question.&lt;/P&gt;</description>
      <pubDate>Thu, 07 Dec 2017 15:53:33 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-I-alert-when-a-host-stops-sending-data/m-p/14653#M1591</guid>
      <dc:creator>zward</dc:creator>
      <dc:date>2017-12-07T15:53:33Z</dc:date>
    </item>
    <item>
      <title>Re: How do I alert when a host stops sending data?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-I-alert-when-a-host-stops-sending-data/m-p/14654#M1592</link>
      <description>&lt;P&gt;@matt  hey,guys&lt;BR /&gt;
you can get sourcetype which is stop&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;|tstats count as countAtToday latest(_time) as lastTime where index!="*_" by host sourcetype|eval age=now()-lastTime|sort age d|fieldformat lastTime=strftime(lastTime,"%Y/%m/%d %H:%M:%S")|eval age=round((age/60/60),1)|search age&amp;gt;=48|eval age=age."hour"
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 30 May 2018 06:53:11 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-I-alert-when-a-host-stops-sending-data/m-p/14654#M1592</guid>
      <dc:creator>bestSplunker</dc:creator>
      <dc:date>2018-05-30T06:53:11Z</dc:date>
    </item>
    <item>
      <title>Re: How do I alert when a host stops sending data?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-I-alert-when-a-host-stops-sending-data/m-p/14655#M1593</link>
      <description>&lt;P&gt;if do search am getting 5 host name and time if I create alert for it its not triggering ??&lt;/P&gt;

&lt;P&gt;AM using age &lt;BR /&gt;
| metadata index=### type=hosts | eval age = now()-lastTime | where age &amp;gt; 1800 | sort age d | convert ctime(lastTime) | fields age,host,lastTime&lt;/P&gt;</description>
      <pubDate>Mon, 15 Apr 2019 12:54:53 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-I-alert-when-a-host-stops-sending-data/m-p/14655#M1593</guid>
      <dc:creator>raja8220</dc:creator>
      <dc:date>2019-04-15T12:54:53Z</dc:date>
    </item>
    <item>
      <title>Re: How do I alert when a host stops sending data?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-I-alert-when-a-host-stops-sending-data/m-p/14656#M1594</link>
      <description>&lt;P&gt;if do search am getting 5 host name in statistics and time if I create alert for it its not triggering ??&lt;/P&gt;

&lt;P&gt;AM using age &lt;BR /&gt;
| metadata index=### type=hosts | eval age = now()-lastTime | where age &amp;gt; 1800 | sort age d | convert ctime(lastTime) | fields age,host,lastTime&lt;/P&gt;</description>
      <pubDate>Mon, 15 Apr 2019 12:55:32 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-I-alert-when-a-host-stops-sending-data/m-p/14656#M1594</guid>
      <dc:creator>raja8220</dc:creator>
      <dc:date>2019-04-15T12:55:32Z</dc:date>
    </item>
  </channel>
</rss>

