<?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 Index all and selective forward in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Index-all-and-selective-forward/m-p/544186#M90821</link>
    <description>&lt;P&gt;Hi all. I need some help to index all data coming into one server and only forward 3 sourcetypes to a 2nd server. Receiving and indexing the data is not a problem, but I cannot seem to get the 3 sourcetypes to the 2nd server. Any help would be appreciated.&lt;/P&gt;&lt;P&gt;&amp;nbsp;My props.conf&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;[cisco:asa]
TRANSFORMS-routing=gsoc

[icsp]
TRANSFORMS-routing=gsoc

[syslog]
TRANSFORMS-routing=gsoc&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;transforms.conf&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;[gsoc]
REGEX=.
DEST_KEY=_TCP_ROUTING
FORMAT=gsocPrimary&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;and outputs.conf&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;[tcpout]
defaultGroup=nothing
indexAndForward=true

[tcpout:gsocPrimary]
server=*.*.*.*:9997&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 17 Mar 2021 13:37:00 GMT</pubDate>
    <dc:creator>Adevill</dc:creator>
    <dc:date>2021-03-17T13:37:00Z</dc:date>
    <item>
      <title>Index all and selective forward</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Index-all-and-selective-forward/m-p/544186#M90821</link>
      <description>&lt;P&gt;Hi all. I need some help to index all data coming into one server and only forward 3 sourcetypes to a 2nd server. Receiving and indexing the data is not a problem, but I cannot seem to get the 3 sourcetypes to the 2nd server. Any help would be appreciated.&lt;/P&gt;&lt;P&gt;&amp;nbsp;My props.conf&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;[cisco:asa]
TRANSFORMS-routing=gsoc

[icsp]
TRANSFORMS-routing=gsoc

[syslog]
TRANSFORMS-routing=gsoc&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;transforms.conf&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;[gsoc]
REGEX=.
DEST_KEY=_TCP_ROUTING
FORMAT=gsocPrimary&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;and outputs.conf&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;[tcpout]
defaultGroup=nothing
indexAndForward=true

[tcpout:gsocPrimary]
server=*.*.*.*:9997&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 17 Mar 2021 13:37:00 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Index-all-and-selective-forward/m-p/544186#M90821</guid>
      <dc:creator>Adevill</dc:creator>
      <dc:date>2021-03-17T13:37:00Z</dc:date>
    </item>
    <item>
      <title>Re: Index all and selective forward</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Index-all-and-selective-forward/m-p/544191#M90822</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/232600"&gt;@Adevill&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;Are you trying to forward the data from HF?&lt;/P&gt;&lt;P&gt;The connectivity between source and destination is exist?&lt;/P&gt;&lt;P&gt;Try the below outputs&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;[tcpout]&lt;BR /&gt;defaultGroup=none&lt;BR /&gt;indexAndForward=true&lt;/P&gt;&lt;P&gt;[tcpout:gsocPrimary]&lt;BR /&gt;server=*.*.*.*:9997&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And why are using the 9997 port why can't use a port like 514?&lt;/P&gt;&lt;P&gt;The 9997 port is already is used to get the data from the forwarder to an indexer. Don't use the same port for two different activities.&lt;/P&gt;</description>
      <pubDate>Wed, 17 Mar 2021 14:00:18 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Index-all-and-selective-forward/m-p/544191#M90822</guid>
      <dc:creator>Vardhan</dc:creator>
      <dc:date>2021-03-17T14:00:18Z</dc:date>
    </item>
    <item>
      <title>Re: Index all and selective forward</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Index-all-and-selective-forward/m-p/544197#M90823</link>
      <description>&lt;P&gt;Hey&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/232459"&gt;@Vardhan&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Yes, I'm trying to forward from HF to a test server at the moment, that's why the port 9997 doesn't matter now, but you are correct, I would have chosen a different one for deployment. Connectivity is not a problem as I can forward all data to the 2nd server, but it fails when trying to filter for only the 3 sourcetypes. The solution you suggested also didn't work unfortunately.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 17 Mar 2021 14:09:34 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Index-all-and-selective-forward/m-p/544197#M90823</guid>
      <dc:creator>Adevill</dc:creator>
      <dc:date>2021-03-17T14:09:34Z</dc:date>
    </item>
    <item>
      <title>Re: Index all and selective forward</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Index-all-and-selective-forward/m-p/544203#M90824</link>
      <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/232600"&gt;@Adevill&lt;/a&gt;&amp;nbsp;just give a try by keeping seperate stanza's in transform.conf.&lt;/P&gt;&lt;P&gt;props&lt;BR /&gt;[cisco:asa]&lt;BR /&gt;TRANSFORMS-routing=gsoc1&lt;BR /&gt;[icsp]&lt;BR /&gt;TRANSFORMS-routing=gsoc2&lt;BR /&gt;[syslog]&lt;BR /&gt;TRANSFORMS-routing=gsoc3&lt;/P&gt;&lt;P&gt;[gsoc1]&lt;BR /&gt;REGEX=(.*)&lt;BR /&gt;DEST_KEY=_TCP_ROUTING&lt;BR /&gt;FORMAT=gsocPrimary&lt;BR /&gt;[gsoc2]&lt;BR /&gt;REGEX=(.*)&lt;BR /&gt;DEST_KEY=_TCP_ROUTING&lt;BR /&gt;FORMAT=gsocPrimary&lt;BR /&gt;[gsoc3]&lt;BR /&gt;REGEX=(.*)&lt;BR /&gt;DEST_KEY=_TCP_ROUTING&lt;BR /&gt;FORMAT=gsocPrimary&lt;/P&gt;</description>
      <pubDate>Wed, 17 Mar 2021 14:15:06 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Index-all-and-selective-forward/m-p/544203#M90824</guid>
      <dc:creator>Vardhan</dc:creator>
      <dc:date>2021-03-17T14:15:06Z</dc:date>
    </item>
    <item>
      <title>Re: Index all and selective forward</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Index-all-and-selective-forward/m-p/544205#M90825</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/232459"&gt;@Vardhan&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Unfortunately it's also not working.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 17 Mar 2021 14:22:48 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Index-all-and-selective-forward/m-p/544205#M90825</guid>
      <dc:creator>Adevill</dc:creator>
      <dc:date>2021-03-17T14:22:48Z</dc:date>
    </item>
    <item>
      <title>Re: Index all and selective forward</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Index-all-and-selective-forward/m-p/544208#M90826</link>
      <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/232600"&gt;@Adevill&lt;/a&gt;&amp;nbsp;Can u try with one source type first and check the result&lt;/P&gt;</description>
      <pubDate>Wed, 17 Mar 2021 14:49:32 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Index-all-and-selective-forward/m-p/544208#M90826</guid>
      <dc:creator>Vardhan</dc:creator>
      <dc:date>2021-03-17T14:49:32Z</dc:date>
    </item>
    <item>
      <title>Re: Index all and selective forward</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Index-all-and-selective-forward/m-p/544294#M90831</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/232459"&gt;@Vardhan&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Even if I try just 1 sourcetype it doesn't work.&lt;/P&gt;&lt;P&gt;I've then removed the forwarding, then re-enabled it for all tags, which worked, then changed to a single sourcetype again which failed then again. Any other ideas?&lt;/P&gt;</description>
      <pubDate>Thu, 18 Mar 2021 07:34:22 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Index-all-and-selective-forward/m-p/544294#M90831</guid>
      <dc:creator>Adevill</dc:creator>
      <dc:date>2021-03-18T07:34:22Z</dc:date>
    </item>
  </channel>
</rss>

