<?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 forward internal logs (splunkd.log) from UniversalForwarders to indexer via heavy forwarder in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/How-to-forward-internal-logs-splunkd-log-from/m-p/204842#M40435</link>
    <description>&lt;P&gt;Thanks a lot. I have did the next things on my HF:&lt;BR /&gt;
- uninstalled my app, as you said&lt;BR /&gt;
- copy from default outputs.conf some stanzas into system/local/outputs.conf :&lt;BR /&gt;
  [tcpout]&lt;BR /&gt;
    defaultGroup = myindexer:port &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt; maxQueueSize = auto
 forwardedindex.0.whitelist = .*
 forwardedindex.1.blacklist = _.*
 forwardedindex.2.whitelist = (_internal)
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;UL&gt;
&lt;LI&gt;disable that lines in default outputs.conf&lt;/LI&gt;
&lt;LI&gt;restart heavy Forwarder&lt;/LI&gt;
&lt;/UL&gt;

&lt;P&gt;It is works &lt;/P&gt;

&lt;P&gt;I hope that my license will not be down.&lt;/P&gt;</description>
    <pubDate>Thu, 22 Sep 2016 09:24:27 GMT</pubDate>
    <dc:creator>kalianov</dc:creator>
    <dc:date>2016-09-22T09:24:27Z</dc:date>
    <item>
      <title>How to forward internal logs (splunkd.log) from UniversalForwarders to indexer via heavy forwarder</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-forward-internal-logs-splunkd-log-from/m-p/204840#M40433</link>
      <description>&lt;P&gt;Hi.&lt;BR /&gt;
My configuration is UF-&amp;gt;HF-&amp;gt;INDEXER.  &lt;/P&gt;

&lt;P&gt;Aim: configure DMC to monitor all instances of my deployment including Universal Forwarders (ver 6.1.4 or 6.2.0).&lt;BR /&gt;
Problem is that I can't get  splunkd.log and other internal logs from UniversalForwarders to my indexer(ver 6.4.1).&lt;BR /&gt;
I have deployed a small app to my Universal Forwarders with such &lt;/P&gt;

