<?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: Searching internal logs for heavy forwarder in Monitoring Splunk</title>
    <link>https://community.splunk.com/t5/Monitoring-Splunk/Searching-internal-logs-for-heavy-forwarder/m-p/323320#M2975</link>
    <description>&lt;P&gt;I want only the internal data to be indexed locally. I want all other data that we are collecting using the heavy forwarder to be forwarded to indexers&lt;/P&gt;</description>
    <pubDate>Mon, 22 Jan 2018 20:04:38 GMT</pubDate>
    <dc:creator>nawazns5038</dc:creator>
    <dc:date>2018-01-22T20:04:38Z</dc:date>
    <item>
      <title>Searching internal logs for heavy forwarder</title>
      <link>https://community.splunk.com/t5/Monitoring-Splunk/Searching-internal-logs-for-heavy-forwarder/m-p/323318#M2973</link>
      <description>&lt;P&gt;I am forwarding the logs from the heavy forwarder using the outputs.conf and as a result all the internal logs have been forwarded as well. &lt;/P&gt;

&lt;P&gt;Is there a way to search the _internal logs internally in that instance itself. There is a dashboard provided for an Addon for that heavy forwarder .. it cannot run as there are the internal logs cannot be searched . &lt;/P&gt;</description>
      <pubDate>Mon, 22 Jan 2018 19:47:12 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Monitoring-Splunk/Searching-internal-logs-for-heavy-forwarder/m-p/323318#M2973</guid>
      <dc:creator>nawazns5038</dc:creator>
      <dc:date>2018-01-22T19:47:12Z</dc:date>
    </item>
    <item>
      <title>Re: Searching internal logs for heavy forwarder</title>
      <link>https://community.splunk.com/t5/Monitoring-Splunk/Searching-internal-logs-for-heavy-forwarder/m-p/323319#M2974</link>
      <description>&lt;P&gt;Hi, &lt;BR /&gt;
well you might have set the parameter &lt;CODE&gt;indexAndForward=false&lt;/CODE&gt; in the outputs.conf which will not store a copy of the data on the heavy forwarder and instead only send the data to your indexers.&lt;/P&gt;

&lt;P&gt;If you want to do what you are planning you have to set the parameter to true.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[tcpout]
indexAndForward=true
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 22 Jan 2018 19:54:44 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Monitoring-Splunk/Searching-internal-logs-for-heavy-forwarder/m-p/323319#M2974</guid>
      <dc:creator>horsefez</dc:creator>
      <dc:date>2018-01-22T19:54:44Z</dc:date>
    </item>
    <item>
      <title>Re: Searching internal logs for heavy forwarder</title>
      <link>https://community.splunk.com/t5/Monitoring-Splunk/Searching-internal-logs-for-heavy-forwarder/m-p/323320#M2975</link>
      <description>&lt;P&gt;I want only the internal data to be indexed locally. I want all other data that we are collecting using the heavy forwarder to be forwarded to indexers&lt;/P&gt;</description>
      <pubDate>Mon, 22 Jan 2018 20:04:38 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Monitoring-Splunk/Searching-internal-logs-for-heavy-forwarder/m-p/323320#M2975</guid>
      <dc:creator>nawazns5038</dc:creator>
      <dc:date>2018-01-22T20:04:38Z</dc:date>
    </item>
    <item>
      <title>Re: Searching internal logs for heavy forwarder</title>
      <link>https://community.splunk.com/t5/Monitoring-Splunk/Searching-internal-logs-for-heavy-forwarder/m-p/323321#M2976</link>
      <description>&lt;P&gt;You will want to configure TCP routing to handle the sourcetypes separately.&lt;BR /&gt;
One way is to leave &lt;CODE&gt;indexAndForward=false&lt;/CODE&gt; globally, and re-route your internal logs to add that parameter for the tcpout group.&lt;/P&gt;

&lt;P&gt;&lt;A href="http://docs.splunk.com/Documentation/SplunkCloud/6.6.3/Forwarding/Routeandfilterdatad"&gt;http://docs.splunk.com/Documentation/SplunkCloud/6.6.3/Forwarding/Routeandfilterdatad&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;in props.conf&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[splunkd] (or if nothing else is generated 'on' the host you could use host? to save doing it for each sourcetype)
TRANSFORMS-routing=internal
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;in transforms.conf&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[internal]
REGEX=.
DEST_KEY=_TCP_ROUTING
FORMAT=internalLogs
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;in outputs.conf&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[tcpout]
defaultGroup=default

[tcpout:internalLogs]
indexAndForward=false
server=your_indexer:9997

[tcpout:default]
server=your_indexer:9997
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Another approach is to use forwardedindex which is covered in that doc.&lt;/P&gt;</description>
      <pubDate>Mon, 22 Jan 2018 20:21:53 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Monitoring-Splunk/Searching-internal-logs-for-heavy-forwarder/m-p/323321#M2976</guid>
      <dc:creator>nickhills</dc:creator>
      <dc:date>2018-01-22T20:21:53Z</dc:date>
    </item>
    <item>
      <title>Re: Searching internal logs for heavy forwarder</title>
      <link>https://community.splunk.com/t5/Monitoring-Splunk/Searching-internal-logs-for-heavy-forwarder/m-p/323322#M2977</link>
      <description>&lt;P&gt;&lt;A href="http://docs.splunk.com/Documentation/SplunkCloud/6.6.3/Forwarding/Routeandfilterdatad#Index_one_input_locally_and_then_forward_all_inputs"&gt;http://docs.splunk.com/Documentation/SplunkCloud/6.6.3/Forwarding/Routeandfilterdatad#Index_one_input_locally_and_then_forward_all_inputs&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;Did the trick &lt;/P&gt;</description>
      <pubDate>Mon, 22 Jan 2018 21:28:33 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Monitoring-Splunk/Searching-internal-logs-for-heavy-forwarder/m-p/323322#M2977</guid>
      <dc:creator>nawazns5038</dc:creator>
      <dc:date>2018-01-22T21:28:33Z</dc:date>
    </item>
  </channel>
</rss>

