<?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 How can I find forwarders that do not send data to all indexers? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-can-I-find-forwarders-that-do-not-send-data-to-all-indexers/m-p/216891#M176601</link>
    <description>&lt;P&gt;Hi&lt;/P&gt;

&lt;P&gt;is there an easy way to find forwarders that are not sending data to all available indexers? We see, that some indexers have more data than others and we would like to find out why, so we can take countermeasures and increase the overall performance of our Splunk installation.&lt;/P&gt;

&lt;P&gt;Regards&lt;BR /&gt;
Chris&lt;/P&gt;</description>
    <pubDate>Thu, 29 Sep 2016 06:24:28 GMT</pubDate>
    <dc:creator>chris</dc:creator>
    <dc:date>2016-09-29T06:24:28Z</dc:date>
    <item>
      <title>How can I find forwarders that do not send data to all indexers?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-can-I-find-forwarders-that-do-not-send-data-to-all-indexers/m-p/216891#M176601</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;

&lt;P&gt;is there an easy way to find forwarders that are not sending data to all available indexers? We see, that some indexers have more data than others and we would like to find out why, so we can take countermeasures and increase the overall performance of our Splunk installation.&lt;/P&gt;

&lt;P&gt;Regards&lt;BR /&gt;
Chris&lt;/P&gt;</description>
      <pubDate>Thu, 29 Sep 2016 06:24:28 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-can-I-find-forwarders-that-do-not-send-data-to-all-indexers/m-p/216891#M176601</guid>
      <dc:creator>chris</dc:creator>
      <dc:date>2016-09-29T06:24:28Z</dc:date>
    </item>
    <item>
      <title>Re: How can I find forwarders that do not send data to all indexers?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-can-I-find-forwarders-that-do-not-send-data-to-all-indexers/m-p/216892#M176602</link>
      <description>&lt;P&gt;Insert your servers in a lookup with column header host and the run this search&lt;BR /&gt;
&lt;EM&gt;| inputlookup perimeter.csv | eval count=0 | append [ search index=_internal |stats count by host ] | stats sum(count) AS Total | where Total=0&lt;/EM&gt;&lt;BR /&gt;
In this way you can find servers of your lookup that didn't connected.&lt;BR /&gt;
Beware to the name of the column in lookup: must be host or you have to rename it before "append" command.&lt;BR /&gt;
If you want, you can create a Dashboard to display the server status, to do this follow the indication in &lt;A href="https://answers.splunk.com/answers/454346/splunk-dashboard-widget-to-display-the-state-of-se.html"&gt;https://answers.splunk.com/answers/454346/splunk-dashboard-widget-to-display-the-state-of-se.html&lt;/A&gt;.&lt;BR /&gt;
Bye.&lt;BR /&gt;
Giuseppe &lt;/P&gt;</description>
      <pubDate>Thu, 29 Sep 2016 08:18:05 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-can-I-find-forwarders-that-do-not-send-data-to-all-indexers/m-p/216892#M176602</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2016-09-29T08:18:05Z</dc:date>
    </item>
    <item>
      <title>Re: How can I find forwarders that do not send data to all indexers?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-can-I-find-forwarders-that-do-not-send-data-to-all-indexers/m-p/216893#M176603</link>
      <description>&lt;P&gt;The following query should give you a list of indexers not receiving data from all your forwarders which I think it might help as a start:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=_internal sourcetype=splunkd source=*metrics.log group=tcpin_connections (connectionType=cooked OR connectionType=cookedSSL) [
   | dbinspect index=*
   | stats count by splunk_server
   | fields - count
   | rename splunk_server as host
]
| stats values(hostname) as Forwarders, dc(hostname) as Count by host
| rename host as Indexer
| eventstats max(Count) as Max_Count
| where Count &amp;lt; Max_Count
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;If you swap host with hostname then what you have is a list of forwarder not sending to the maximum number of indexers available in your deployment:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=_internal sourcetype=splunkd source=*metrics.log group=tcpin_connections (connectionType=cooked OR connectionType=cookedSSL) [
   | dbinspect index=*
   | stats count by splunk_server
   | fields - count
   | rename splunk_server as host
]
| stats values(host) as Indexers, dc(host) as Count by hostname
| rename hostname as Forwarder
| eventstats max(Count) as Max_Count
| where Count &amp;lt; Max_Count
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Hope that helps.&lt;/P&gt;

&lt;P&gt;Regards,&lt;BR /&gt;
J&lt;/P&gt;</description>
      <pubDate>Thu, 29 Sep 2016 10:53:04 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-can-I-find-forwarders-that-do-not-send-data-to-all-indexers/m-p/216893#M176603</guid>
      <dc:creator>javiergn</dc:creator>
      <dc:date>2016-09-29T10:53:04Z</dc:date>
    </item>
  </channel>
</rss>

