<?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: New Forwarder Added in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/New-Forwarder-Added/m-p/41336#M7685</link>
    <description>&lt;P&gt;Thanks Vlad.&lt;/P&gt;

&lt;P&gt;One more way of doing this..&lt;/P&gt;

&lt;P&gt;| metadata index=index* OR index=main type=hosts | eval age = now()-lastTime | where age &amp;lt; 432000| sort age d | convert ctime(lastTime) | fields age,host,lastTime&lt;/P&gt;

&lt;P&gt;Above search returns new forwarders added in the last 5 days.&lt;/P&gt;</description>
    <pubDate>Fri, 12 Aug 2011 14:00:44 GMT</pubDate>
    <dc:creator>amN0P</dc:creator>
    <dc:date>2011-08-12T14:00:44Z</dc:date>
    <item>
      <title>New Forwarder Added</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/New-Forwarder-Added/m-p/41334#M7683</link>
      <description>&lt;P&gt;Is there a way of triggering an automated email alert whenever a NEW host(forwarder) starts sending logs to the Splunk Server.&lt;/P&gt;</description>
      <pubDate>Tue, 12 Jul 2011 13:39:53 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/New-Forwarder-Added/m-p/41334#M7683</guid>
      <dc:creator>amN0P</dc:creator>
      <dc:date>2011-07-12T13:39:53Z</dc:date>
    </item>
    <item>
      <title>Re: New Forwarder Added</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/New-Forwarder-Added/m-p/41335#M7684</link>
      <description>&lt;P&gt;Maybe it's not a right way but I used some similar query for alarm to check if I "lost" some hosts&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=my_index host earliest=-5m latest=now | dedup host | eval StatusBefore=1 | join type=left host [search index=my_index host earliest=-65m latest=-60m  | dedup host | eval StatusNow=1 ] | eval Status=if(StatusBefore=StatusNow,1,0) | table host, Status | where Status=0
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;This query do:&lt;/P&gt;

&lt;UL&gt;
&lt;LI&gt;check available hosts for last 5 minutes&lt;/LI&gt;
&lt;LI&gt;check available hosts for 5 minutes - 1 hour&lt;/LI&gt;
&lt;LI&gt;compare two results (status = 1 - OK, status = 0 - new host)&lt;/LI&gt;
&lt;/UL&gt;

&lt;P&gt;Depending on your data polling interval you can set your own periods.&lt;/P&gt;</description>
      <pubDate>Wed, 13 Jul 2011 10:13:39 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/New-Forwarder-Added/m-p/41335#M7684</guid>
      <dc:creator>Vladimir</dc:creator>
      <dc:date>2011-07-13T10:13:39Z</dc:date>
    </item>
    <item>
      <title>Re: New Forwarder Added</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/New-Forwarder-Added/m-p/41336#M7685</link>
      <description>&lt;P&gt;Thanks Vlad.&lt;/P&gt;

&lt;P&gt;One more way of doing this..&lt;/P&gt;

&lt;P&gt;| metadata index=index* OR index=main type=hosts | eval age = now()-lastTime | where age &amp;lt; 432000| sort age d | convert ctime(lastTime) | fields age,host,lastTime&lt;/P&gt;

&lt;P&gt;Above search returns new forwarders added in the last 5 days.&lt;/P&gt;</description>
      <pubDate>Fri, 12 Aug 2011 14:00:44 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/New-Forwarder-Added/m-p/41336#M7685</guid>
      <dc:creator>amN0P</dc:creator>
      <dc:date>2011-08-12T14:00:44Z</dc:date>
    </item>
    <item>
      <title>Re: New Forwarder Added</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/New-Forwarder-Added/m-p/41337#M7686</link>
      <description>&lt;P&gt;Doesn't this show all forwarders &lt;EM&gt;that have logged&lt;/EM&gt; in the past 5 days?&lt;/P&gt;</description>
      <pubDate>Thu, 17 Dec 2015 14:10:32 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/New-Forwarder-Added/m-p/41337#M7686</guid>
      <dc:creator>reedmohn</dc:creator>
      <dc:date>2015-12-17T14:10:32Z</dc:date>
    </item>
  </channel>
</rss>

