<?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: forward indexes to different port of the same server in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/How-to-forward-indexes-to-different-port-of-the-same-server/m-p/656655#M111195</link>
    <description>&lt;P&gt;Hi &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I checked this doc &lt;A href="https://docs.splunk.com/Documentation/Splunk/latest/Forwarding/Forwarddatatothird-partysystemsd?_gl=1*161pvu9*_ga*MTAxNjI5MzU0NC4xNjYyNjM1MTI0*_ga_GS7YF8S63Y*MTY5MzkwNDY1OC40MC4wLjE2OTM5MDQ2NTguMC4wLjA.*_ga_5EPM2P39FV*MTY5MzkwNDY1OC4zNDcuMS4xNjkzOTA0NjYwLjAuMC4w&amp;amp;_ga=2.172375459.1250912549.1693843555-1016293544.1662635124#Send_a_subset_of_data_to_a_syslog_server" target="_blank"&gt;https://docs.splunk.com/Documentation/Splunk/latest/Forwarding/Forwarddatatothird-partysystemsd?_gl=1*161pvu9*_ga*MTAxNjI5MzU0NC4xNjYyNjM1MTI0*_ga_GS7YF8S63Y*MTY5MzkwNDY1OC40MC4wLjE2OTM5MDQ2NTguMC4wLjA.*_ga_5EPM2P39FV*MTY5MzkwNDY1OC4zNDcuMS4xNjkzOTA0NjYwLjAuMC4w&amp;amp;_ga=2.172375459.1250912549.1693843555-1016293544.1662635124#Send_a_subset_of_data_to_a_syslog_server&lt;/A&gt;&lt;/P&gt;&lt;P&gt;and changed from TCP to SYSLOG and it also works:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;outputs.conf&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;[syslog]&lt;/P&gt;&lt;P&gt;forwardedindex.3.blacklist = (.*)&lt;BR /&gt;forwardedindex.4.whitelist = (indexA)&lt;/P&gt;&lt;P&gt;[syslog:syslog_qradar_10_10_10_10_514]&lt;/P&gt;&lt;P&gt;disabled = false&lt;BR /&gt;sendCookedData = false&lt;BR /&gt;server = 10.10.10.10:514&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;props.conf:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;[source::9997]&lt;/P&gt;&lt;P&gt;TRANSFORMS-routing = send_to_qradar_syslog_10_10_10_10_514&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;transforms.conf&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;[send_to_qradar_syslog_10_10_10_10_514]&lt;/P&gt;&lt;P&gt;DEST_KEY = _SYSLOG_ROUTING&lt;BR /&gt;FORMAT = syslog_qradar_10_10_10_10_514&lt;BR /&gt;REGEX = .&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And the question is - how to change this config (what should I add) in order to send logs from indexA to 514 and logs from indexB to port 12468 ?&lt;/P&gt;&lt;P&gt;regards, pawelF&lt;/P&gt;</description>
    <pubDate>Tue, 05 Sep 2023 09:21:35 GMT</pubDate>
    <dc:creator>Adpafer</dc:creator>
    <dc:date>2023-09-05T09:21:35Z</dc:date>
    <item>
      <title>How to forward indexes to different port of the same server?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-forward-indexes-to-different-port-of-the-same-server/m-p/656582#M111184</link>
      <description>&lt;P&gt;Dear Support,&lt;/P&gt;
