<?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 Query for Splunk Forwarder is active or not? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Query-for-Splunk-Forwarder-is-active-or-not/m-p/549320#M91264</link>
    <description>&lt;P&gt;We have received an alert for splunk Forwarder not active on 1 host. We are not able go see the contributing events for this.&lt;/P&gt;&lt;P&gt;Could you please help me with the query to search whether splunk Forwarder is active or not?&lt;/P&gt;</description>
    <pubDate>Mon, 26 Apr 2021 10:07:49 GMT</pubDate>
    <dc:creator>sneha0924</dc:creator>
    <dc:date>2021-04-26T10:07:49Z</dc:date>
    <item>
      <title>Query for Splunk Forwarder is active or not?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Query-for-Splunk-Forwarder-is-active-or-not/m-p/549320#M91264</link>
      <description>&lt;P&gt;We have received an alert for splunk Forwarder not active on 1 host. We are not able go see the contributing events for this.&lt;/P&gt;&lt;P&gt;Could you please help me with the query to search whether splunk Forwarder is active or not?&lt;/P&gt;</description>
      <pubDate>Mon, 26 Apr 2021 10:07:49 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Query-for-Splunk-Forwarder-is-active-or-not/m-p/549320#M91264</guid>
      <dc:creator>sneha0924</dc:creator>
      <dc:date>2021-04-26T10:07:49Z</dc:date>
    </item>
    <item>
      <title>Re: Query for Splunk Forwarder is active or not?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Query-for-Splunk-Forwarder-is-active-or-not/m-p/549323#M91265</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/233825"&gt;@sneha0924&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;Let me understand: do you want a search to have an alert when a forwarder is down or to debug this condition?&lt;/P&gt;&lt;P&gt;if you want an alert, you have to create a lookup (called e.g. perimeter.csv) containing all the hostnames to monitor in your perimeter, containing at least one column (host), and run a search like this:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| metasearch index=_internal
| eval host=lower(host)
| stats count BY host
| append [ | inputlookup perimeter.csv | eval host=lower(host), count=0 | fields host count ]
| stats sum(count) AS total BY host
| where total=0&lt;/LI-CODE&gt;&lt;P&gt;if instead you want to debug&amp;nbsp; a forwarder that isn't sending logs, you have to go in SSH on that machine and then: check the connection with telnet and see local Splunk logs to debug the problem.&lt;/P&gt;&lt;P&gt;Ciao.&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;</description>
      <pubDate>Mon, 26 Apr 2021 11:22:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Query-for-Splunk-Forwarder-is-active-or-not/m-p/549323#M91265</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2021-04-26T11:22:19Z</dc:date>
    </item>
    <item>
      <title>Re: Query for Splunk Forwarder is active or not?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Query-for-Splunk-Forwarder-is-active-or-not/m-p/549324#M91266</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/161352"&gt;@gcusello&lt;/a&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for your response.&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I want to debug&amp;nbsp; a forwarder that isn't sending logs.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I Will follow the steps which you have provided and will update you.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I will try an&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 26 Apr 2021 11:28:45 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Query-for-Splunk-Forwarder-is-active-or-not/m-p/549324#M91266</guid>
      <dc:creator>sneha0924</dc:creator>
      <dc:date>2021-04-26T11:28:45Z</dc:date>
    </item>
  </channel>
</rss>

