<?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 Do we need Universal Forwarder on Splunk server? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Do-we-need-Universal-Forwarder-on-Splunk-server/m-p/573730#M101472</link>
    <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;Maybe a dummy question, do I need to setup Universal Forwarder on Splunk server to monitor and index data? (so it's like the server is forwarding data to itself)&lt;/P&gt;&lt;P&gt;I tested setup an app in etc/apps/ with below config but it doesn't work.&lt;/P&gt;&lt;P&gt;inputs.conf&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;[batch:///opt/splunk/temp/test_forward/*]
move_policy = sinkhole
disabled = 0
index = test
sourcetype = test
crcSalt = test
_TCP_ROUTING = test&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;outputs.conf&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;[indexAndForward]
index = false

[tcpout]
indexAndForward = false
maxQueueSize = 200MB

[tcpout:test]
server = &amp;lt;server IP&amp;gt;:9997&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
    <pubDate>Fri, 05 Nov 2021 02:44:17 GMT</pubDate>
    <dc:creator>Cbr1sg</dc:creator>
    <dc:date>2021-11-05T02:44:17Z</dc:date>
    <item>
      <title>Do we need Universal Forwarder on Splunk server?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Do-we-need-Universal-Forwarder-on-Splunk-server/m-p/573730#M101472</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;Maybe a dummy question, do I need to setup Universal Forwarder on Splunk server to monitor and index data? (so it's like the server is forwarding data to itself)&lt;/P&gt;&lt;P&gt;I tested setup an app in etc/apps/ with below config but it doesn't work.&lt;/P&gt;&lt;P&gt;inputs.conf&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;[batch:///opt/splunk/temp/test_forward/*]
move_policy = sinkhole
disabled = 0
index = test
sourcetype = test
crcSalt = test
_TCP_ROUTING = test&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;outputs.conf&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;[indexAndForward]
index = false

[tcpout]
indexAndForward = false
maxQueueSize = 200MB

[tcpout:test]
server = &amp;lt;server IP&amp;gt;:9997&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Fri, 05 Nov 2021 02:44:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Do-we-need-Universal-Forwarder-on-Splunk-server/m-p/573730#M101472</guid>
      <dc:creator>Cbr1sg</dc:creator>
      <dc:date>2021-11-05T02:44:17Z</dc:date>
    </item>
    <item>
      <title>Re: Do we need Universal Forwarder on Splunk server?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Do-we-need-Universal-Forwarder-on-Splunk-server/m-p/573731#M101473</link>
      <description>&lt;P&gt;&lt;STRONG&gt;What are you trying to achieve? Its been metioned as a splunk server, if this is a full blown instance of splunk, why are you using UF?&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 05 Nov 2021 03:24:30 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Do-we-need-Universal-Forwarder-on-Splunk-server/m-p/573731#M101473</guid>
      <dc:creator>Roy_9</dc:creator>
      <dc:date>2021-11-05T03:24:30Z</dc:date>
    </item>
    <item>
      <title>Re: Do we need Universal Forwarder on Splunk server?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Do-we-need-Universal-Forwarder-on-Splunk-server/m-p/573733#M101475</link>
      <description>&lt;P&gt;I'm not using UF, at least not yet&lt;/P&gt;&lt;P&gt;I tried to monitor the file as shown in the config above, but it doesn't work. Do you know why?&lt;/P&gt;</description>
      <pubDate>Fri, 05 Nov 2021 03:29:51 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Do-we-need-Universal-Forwarder-on-Splunk-server/m-p/573733#M101475</guid>
      <dc:creator>Cbr1sg</dc:creator>
      <dc:date>2021-11-05T03:29:51Z</dc:date>
    </item>
    <item>
      <title>Re: Do we need Universal Forwarder on Splunk server?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Do-we-need-Universal-Forwarder-on-Splunk-server/m-p/573734#M101476</link>
      <description>&lt;P&gt;Please follow the below example&lt;/P&gt;&lt;PRE&gt;# 1. In outputs.conf:
[tcpout]
defaultGroup = indexers

[indexAndForward]
index=true
selectiveIndexing=true

[tcpout:indexers]
server = 10.1.1.197:9997, 10.1.1.200:9997

# 2. In inputs.conf, Add _INDEX_AND_FORWARD_ROUTING for any data that you want
#    index locally, and
_TCP_ROUTING=&amp;lt;target_group&amp;gt; for data to be forwarded.

[monitor:///var/log/messages/]
_INDEX_AND_FORWARD_ROUTING=local

[monitor:///var/log/httpd/]
_TCP_ROUTING=indexers&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 05 Nov 2021 03:35:42 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Do-we-need-Universal-Forwarder-on-Splunk-server/m-p/573734#M101476</guid>
      <dc:creator>Roy_9</dc:creator>
      <dc:date>2021-11-05T03:35:42Z</dc:date>
    </item>
    <item>
      <title>Re: Do we need Universal Forwarder on Splunk server?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Do-we-need-Universal-Forwarder-on-Splunk-server/m-p/573774#M101482</link>
      <description>&lt;P&gt;Isn't this almost the same as my config file?&lt;/P&gt;&lt;P&gt;I know what parameter does what so you don't need to give the example ( and while my original question is for batch stanza, your example is for monitor stanza -- not helpful). My question is what's wrong with my config and it was not answered&lt;/P&gt;&lt;P&gt;anyway, thanks for trying to help.&lt;/P&gt;&lt;P&gt;I manage to fix the issue myself in the end&lt;/P&gt;</description>
      <pubDate>Fri, 05 Nov 2021 09:58:25 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Do-we-need-Universal-Forwarder-on-Splunk-server/m-p/573774#M101482</guid>
      <dc:creator>Cbr1sg</dc:creator>
      <dc:date>2021-11-05T09:58:25Z</dc:date>
    </item>
  </channel>
</rss>

