<?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 check missing universal forwarders in Deployment Architecture</title>
    <link>https://community.splunk.com/t5/Deployment-Architecture/How-to-check-missing-universal-forwarders/m-p/365739#M19135</link>
    <description>&lt;P&gt;i want to check whether it is up and running or sending data, just like i want to diagnose  &lt;/P&gt;</description>
    <pubDate>Wed, 28 Jun 2017 21:53:41 GMT</pubDate>
    <dc:creator>Rocky31</dc:creator>
    <dc:date>2017-06-28T21:53:41Z</dc:date>
    <item>
      <title>How to check missing universal forwarders</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/How-to-check-missing-universal-forwarders/m-p/365737#M19133</link>
      <description>&lt;P&gt;Any help will be appreciated, i trying from long back how to check missing forwarders. &lt;/P&gt;</description>
      <pubDate>Wed, 28 Jun 2017 21:35:14 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/How-to-check-missing-universal-forwarders/m-p/365737#M19133</guid>
      <dc:creator>Rocky31</dc:creator>
      <dc:date>2017-06-28T21:35:14Z</dc:date>
    </item>
    <item>
      <title>Re: How to check missing universal forwarders</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/How-to-check-missing-universal-forwarders/m-p/365738#M19134</link>
      <description>&lt;P&gt;What exactly you want to check? Forwarder not sending data?&lt;/P&gt;</description>
      <pubDate>Wed, 28 Jun 2017 21:48:47 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/How-to-check-missing-universal-forwarders/m-p/365738#M19134</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2017-06-28T21:48:47Z</dc:date>
    </item>
    <item>
      <title>Re: How to check missing universal forwarders</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/How-to-check-missing-universal-forwarders/m-p/365739#M19135</link>
      <description>&lt;P&gt;i want to check whether it is up and running or sending data, just like i want to diagnose  &lt;/P&gt;</description>
      <pubDate>Wed, 28 Jun 2017 21:53:41 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/How-to-check-missing-universal-forwarders/m-p/365739#M19135</guid>
      <dc:creator>Rocky31</dc:creator>
      <dc:date>2017-06-28T21:53:41Z</dc:date>
    </item>
    <item>
      <title>Re: How to check missing universal forwarders</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/How-to-check-missing-universal-forwarders/m-p/365740#M19136</link>
      <description>&lt;P&gt;Do you've DMC setup in your instance? It does have dashboards for forwarder monitoring.&lt;BR /&gt;
&lt;A href="http://docs.splunk.com/Documentation/Splunk/6.6.1/DMC/ForwardersDeployment"&gt;http://docs.splunk.com/Documentation/Splunk/6.6.1/DMC/ForwardersDeployment&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;Other option is, unless you disable, the forwarder will send it's internal log events, so you can check whether you're receiving that. No event means Fwd not running OR not sending data.&lt;/P&gt;

&lt;P&gt;index=_internal sourcetype=splunkd host=YourFwdName earliest=-15m&lt;/P&gt;

&lt;P&gt;Another option is, if you're using deployment server to configure apps on your forwarders, you can check the phonehome events. See this for search for phonehome events&lt;BR /&gt;
&lt;A href="https://answers.splunk.com/answers/208607/how-to-determine-if-forwarder-is-phoning-home-to-d.html"&gt;https://answers.splunk.com/answers/208607/how-to-determine-if-forwarder-is-phoning-home-to-d.html&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 28 Jun 2017 22:23:25 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/How-to-check-missing-universal-forwarders/m-p/365740#M19136</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2017-06-28T22:23:25Z</dc:date>
    </item>
    <item>
      <title>Re: How to check missing universal forwarders</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/How-to-check-missing-universal-forwarders/m-p/365741#M19137</link>
      <description>&lt;P&gt;Hi Rocky31,&lt;BR /&gt;
In the Splunk Distributed Management Console there is an alarm for the missed forwarders to enable.&lt;/P&gt;

&lt;P&gt;Otherwise you could creste a lookup (e.g. called perimeter.csv with a field called host) with the list of all forwarders to check and schedule an alarm with this search (e.g. every five minutes):&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=_internal
| eval host=upper(host)
| stats count by host
| append [ | inputlookup perimeter.csv | eval host=upper(host), count=0 | fields host count ]
| stats sum(count) AS Total by host
| where Total=0
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;In this way you have all the hosts of your lookup that didn't send logs to the Indexers in the period, so you can enable an alarm that sends an email or different actions.&lt;/P&gt;

&lt;P&gt;Using the same search (without the last low) you can build a dashboard that shows the status of your forwarders that you can also display in graphic mode.&lt;/P&gt;

&lt;P&gt;Bye.&lt;BR /&gt;
Giuseppe&lt;/P&gt;</description>
      <pubDate>Thu, 29 Jun 2017 06:35:02 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/How-to-check-missing-universal-forwarders/m-p/365741#M19137</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2017-06-29T06:35:02Z</dc:date>
    </item>
    <item>
      <title>Re: How to check missing universal forwarders</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/How-to-check-missing-universal-forwarders/m-p/365742#M19138</link>
      <description>&lt;P&gt;Please check these search queries - &lt;/P&gt;

&lt;P&gt;The following search works in 3.4.5 and finds all hosts who haven't sent a message in the last 24 hours&lt;BR /&gt;
&lt;PRE&gt;| metadata type=hosts | eval age = strftime("%s","now") - lastTime | search age &amp;gt; 86400 | sort age d | convert ctime(lastTime) | fields age,host,lastTime&lt;/PRE&gt;&lt;/P&gt;

&lt;P&gt;and in 4.0:&lt;BR /&gt;
&lt;PRE&gt;| metadata type=hosts | eval age = now() - lastTime | search age &amp;gt; 86400 | sort age d | convert ctime(lastTime) | fields age,host,lastTime&lt;/PRE&gt;&lt;/P&gt;

&lt;P&gt;Another 4.0 variant&lt;BR /&gt;
&lt;PRE&gt;| metadata type=hosts | sort recentTime desc | convert ctime(recentTime) as Recent_Time&lt;/PRE&gt;&lt;/P&gt;

&lt;P&gt;&lt;A href="http://wiki.splunk.com/Community:HowToFindLostForwarders"&gt;http://wiki.splunk.com/Community:HowToFindLostForwarders&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 29 Jun 2017 06:44:56 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/How-to-check-missing-universal-forwarders/m-p/365742#M19138</guid>
      <dc:creator>inventsekar</dc:creator>
      <dc:date>2017-06-29T06:44:56Z</dc:date>
    </item>
  </channel>
</rss>

