<?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: Find source types from UF to HF... in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Find-source-types-from-UF-to-HF/m-p/365569#M66549</link>
    <description>&lt;P&gt;Hi cpraz_ord,&lt;/P&gt;

&lt;P&gt;I've got a couple of queries that I like to use for this exact purpose. This is under the assumption that you are forwarding all logs from your on-premise HF into the cloud. It’s not automatic, but you’d start by looking at the _internal index.&lt;/P&gt;

&lt;P&gt;This will give you a list of all the sourcetypes that the HF has handled.&lt;/P&gt;

&lt;P&gt;&lt;CODE&gt;index=_internal sourcetype=splunkd host=&amp;lt;heavyforwardername&amp;gt; group=per_sourcetype_thruput | stats values(series)&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;This will give you a list of all the indexes that the HF has handled.&lt;/P&gt;

&lt;P&gt;&lt;CODE&gt;index=_internal sourcetype=splunkd host=&amp;lt;heavyforwardername&amp;gt; group=per_index_thruput | stats values(series)&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;That’ll return all the hosts pushing data through the HF.&lt;/P&gt;

&lt;P&gt;&lt;CODE&gt;index=_internal sourcetype=splunkd host=&amp;lt;heavyforwardername&amp;gt; group=per_host_thruput | stats values(series)&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;Of course, you can use other combinations of &lt;CODE&gt;| stats&lt;/CODE&gt; to get the formatting you desire, but these are the best starting points to help you start looking in the right places.&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;edit&lt;/STRONG&gt;&lt;/P&gt;

&lt;P&gt;I've refined the search a little for you to help you find which of the sourcetypes are the noisiest:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=_internal sourcetype=splunkd host=&amp;lt;heavyforwardername&amp;gt; group=per_sourcetype_thruput 
|  stats avg(kbps) as kbps by series
|  sort -kbps
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Good luck!&lt;/P&gt;</description>
    <pubDate>Fri, 27 Apr 2018 08:19:10 GMT</pubDate>
    <dc:creator>jajung</dc:creator>
    <dc:date>2018-04-27T08:19:10Z</dc:date>
    <item>
      <title>Find source types from UF to HF...</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Find-source-types-from-UF-to-HF/m-p/365567#M66547</link>
      <description>&lt;P&gt;Hi all...one of my Heavy Forwarders is relaying much data, we are using it for an intermediate forwarding tier to Splunk Cloud.  Many UFs are sending to this HF. &lt;/P&gt;

&lt;P&gt;I need to run a search to find what source types the Universal Forwarders are sending to this Heavy Forwarder. &lt;/P&gt;

&lt;P&gt;The Heavy forwarder is not running in preview mode.  I've run plenty of searches that report both UF/HF activity to the SH....but I really want to understand what is going to this HF without bouncing it and putting it in local indexing/preview mode. &lt;/P&gt;

&lt;P&gt;Thanks for any input...!&lt;/P&gt;</description>
      <pubDate>Thu, 26 Apr 2018 19:07:51 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Find-source-types-from-UF-to-HF/m-p/365567#M66547</guid>
      <dc:creator>cpraz_ord</dc:creator>
      <dc:date>2018-04-26T19:07:51Z</dc:date>
    </item>
    <item>
      <title>Re: Find source types from UF to HF...</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Find-source-types-from-UF-to-HF/m-p/365568#M66548</link>
      <description>&lt;P&gt;Is HF internal logs are being forwarded to Splunk indexer?&lt;/P&gt;</description>
      <pubDate>Fri, 27 Apr 2018 06:25:07 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Find-source-types-from-UF-to-HF/m-p/365568#M66548</guid>
      <dc:creator>p_gurav</dc:creator>
      <dc:date>2018-04-27T06:25:07Z</dc:date>
    </item>
    <item>
      <title>Re: Find source types from UF to HF...</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Find-source-types-from-UF-to-HF/m-p/365569#M66549</link>
      <description>&lt;P&gt;Hi cpraz_ord,&lt;/P&gt;

&lt;P&gt;I've got a couple of queries that I like to use for this exact purpose. This is under the assumption that you are forwarding all logs from your on-premise HF into the cloud. It’s not automatic, but you’d start by looking at the _internal index.&lt;/P&gt;

&lt;P&gt;This will give you a list of all the sourcetypes that the HF has handled.&lt;/P&gt;

&lt;P&gt;&lt;CODE&gt;index=_internal sourcetype=splunkd host=&amp;lt;heavyforwardername&amp;gt; group=per_sourcetype_thruput | stats values(series)&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;This will give you a list of all the indexes that the HF has handled.&lt;/P&gt;

&lt;P&gt;&lt;CODE&gt;index=_internal sourcetype=splunkd host=&amp;lt;heavyforwardername&amp;gt; group=per_index_thruput | stats values(series)&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;That’ll return all the hosts pushing data through the HF.&lt;/P&gt;

&lt;P&gt;&lt;CODE&gt;index=_internal sourcetype=splunkd host=&amp;lt;heavyforwardername&amp;gt; group=per_host_thruput | stats values(series)&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;Of course, you can use other combinations of &lt;CODE&gt;| stats&lt;/CODE&gt; to get the formatting you desire, but these are the best starting points to help you start looking in the right places.&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;edit&lt;/STRONG&gt;&lt;/P&gt;

&lt;P&gt;I've refined the search a little for you to help you find which of the sourcetypes are the noisiest:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=_internal sourcetype=splunkd host=&amp;lt;heavyforwardername&amp;gt; group=per_sourcetype_thruput 
|  stats avg(kbps) as kbps by series
|  sort -kbps
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Good luck!&lt;/P&gt;</description>
      <pubDate>Fri, 27 Apr 2018 08:19:10 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Find-source-types-from-UF-to-HF/m-p/365569#M66549</guid>
      <dc:creator>jajung</dc:creator>
      <dc:date>2018-04-27T08:19:10Z</dc:date>
    </item>
  </channel>
</rss>

