<?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: _internal log tcp routing in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/internal-log-tcp-routing/m-p/762602#M120730</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/230424"&gt;@TheBravoSierra&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Im not convinced that adding a&amp;nbsp;&lt;SPAN&gt;monitor://...splunkd.log stanza would overwrite the default "monitor://$SPLUNK_HOME/var/log/splunk" which picks up these files usually.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Could you try with the following?&lt;/SPAN&gt;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;[monitor://$SPLUNK_HOME/var/log/splunk]
_TCP_ROUTING = group2&lt;/LI-CODE&gt;&lt;P&gt;&lt;span class="lia-unicode-emoji" title=":glowing_star:"&gt;🌟&lt;/span&gt; &lt;STRONG&gt;Did this answer help you? If so, please consider&lt;/STRONG&gt;:&lt;/P&gt;&lt;UL&gt;&lt;UL&gt;&lt;LI&gt;Adding karma to show it was useful&lt;/LI&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;LI&gt;Marking it as the solution if it resolved your issue&lt;/LI&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;LI&gt;Commenting if you need any clarification&lt;/LI&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;P&gt;Your feedback encourages the volunteers in this community to continue contributing.&lt;/P&gt;</description>
    <pubDate>Wed, 29 Jul 2026 21:07:08 GMT</pubDate>
    <dc:creator>livehybrid</dc:creator>
    <dc:date>2026-07-29T21:07:08Z</dc:date>
    <item>
      <title>_internal log tcp routing</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/internal-log-tcp-routing/m-p/762595#M120728</link>
      <description>&lt;DIV&gt;&lt;P&gt;&lt;STRONG&gt;Splunk Universal Forwarder - Route wineventlog to one output group and _internal to another&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;I'm trying to configure a Universal Forwarder so that:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;wineventlog data is sent only to &lt;STRONG&gt;[tcpout:group1]&lt;/STRONG&gt;&lt;/LI&gt;&lt;LI&gt;_internal data is sent only to &lt;STRONG&gt;[tcpout:group2]&lt;/STRONG&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Currently, wineventlog is routing correctly to &lt;STRONG&gt;group1&lt;/STRONG&gt;, but _internal events are being sent to &lt;STRONG&gt;both group1 and group2&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;My goal is to stop _internal events from being forwarded to &lt;STRONG&gt;group1&lt;/STRONG&gt; and have them forwarded exclusively to &lt;STRONG&gt;group2&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;I've already tried overriding _TCP_ROUTING=* by setting _TCP_ROUTING = group2 on both the monitor://...splunkd.log stanza and the [splunkd] stanza, but _internal data is still being forwarded to both output groups.&lt;/P&gt;&lt;P&gt;I've also reviewed Splunk's routing and filtering documentation, but I'm not sure what additional configuration is needed.&lt;/P&gt;&lt;P&gt;What is the correct way to exclude _internal events from &lt;STRONG&gt;group1&lt;/STRONG&gt; while continuing to send them to &lt;STRONG&gt;group2&lt;/STRONG&gt;? Is there a props/transforms-based routing configuration or another setting I'm overlooking?&lt;/P&gt;&lt;/DIV&gt;</description>
      <pubDate>Wed, 29 Jul 2026 17:08:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/internal-log-tcp-routing/m-p/762595#M120728</guid>
      <dc:creator>TheBravoSierra</dc:creator>
      <dc:date>2026-07-29T17:08:26Z</dc:date>
    </item>
    <item>
      <title>Re: _internal log tcp routing</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/internal-log-tcp-routing/m-p/762596#M120729</link>
      <description>&lt;P&gt;Ok. Show us your config.&lt;/P&gt;&lt;P&gt;You could enable additional processing on your UF and fiddle with transforms but that would be overkill.&lt;/P&gt;&lt;P&gt;Setting _TCP_ROUTING should be enough but you must do it properly.&lt;/P&gt;&lt;P&gt;Check with&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;splunk list monitor&lt;/PRE&gt;&lt;P&gt;Which inputs correspond to the data you want to ingest and overwrite the routes in those stanzas.&lt;/P&gt;&lt;P&gt;Alternatively you could just set everything by default to the output group which normally receives the _internal data and only overwrite routing on wineventlog inputs.&lt;/P&gt;&lt;P&gt;EDIT: Oh, and [splunkd] is not an input stanza but a props.conf stanza so you can't assign routing there directly.&lt;/P&gt;</description>
      <pubDate>Wed, 29 Jul 2026 18:46:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/internal-log-tcp-routing/m-p/762596#M120729</guid>
      <dc:creator>PickleRick</dc:creator>
      <dc:date>2026-07-29T18:46:20Z</dc:date>
    </item>
    <item>
      <title>Re: _internal log tcp routing</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/internal-log-tcp-routing/m-p/762602#M120730</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/230424"&gt;@TheBravoSierra&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Im not convinced that adding a&amp;nbsp;&lt;SPAN&gt;monitor://...splunkd.log stanza would overwrite the default "monitor://$SPLUNK_HOME/var/log/splunk" which picks up these files usually.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Could you try with the following?&lt;/SPAN&gt;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;[monitor://$SPLUNK_HOME/var/log/splunk]
