<?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 to alert when a forwarder is not sending logs by source type? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/How-to-alert-when-a-forwarder-is-not-sending-logs-by-source-type/m-p/270661#M51960</link>
    <description>&lt;P&gt;Give this a try&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| tstats max(_time) as recentTime WHERE index=* sourcetype="PutYourSourceTypeHere" by host  | where recentTime &amp;lt; now() - 10800| eval lastSeen = strftime(recentTime, "%F %T") | fields + host lastSeen
&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Thu, 08 Sep 2016 21:39:19 GMT</pubDate>
    <dc:creator>somesoni2</dc:creator>
    <dc:date>2016-09-08T21:39:19Z</dc:date>
    <item>
      <title>How to alert when a forwarder is not sending logs by source type?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-alert-when-a-forwarder-is-not-sending-logs-by-source-type/m-p/270660#M51959</link>
      <description>&lt;P&gt;Hi &lt;/P&gt;

&lt;P&gt;How to alert when a host is not sending logs by source type? For now, I'm using the below search for hosts not reporting, but a when a single source of host is not reporting, how do I alert on that? Any suggestions?&lt;/P&gt;

&lt;P&gt;Search I'm using now:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| metadata type=hosts | where recentTime &amp;lt; now() - 10800| eval lastSeen = strftime(recentTime, "%F %T") | fields + host lastSeen
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 08 Sep 2016 21:07:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-alert-when-a-forwarder-is-not-sending-logs-by-source-type/m-p/270660#M51959</guid>
      <dc:creator>kiran331</dc:creator>
      <dc:date>2016-09-08T21:07:17Z</dc:date>
    </item>
    <item>
      <title>Re: How to alert when a forwarder is not sending logs by source type?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-alert-when-a-forwarder-is-not-sending-logs-by-source-type/m-p/270661#M51960</link>
      <description>&lt;P&gt;Give this a try&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| tstats max(_time) as recentTime WHERE index=* sourcetype="PutYourSourceTypeHere" by host  | where recentTime &amp;lt; now() - 10800| eval lastSeen = strftime(recentTime, "%F %T") | fields + host lastSeen
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 08 Sep 2016 21:39:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-alert-when-a-forwarder-is-not-sending-logs-by-source-type/m-p/270661#M51960</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2016-09-08T21:39:19Z</dc:date>
    </item>
  </channel>
</rss>