&lt;BLOCKQUOTE&gt;
&lt;BLOCKQUOTE&gt;
&lt;BLOCKQUOTE&gt;
&lt;BLOCKQUOTE&gt;
&lt;BLOCKQUOTE&gt;
&lt;BLOCKQUOTE&gt;
&lt;P&gt;inputs.conf:&lt;BR /&gt;
[monitor://$SPLUNK_HOME/var/log/splunk/splunkd.&lt;EM&gt;]&lt;BR /&gt;
 index = _internal&lt;BR /&gt;
 sourcetype = splunkd&lt;BR /&gt;
 _TCP_ROUTING = *&lt;BR /&gt;
otputs.conf &lt;BR /&gt;
[tcpout]&lt;BR /&gt;
 forwardedindex.0.whitelist = .&lt;/EM&gt;&lt;BR /&gt;
 forwardedindex.1.blacklist = _.*&lt;BR /&gt;
 forwardedindex.2.whitelist = (_audit|_introspection|_internal)&lt;BR /&gt;
 forwardedindex.filter.disable = false&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;
&lt;/BLOCKQUOTE&gt;
&lt;/BLOCKQUOTE&gt;
&lt;/BLOCKQUOTE&gt;
&lt;/BLOCKQUOTE&gt;
&lt;/BLOCKQUOTE&gt;

&lt;P&gt;But I still have no data on my indexer from that UF&lt;/P&gt;

&lt;P&gt;On Universal Forwarders I have such $SPLUNK_HOME/etc/system/local/outputs.conf&lt;BR /&gt;
[tcpout]&lt;BR /&gt;
defaultGroup = default-autolb-group&lt;BR /&gt;
[tcpout:default-autolb-group]&lt;BR /&gt;
server = heavyforwarder:9997&lt;BR /&gt;
[tcpout-server://heavyforwarder:9997]&lt;/P&gt;

&lt;P&gt;All non internal logs have indexed good, but internal logs such as splunkd.log have not indexed.&lt;/P&gt;

&lt;P&gt;Also I have some UFs  that are sending data directly to indexer and I see all internal logs from them without my app. So I can monitor them and my heavy forvarder in DMC without problem, but I need all forwarders. &lt;/P&gt;

&lt;P&gt;Need help&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 11:03:59 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-forward-internal-logs-splunkd-log-from/m-p/204840#M40433</guid>
      <dc:creator>kalianov</dc:creator>
      <dc:date>2020-09-29T11:03:59Z</dc:date>
    </item>
    <item>
      <title>Re: How to forward internal logs (splunkd.log) from UniversalForwarders to indexer via heavy forwarder</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-forward-internal-logs-splunkd-log-from/m-p/204841#M40434</link>
      <description>&lt;P&gt;It looks like UF 6.1.4 and 6.2.0 will forward splunkd.log to all tcpout stanzas by default. I suspect that you don't need this custom app on your UF and that your HF is dropping your _internal events. If you've enabled the SplunkForwarder app on your HF, at least on 6.4.0 it contains an outputs.conf that will filter out _internal events.&lt;/P&gt;

&lt;P&gt;If you remove your app from the UFs then deploy an app on the HF to allow forwarding of the _internal index (you just need an outputs.conf, I think you'll get what you need.&lt;/P&gt;

&lt;P&gt;For what it's worth, the documentation suggests this outputs.conf to forward all indexes:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;#Forward everything
[tcpout]
forwardedindex.0.whitelist = .*
# disable these
forwardedindex.1.blacklist =
forwardedindex.2.whitelist =
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Source: &lt;A href="http://docs.splunk.com/Documentation/Splunk/6.4.3/Forwarding/Routeandfilterdatad"&gt;http://docs.splunk.com/Documentation/Splunk/6.4.3/Forwarding/Routeandfilterdatad&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 21 Sep 2016 17:17:27 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-forward-internal-logs-splunkd-log-from/m-p/204841#M40434</guid>
      <dc:creator>jtacy</dc:creator>
      <dc:date>2016-09-21T17:17:27Z</dc:date>
    </item>
    <item>
      <title>Re: How to forward internal logs (splunkd.log) from UniversalForwarders to indexer via heavy forwarder</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-forward-internal-logs-splunkd-log-from/m-p/204842#M40435</link>
      <description>&lt;P&gt;Thanks a lot. I have did the next things on my HF:&lt;BR /&gt;
- uninstalled my app, as you said&lt;BR /&gt;
- copy from default outputs.conf some stanzas into system/local/outputs.conf :&lt;BR /&gt;
  [tcpout]&lt;BR /&gt;
    defaultGroup = myindexer:port &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt; maxQueueSize = auto
 forwardedindex.0.whitelist = .*
 forwardedindex.1.blacklist = _.*
 forwardedindex.2.whitelist = (_internal)
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;UL&gt;
&lt;LI&gt;disable that lines in default outputs.conf&lt;/LI&gt;
&lt;LI&gt;restart heavy Forwarder&lt;/LI&gt;
&lt;/UL&gt;

&lt;P&gt;It is works &lt;/P&gt;

&lt;P&gt;I hope that my license will not be down.&lt;/P&gt;</description>
      <pubDate>Thu, 22 Sep 2016 09:24:27 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-forward-internal-logs-splunkd-log-from/m-p/204842#M40435</guid>
      <dc:creator>kalianov</dc:creator>
      <dc:date>2016-09-22T09:24:27Z</dc:date>
    </item>
    <item>
      <title>Re: How to forward internal logs (splunkd.log) from UniversalForwarders to indexer via heavy forwarder</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-forward-internal-logs-splunkd-log-from/m-p/204843#M40436</link>
      <description>&lt;P&gt;License is not counted against splunk's own 'internal' logs.&lt;/P&gt;</description>
      <pubDate>Mon, 10 Apr 2017 10:36:40 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-forward-internal-logs-splunkd-log-from/m-p/204843#M40436</guid>
      <dc:creator>saurabh_tek</dc:creator>
      <dc:date>2017-04-10T10:36:40Z</dc:date>
    </item>
    <item>
      <title>Re: How to forward internal logs (splunkd.log) from UniversalForwarders to indexer via heavy forwarder</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-forward-internal-logs-splunkd-log-from/m-p/204844#M40437</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;just found this discussion... &lt;/P&gt;

&lt;P&gt;I know you solved your problem, which is great (BTW: marking this discussion as answered would help others :-).&lt;/P&gt;

&lt;P&gt;The main part is the filtering of internal logs if you use an intermediate forwarder architecture, like you do.&lt;/P&gt;

&lt;P&gt;You found the black/whitelisting.&lt;/P&gt;

&lt;P&gt;Much easier would be:&lt;/P&gt;

&lt;P&gt;forwardedindex.filter.disable = true&lt;/P&gt;

&lt;P&gt;which if off (=false) by default. &lt;/P&gt;

&lt;P&gt;This is needed on the intermediate HF in your case.&lt;/P&gt;

&lt;P&gt;Hope to help others for future reference.&lt;/P&gt;

&lt;P&gt;Happy splunking,&lt;/P&gt;

&lt;P&gt;Holger&lt;/P&gt;</description>
      <pubDate>Mon, 13 Aug 2018 06:49:57 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-forward-internal-logs-splunkd-log-from/m-p/204844#M40437</guid>
      <dc:creator>hsesterhenn_spl</dc:creator>
      <dc:date>2018-08-13T06:49:57Z</dc:date>
    </item>
  </channel>
</rss>