_TCP_ROUTING = group2&lt;/LI-CODE&gt;&lt;P&gt;&lt;span class="lia-unicode-emoji" title=":glowing_star:"&gt;🌟&lt;/span&gt; &lt;STRONG&gt;Did this answer help you? If so, please consider&lt;/STRONG&gt;:&lt;/P&gt;&lt;UL&gt;&lt;UL&gt;&lt;LI&gt;Adding karma to show it was useful&lt;/LI&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;LI&gt;Marking it as the solution if it resolved your issue&lt;/LI&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;LI&gt;Commenting if you need any clarification&lt;/LI&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;P&gt;Your feedback encourages the volunteers in this community to continue contributing.&lt;/P&gt;</description>
      <pubDate>Wed, 29 Jul 2026 21:07:08 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/internal-log-tcp-routing/m-p/762602#M120730</guid>
      <dc:creator>livehybrid</dc:creator>
      <dc:date>2026-07-29T21:07:08Z</dc:date>
    </item>
    <item>
      <title>Re: _internal log tcp routing</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/internal-log-tcp-routing/m-p/762603#M120731</link>
      <description>&lt;DIV class=""&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;DIV class=""&gt;&lt;P class=""&gt;This isn't your config — it's a default the UF ships with. The internal-log monitor stanzas in $SPLUNK_HOME/etc/apps/SplunkUniversalForwarder/default/inputs.conf come with _TCP_ROUTING = *, which means "send to &lt;STRONG&gt;all&lt;/STRONG&gt; tcpout groups." So the moment you added group2, _internal started cloning to both.&lt;/P&gt;&lt;P class=""&gt;Your override was close but missed two things:&lt;/P&gt;&lt;UL class=""&gt;&lt;LI&gt;[splunkd] is a &lt;STRONG&gt;sourcetype&lt;/STRONG&gt;, not an input stanza — _TCP_ROUTING only works on the actual [monitor://...] stanza, so that line does nothing.&lt;/LI&gt;&lt;LI&gt;_internal is fed by &lt;STRONG&gt;multiple&lt;/STRONG&gt; monitors (splunkd.log, metrics.log, etc.), each with its own _TCP_ROUTING = *. You only overrode splunkd.log; the rest keep cloning to both groups.&lt;/LI&gt;&lt;/UL&gt;&lt;P class=""&gt;(Side note: props/transforms routing won't work on a UF — it doesn't parse. _TCP_ROUTING in inputs.conf is the only lever. And internal indexes &lt;EM&gt;require&lt;/EM&gt; an explicit _TCP_ROUTING, so override it to group2 — don't delete it.)&lt;/P&gt;&lt;P class=""&gt;&lt;STRONG&gt;Fix.&lt;/STRONG&gt; Enumerate what your version actually ships:&lt;/P&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;PRE&gt;$SPLUNK_HOME/bin/splunk btool inputs list --debug | grep -i "TCP_ROUTING"&lt;/PRE&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P class=""&gt;Then in $SPLUNK_HOME/etc/system/local/inputs.conf, override each internal stanza (header + routing line is enough; index/sourcetype still layer in from default):&lt;/P&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;PRE&gt;[monitor://$SPLUNK_HOME/var/log/splunk/splunkd.log]
_TCP_ROUTING = group2

[monitor://$SPLUNK_HOME/var/log/splunk/metrics.log]
_TCP_ROUTING = group2&lt;/PRE&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P class=""&gt;Add a block for every _internal stanza btool listed — any you skip keeps going to group1. Same applies to _audit (audit.log) and _introspection if you want those off group1 too. Restart, then re-run the btool grep to confirm they all resolve to group2.&lt;/P&gt;&lt;HR /&gt;&lt;P class=""&gt;If you meant something other than a reply to post, let me know.&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Wed, 29 Jul 2026 21:15:40 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/internal-log-tcp-routing/m-p/762603#M120731</guid>
      <dc:creator>Happy_16</dc:creator>
      <dc:date>2026-07-29T21:15:40Z</dc:date>
    </item>
    <item>
      <title>Re: _internal log tcp routing</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/internal-log-tcp-routing/m-p/762615#M120738</link>
      <description>&lt;P&gt;OK. This needs a bit more explaining. Both you and&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/170906"&gt;@livehybrid&lt;/a&gt;&amp;nbsp;are on the right track but there are some minute details which influence the overall ingestion mechanics.&lt;/P&gt;&lt;P&gt;1. Indeed, [splunkd] is the sourcetype stanza in props.conf. Yes, props.conf _can_ be used to override some metadata on distinct subsets of files ingested from a single monitored directory (it's called a "sourcetyper configuration") but it can only override the sourcetype and can only be used for the [source:..] stanza. Splunk uses this method by default to split all files read from the main splunkd log directory into separate sourcetypes (splunkd, splunkd_access and so on).&lt;/P&gt;&lt;P&gt;2. Another angle to this story is that Splunk cannot monitor a single file (meaning a single path leading to a file - if the file is symlinked, or under a bind mount, it can be accessed multiple times) using separate monitors. A file will be monitored using the "outmost" monitor stanza in such case. But. Some settings might get overwritten by parameters defined at the "lower level" monitors. So while the general $SPLUNK_HOME/var/log/splunk sends the data to index=_internal, specific subdirectories or files are destined to _configtracker, _introspection and so on.&lt;/P&gt;&lt;P&gt;From what I'm seeing in the configs (10.4), the only default input stanza which comes with explicit _TCP_ROUTING entries is&amp;nbsp;monitor:///opt/splunk/etc/splunk.version (_TCP_ROUTING = *). All other inputs should inherit the default _TCP_ROUTING behaviour which is "send to the default group(s) as defined in outputs.conf").&lt;/P&gt;&lt;P&gt;One caveat - remember that wineventlog doesn't inherit (all) settings from the default stanza in inputs.conf.&lt;/P&gt;&lt;P&gt;So yes, your splunkd.log monitor stanza _might_ indeed be working (check for yourself - see if this particular file is being sent to all outputs, or are only the other files sent to that other output) but there are many more files in there and you'd need to either override the "global" monitor://opt/splunk/var/log/splunk to send to your preferred route only (but be aware that there are more directories in /opt/splunk/var/log and some of them are monitored with respective inputs.conf stanza monitors.&lt;/P&gt;&lt;P&gt;Having said that - if you are only receiving wineventlog data (which you want to be sent to one output group) and internal logs (which you want in the other one), the easiest way, as I said before, would be to set the default output group to the "internal" one and only override _TCP_ROUTING on the wineventlog inputs (or even on the default [WinEventLog://] stanza -&amp;nbsp; I can never remember how many slashes are there at the end of the stanza definition)&lt;/P&gt;</description>
      <pubDate>Thu, 30 Jul 2026 10:10:06 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/internal-log-tcp-routing/m-p/762615#M120738</guid>
      <dc:creator>PickleRick</dc:creator>
      <dc:date>2026-07-30T10:10:06Z</dc:date>
    </item>
    <item>
      <title>Re: _internal log tcp routing</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/internal-log-tcp-routing/m-p/762635#M120742</link>
      <description>&lt;P&gt;Here are my monitors. Yes, there are duplicates. Trying many things here. I've done splunk btool inputs list, copied them directly from there and pasted here. Now I have zero _TCP_ROUTING= * yet somehow it persists.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;[monitor://C:\program files\SplunkUniversalForwarder\etc\splunk.version]&lt;BR /&gt;_TCP_ROUTING = group2&lt;/P&gt;&lt;P&gt;[monitor://C:\program files\SplunkUniversalForwarder\var\log\splunk\metrics.log]&lt;BR /&gt;_TCP_ROUTING = group2&lt;/P&gt;&lt;P&gt;[monitor://C:\program files\SplunkUniversalForwarder\var\log\splunk\splunkd.log]&lt;BR /&gt;_TCP_ROUTING = group2&lt;/P&gt;&lt;P&gt;[monitor://C:\Program Files\SplunkUniversalForwarder\var\log\splunk\splunk_instrumentation_cloud.log*]&lt;BR /&gt;_TCP_ROUTING = group2&lt;/P&gt;&lt;P&gt;[monitor://$SPLUNK_HOME\var\log\splunk]&lt;BR /&gt;_TCP_ROUTING = group2&lt;/P&gt;&lt;P&gt;[monitor://C:\Program Files\SplunkUniversalForwarder\var\log\splunk]&lt;BR /&gt;_TCP_ROUTING = group2&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 30 Jul 2026 22:23:05 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/internal-log-tcp-routing/m-p/762635#M120742</guid>
      <dc:creator>TheBravoSierra</dc:creator>
      <dc:date>2026-07-30T22:23:05Z</dc:date>
    </item>
  </channel>
</rss>

