<?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: list host, source by forwarder in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/list-host-source-by-forwarder/m-p/110853#M23278</link>
    <description>&lt;P&gt;nope, because the value in "host" is the wrong one (overridden value) and i need to ip or hostname of the forwarder where this came from.&lt;/P&gt;</description>
    <pubDate>Mon, 08 Sep 2014 11:56:22 GMT</pubDate>
    <dc:creator>dominiquevocat</dc:creator>
    <dc:date>2014-09-08T11:56:22Z</dc:date>
    <item>
      <title>list host, source by forwarder</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/list-host-source-by-forwarder/m-p/110843#M23268</link>
      <description>&lt;P&gt;How do i get a list comprising the fields host, source for each forwarder.&lt;/P&gt;

&lt;P&gt;Background: the admins of the machines where the forwarder runs on seem to have made mistakes when adding a monitor and i would like to identify which ones are wrong and provide a clearing list.&lt;BR /&gt;
The field that is wrong is unfortunately "host". By identifying which "host,source" by forwarder i can tell which forwarder needs to be corrected.&lt;/P&gt;</description>
      <pubDate>Thu, 04 Sep 2014 08:11:11 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/list-host-source-by-forwarder/m-p/110843#M23268</guid>
      <dc:creator>dominiquevocat</dc:creator>
      <dc:date>2014-09-04T08:11:11Z</dc:date>
    </item>
    <item>
      <title>Re: list host, source by forwarder</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/list-host-source-by-forwarder/m-p/110844#M23269</link>
      <description>&lt;P&gt;Try this&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;|metasearch host=* | dedup source | table host, source
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 04 Sep 2014 09:51:45 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/list-host-source-by-forwarder/m-p/110844#M23269</guid>
      <dc:creator>strive</dc:creator>
      <dc:date>2014-09-04T09:51:45Z</dc:date>
    </item>
    <item>
      <title>Re: list host, source by forwarder</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/list-host-source-by-forwarder/m-p/110845#M23270</link>
      <description>&lt;P&gt;I updated the question, sorry. The field that is wrong is "host"...&lt;/P&gt;</description>
      <pubDate>Thu, 04 Sep 2014 10:50:51 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/list-host-source-by-forwarder/m-p/110845#M23270</guid>
      <dc:creator>dominiquevocat</dc:creator>
      <dc:date>2014-09-04T10:50:51Z</dc:date>
    </item>
    <item>
      <title>Re: list host, source by forwarder</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/list-host-source-by-forwarder/m-p/110846#M23271</link>
      <description>&lt;P&gt;The above search should work for your needs. In case if you need splunk server details also then do this&lt;/P&gt;

&lt;P&gt;&lt;CODE&gt;|metasearch host=* | dedup source | table host, source, splunk_server&lt;/CODE&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 04 Sep 2014 11:19:07 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/list-host-source-by-forwarder/m-p/110846#M23271</guid>
      <dc:creator>strive</dc:creator>
      <dc:date>2014-09-04T11:19:07Z</dc:date>
    </item>
    <item>
      <title>Re: list host, source by forwarder</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/list-host-source-by-forwarder/m-p/110847#M23272</link>
      <description>&lt;P&gt;Are you configuring what should be host in inputs.conf? If not the host name set on the device will be taken automatically.&lt;/P&gt;</description>
      <pubDate>Thu, 04 Sep 2014 11:20:39 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/list-host-source-by-forwarder/m-p/110847#M23272</guid>
      <dc:creator>strive</dc:creator>
      <dc:date>2014-09-04T11:20:39Z</dc:date>
    </item>
    <item>
      <title>Re: list host, source by forwarder</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/list-host-source-by-forwarder/m-p/110848#M23273</link>
      <description>&lt;P&gt;i have reason to suspect, that the guy indexing files specified the host when doing "add monitor" on the command line.&lt;/P&gt;</description>
      <pubDate>Thu, 04 Sep 2014 11:32:46 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/list-host-source-by-forwarder/m-p/110848#M23273</guid>
      <dc:creator>dominiquevocat</dc:creator>
      <dc:date>2014-09-04T11:32:46Z</dc:date>
    </item>
    <item>
      <title>Re: list host, source by forwarder</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/list-host-source-by-forwarder/m-p/110849#M23274</link>
      <description>&lt;P&gt;Ok. In any case, the above search in my comment should work. are you seeing any issues with the search?&lt;/P&gt;</description>
      <pubDate>Thu, 04 Sep 2014 11:42:42 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/list-host-source-by-forwarder/m-p/110849#M23274</guid>
      <dc:creator>strive</dc:creator>
      <dc:date>2014-09-04T11:42:42Z</dc:date>
    </item>
    <item>
      <title>Re: list host, source by forwarder</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/list-host-source-by-forwarder/m-p/110850#M23275</link>
      <description>&lt;P&gt;Hi dominiquevocat,&lt;/P&gt;

&lt;P&gt;because it is fun to play around in Splunk and always look for other ways to get the results, try this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt; index=_internal ( source=*license_usage.log type!=*Summary ) OR ( source=*metrics.log group=tcpin_connections fwdType=uf ) | streamstats last(sourceIp) AS last_ip last(hostname) AS last_hostname | where h=last_hostname | stats values(last_ip) AS IP values(st) AS sourcetype values(s) AS source by h | rename h AS Host
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;This will give you a nice table view of each Hosts Name, IP used, sourcetype used and sources used.&lt;/P&gt;

&lt;P&gt;hope this helps ...&lt;/P&gt;

&lt;P&gt;cheers, MuS&lt;/P&gt;</description>
      <pubDate>Thu, 04 Sep 2014 12:40:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/list-host-source-by-forwarder/m-p/110850#M23275</guid>
      <dc:creator>MuS</dc:creator>
      <dc:date>2014-09-04T12:40:26Z</dc:date>
    </item>
    <item>
      <title>Re: list host, source by forwarder</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/list-host-source-by-forwarder/m-p/110851#M23276</link>
      <description>&lt;P&gt;looks nice! perhaps due to the large amount of files on one of the hosts it stops after some 30'000 or so sources...&lt;/P&gt;</description>
      <pubDate>Thu, 04 Sep 2014 14:06:04 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/list-host-source-by-forwarder/m-p/110851#M23276</guid>
      <dc:creator>dominiquevocat</dc:creator>
      <dc:date>2014-09-04T14:06:04Z</dc:date>
    </item>
    <item>
      <title>Re: list host, source by forwarder</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/list-host-source-by-forwarder/m-p/110852#M23277</link>
      <description>&lt;P&gt;HeHe, try to limit the base search by using snippets of the source name or ip or hostname &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 04 Sep 2014 14:07:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/list-host-source-by-forwarder/m-p/110852#M23277</guid>
      <dc:creator>MuS</dc:creator>
      <dc:date>2014-09-04T14:07:52Z</dc:date>
    </item>
    <item>
      <title>Re: list host, source by forwarder</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/list-host-source-by-forwarder/m-p/110853#M23278</link>
      <description>&lt;P&gt;nope, because the value in "host" is the wrong one (overridden value) and i need to ip or hostname of the forwarder where this came from.&lt;/P&gt;</description>
      <pubDate>Mon, 08 Sep 2014 11:56:22 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/list-host-source-by-forwarder/m-p/110853#M23278</guid>
      <dc:creator>dominiquevocat</dc:creator>
      <dc:date>2014-09-08T11:56:22Z</dc:date>
    </item>
  </channel>
</rss>