&lt;P&gt;I have 2 indexes (indexA,&amp;nbsp; indexB) and one receiving server with 2 different ports (10.10.10.10:xx, 10.10.10.10:yy). I need my indexer to forward indexA to 10.10.10.10:xx and indexB to 10.10.10.10:yy. What is best way to achieve it? I did two different apps with outputs, props, transforms and it does not work. I tried one app with LB and it does not work either.&lt;/P&gt;
&lt;P&gt;Example of outputs.conf:&lt;/P&gt;
&lt;P&gt;[tcpout]&lt;/P&gt;
&lt;P&gt;defaultGroup = group1, group2&lt;/P&gt;
&lt;P&gt;[tcpout:group1]&lt;/P&gt;
&lt;P&gt;server = 10.10.10.10:xx&lt;/P&gt;
&lt;P&gt;forwardedindex. = ???&lt;/P&gt;
&lt;P&gt;[tcpout:group2]&lt;/P&gt;
&lt;P&gt;server = 10.10.10.10:yy&lt;/P&gt;
&lt;P&gt;forwardedindex. = ???&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Is it a good way to do it? How should forwardedindexes config look like ? What about props and transforms?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I would appreciate any help.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;thanks pawel&lt;/P&gt;</description>
      <pubDate>Tue, 05 Sep 2023 19:14:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-forward-indexes-to-different-port-of-the-same-server/m-p/656582#M111184</guid>
      <dc:creator>Adpafer</dc:creator>
      <dc:date>2023-09-05T19:14:52Z</dc:date>
    </item>
    <item>
      <title>Re: forward indexes to different port of the same server</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-forward-indexes-to-different-port-of-the-same-server/m-p/656600#M111185</link>
      <description>&lt;P&gt;you can achieve this by modifying the inputs.conf and output.conf. Can you follow the below steps&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;your input config should be&amp;nbsp;&lt;/P&gt;&lt;P&gt;[monitor:///path/to/data1]&lt;BR /&gt;disabled = false&lt;BR /&gt;index = your_index1&lt;BR /&gt;sourcetype = your_sourcetype1&lt;/P&gt;&lt;P&gt;[tcpout]&lt;BR /&gt;defaultGroup = your_index1_group&lt;/P&gt;&lt;P&gt;[tcpout:your_index1_group]&lt;BR /&gt;server = 10.10.10.10:xx&lt;/P&gt;&lt;P&gt;[monitor:///path/to/data2]&lt;BR /&gt;disabled = false&lt;BR /&gt;index = your_index2&lt;BR /&gt;sourcetype = your_sourcetype2&lt;/P&gt;&lt;P&gt;[tcpout:your_index2_group]&lt;BR /&gt;server = 10.10.10.10:yy&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;---------------------&lt;/P&gt;&lt;P&gt;and output.conf is below&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;[tcpout]&lt;BR /&gt;defaultGroup = default-autolb-group&lt;/P&gt;&lt;P&gt;[tcpout-server://localhost:PORT1]&lt;BR /&gt;compressed = false&lt;/P&gt;&lt;P&gt;[tcpout-server://localhost:PORT2]&lt;BR /&gt;compressed = false&lt;/P&gt;</description>
      <pubDate>Tue, 05 Sep 2023 03:03:55 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-forward-indexes-to-different-port-of-the-same-server/m-p/656600#M111185</guid>
      <dc:creator>thahir</dc:creator>
      <dc:date>2023-09-05T03:03:55Z</dc:date>
    </item>
    <item>
      <title>Re: forward indexes to different port of the same server</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-forward-indexes-to-different-port-of-the-same-server/m-p/656613#M111186</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/250536"&gt;@Adpafer&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;let me understand because I don't understand your requirement:&lt;/P&gt;&lt;P&gt;at first if you have one Indexer receiving on port xx and port yy, what do you mean that you need the Indexer forwardrs data on the above ports?&lt;/P&gt;&lt;P&gt;are you speaking of an Indexer or a Forwarder? or are you speaking of forwarding data to a third party?&lt;/P&gt;&lt;P&gt;In other words, could you better describe your requirement, in terms od data flow?&lt;/P&gt;&lt;P&gt;Ciao.&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;</description>
      <pubDate>Tue, 05 Sep 2023 06:32:13 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-forward-indexes-to-different-port-of-the-same-server/m-p/656613#M111186</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2023-09-05T06:32:13Z</dc:date>
    </item>
    <item>
      <title>Re: forward indexes to different port of the same server</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-forward-indexes-to-different-port-of-the-same-server/m-p/656622#M111189</link>
      <description>&lt;P&gt;HI &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;My indexer has to forward some logs to Qradar to 2 different ports:&lt;/P&gt;&lt;P&gt;logs from index A &amp;gt; Qradar port 12468&lt;/P&gt;&lt;P&gt;logs from index B &amp;gt; Qradar port 514&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;regards, pawel&lt;/P&gt;</description>
      <pubDate>Tue, 05 Sep 2023 07:34:51 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-forward-indexes-to-different-port-of-the-same-server/m-p/656622#M111189</guid>
      <dc:creator>Adpafer</dc:creator>
      <dc:date>2023-09-05T07:34:51Z</dc:date>
    </item>
    <item>
      <title>Re: forward indexes to different port of the same server</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-forward-indexes-to-different-port-of-the-same-server/m-p/656626#M111190</link>
      <description>&lt;P&gt;why are you trying to forward from indexing layer and not from forwarding layer directly. setup the outputs in HF or SF to send data to qradar and splunk instead of from indexers. Ideally I would do that.&lt;/P&gt;</description>
      <pubDate>Tue, 05 Sep 2023 07:42:11 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-forward-indexes-to-different-port-of-the-same-server/m-p/656626#M111190</guid>
      <dc:creator>SinghK</dc:creator>
      <dc:date>2023-09-05T07:42:11Z</dc:date>
    </item>
    <item>
      <title>Re: forward indexes to different port of the same server</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-forward-indexes-to-different-port-of-the-same-server/m-p/656628#M111191</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/250536"&gt;@Adpafer&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;I suppose that you're sèeaking of forwarding by syslog.&lt;/P&gt;&lt;P&gt;the configurations you used are for sending logs to other Indexers not to a third party&lt;/P&gt;&lt;P&gt;In this case, you should follow the instructions at&amp;nbsp;&lt;A href="https://docs.splunk.com/Documentation/Splunk/latest/Forwarding/Forwarddatatothird-partysystemsd#Send_a_subset_of_data_to_a_syslog_server" target="_blank"&gt;https://docs.splunk.com/Documentation/Splunk/latest/Forwarding/Forwarddatatothird-partysystemsd#Send_a_subset_of_data_to_a_syslog_server&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Usually this configuration is used on Heavy Forwarders, not on Indexers, have you HFs in your architecture?&lt;/P&gt;&lt;P&gt;if yes, you can configure them as described in the above documentation,&lt;/P&gt;&lt;P&gt;if not, you could use the Syslog Mod Alert App (&lt;A href="https://splunkbase.splunk.com/app/4199" target="_blank"&gt;https://splunkbase.splunk.com/app/4199&lt;/A&gt;), even if isn't certified on Splunk 9.x, but on Search Heads, not on Indexers.&lt;/P&gt;&lt;P&gt;Ciao.&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;</description>
      <pubDate>Tue, 05 Sep 2023 07:46:22 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-forward-indexes-to-different-port-of-the-same-server/m-p/656628#M111191</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2023-09-05T07:46:22Z</dc:date>
    </item>
    <item>
      <title>Re: forward indexes to different port of the same server</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-forward-indexes-to-different-port-of-the-same-server/m-p/656630#M111192</link>
      <description>&lt;P&gt;It is not my decision. The requirement is to send logs from indexer. I did dedicated app on indexer to send logs from one index to qradar port 514 and it works fine:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;outputs.conf:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;[tcpout]&lt;/P&gt;&lt;P&gt;forwardedindex.3.blacklist = (.*)&lt;BR /&gt;forwardedindex.4.whitelist = (indexA)&lt;/P&gt;&lt;P&gt;[tcpout:tcp_qradar_10_10_10_10_514]&lt;/P&gt;&lt;P&gt;disabled = false&lt;BR /&gt;sendCookedData = false&lt;BR /&gt;server = 10.10.10.10:514&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;props.conf:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;[source::9997]&lt;/P&gt;&lt;P&gt;TRANSFORMS-routing = send_to_qradar_tcp_10_10_10_10_514&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;transforms.conf&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;[send_to_qradar_tcp_10_10_10_10_514]&lt;/P&gt;&lt;P&gt;DEST_KEY = _TCP_ROUTING&lt;BR /&gt;FORMAT = tcp_qradar_10_10_10_10_514&lt;BR /&gt;REGEX = .&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And now I have to add another rule for indexB to be forwarded from indexer to the same IP but port 12468.&lt;/P&gt;&lt;P&gt;I do not how&amp;nbsp; to do it &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;regards, pawelF&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 05 Sep 2023 07:52:31 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-forward-indexes-to-different-port-of-the-same-server/m-p/656630#M111192</guid>
      <dc:creator>Adpafer</dc:creator>
      <dc:date>2023-09-05T07:52:31Z</dc:date>
    </item>
    <item>
      <title>Re: forward indexes to different port of the same server</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-forward-indexes-to-different-port-of-the-same-server/m-p/656631#M111193</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/250536"&gt;@Adpafer&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;as I said, tcpout is a configuration to send logs from Splunk to another Splunk Indexer, not using syslogs, to use syslogs, you can use the method described in my above url.&lt;/P&gt;&lt;P&gt;What's your architecture: have you a distributed architecture (Searche Heads and Indexers) or a standalone instance?&lt;/P&gt;&lt;P&gt;As I described, the solution depends on it.&lt;/P&gt;&lt;P&gt;probably you need the activity of a Splunk Architect to design your flow.&lt;/P&gt;&lt;P&gt;Ciao.&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;</description>
      <pubDate>Tue, 05 Sep 2023 08:01:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-forward-indexes-to-different-port-of-the-same-server/m-p/656631#M111193</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2023-09-05T08:01:19Z</dc:date>
    </item>
    <item>
      <title>Re: forward indexes to different port of the same server</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-forward-indexes-to-different-port-of-the-same-server/m-p/656655#M111195</link>
      <description>&lt;P&gt;Hi &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I checked this doc &lt;A href="https://docs.splunk.com/Documentation/Splunk/latest/Forwarding/Forwarddatatothird-partysystemsd?_gl=1*161pvu9*_ga*MTAxNjI5MzU0NC4xNjYyNjM1MTI0*_ga_GS7YF8S63Y*MTY5MzkwNDY1OC40MC4wLjE2OTM5MDQ2NTguMC4wLjA.*_ga_5EPM2P39FV*MTY5MzkwNDY1OC4zNDcuMS4xNjkzOTA0NjYwLjAuMC4w&amp;amp;_ga=2.172375459.1250912549.1693843555-1016293544.1662635124#Send_a_subset_of_data_to_a_syslog_server" target="_blank"&gt;https://docs.splunk.com/Documentation/Splunk/latest/Forwarding/Forwarddatatothird-partysystemsd?_gl=1*161pvu9*_ga*MTAxNjI5MzU0NC4xNjYyNjM1MTI0*_ga_GS7YF8S63Y*MTY5MzkwNDY1OC40MC4wLjE2OTM5MDQ2NTguMC4wLjA.*_ga_5EPM2P39FV*MTY5MzkwNDY1OC4zNDcuMS4xNjkzOTA0NjYwLjAuMC4w&amp;amp;_ga=2.172375459.1250912549.1693843555-1016293544.1662635124#Send_a_subset_of_data_to_a_syslog_server&lt;/A&gt;&lt;/P&gt;&lt;P&gt;and changed from TCP to SYSLOG and it also works:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;outputs.conf&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;[syslog]&lt;/P&gt;&lt;P&gt;forwardedindex.3.blacklist = (.*)&lt;BR /&gt;forwardedindex.4.whitelist = (indexA)&lt;/P&gt;&lt;P&gt;[syslog:syslog_qradar_10_10_10_10_514]&lt;/P&gt;&lt;P&gt;disabled = false&lt;BR /&gt;sendCookedData = false&lt;BR /&gt;server = 10.10.10.10:514&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;props.conf:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;[source::9997]&lt;/P&gt;&lt;P&gt;TRANSFORMS-routing = send_to_qradar_syslog_10_10_10_10_514&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;transforms.conf&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;[send_to_qradar_syslog_10_10_10_10_514]&lt;/P&gt;&lt;P&gt;DEST_KEY = _SYSLOG_ROUTING&lt;BR /&gt;FORMAT = syslog_qradar_10_10_10_10_514&lt;BR /&gt;REGEX = .&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And the question is - how to change this config (what should I add) in order to send logs from indexA to 514 and logs from indexB to port 12468 ?&lt;/P&gt;&lt;P&gt;regards, pawelF&lt;/P&gt;</description>
      <pubDate>Tue, 05 Sep 2023 09:21:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-forward-indexes-to-different-port-of-the-same-server/m-p/656655#M111195</guid>
      <dc:creator>Adpafer</dc:creator>
      <dc:date>2023-09-05T09:21:35Z</dc:date>
    </item>
    <item>
      <title>Re: forward indexes to different port of the same server</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-forward-indexes-to-different-port-of-the-same-server/m-p/656675#M111199</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/250536"&gt;@Adpafer&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;if you can find a regex to identify one or both the data flows you can create two stanzas in all the configuration files.&lt;/P&gt;&lt;P&gt;If you cannot, you could use the App I hinted before because it uses a search.&lt;/P&gt;&lt;P&gt;Ciao.&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;</description>
      <pubDate>Tue, 05 Sep 2023 13:35:07 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-forward-indexes-to-different-port-of-the-same-server/m-p/656675#M111199</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2023-09-05T13:35:07Z</dc:date>
    </item>
  </channel>
</rss>

