<?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: How can I configure Heavy Forwarder to sent to two different Splunk instances? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/How-can-I-configure-Heavy-Forwarder-to-sent-to-two-different/m-p/295544#M56111</link>
    <description>&lt;P&gt;What about the outputs.conf? Do you've a tcpout group defined for azure with correct host :port information?&lt;/P&gt;</description>
    <pubDate>Fri, 16 Feb 2018 16:00:42 GMT</pubDate>
    <dc:creator>somesoni2</dc:creator>
    <dc:date>2018-02-16T16:00:42Z</dc:date>
    <item>
      <title>How can I configure Heavy Forwarder to sent to two different Splunk instances?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-can-I-configure-Heavy-Forwarder-to-sent-to-two-different/m-p/295536#M56103</link>
      <description>&lt;P&gt;I have the following Splunk architecture &lt;span class="lia-inline-image-display-wrapper" image-alt="alt text"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/4413iB8B31A15579F858B/image-size/large?v=v2&amp;amp;px=999" role="button" title="alt text" alt="alt text" /&gt;&lt;/span&gt;&lt;/P&gt;

&lt;P&gt;Server A has Splunk installed. It also has Sysmon installed, which I am forwarding to our on-prem Splunk instance. I'd like to configure Server A to function as a heavy forwarder so I can forward Windows Security Event logs from a Domain controller and then route them (not index on Server A) to our Splunk instance on Azure. &lt;/P&gt;

&lt;P&gt;I've been reviewing docs and other questions/answers to try and configure my inputs and outputs.conf file correctly and here is what I have:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;outputs.conf

[tcpout]
defaultGroup = default-autolb-group
indexAndForward = 0

[tcpout:default-autolb-group]
server = splunk-onprem:9997

[tcpout-server://splunk-onprem:9997]

[tcpout:azure]
server = x.x.x.x:9997
indexAndForward = 0
clientCert = opt/splunk/etc/auth/server.pem.
sslPassword = xxxxxxxxxx
sslVerifyServerCert = false

inputs.conf

[default]
host = servername

[WinEventLog://Microsoft-Windows-Sysmon/Operational]
disabled = false
renderXml = 1
index=sysmon

[WinEventLog://Security] 
 _TCP_ROUTING = azure
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;I believe the outputs.conf file is good, but not sure about the inputs.conf file. &lt;/P&gt;

&lt;P&gt;Any help would be greatly appreciated&lt;BR /&gt;
Thx&lt;/P&gt;</description>
      <pubDate>Thu, 15 Feb 2018 13:55:11 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-can-I-configure-Heavy-Forwarder-to-sent-to-two-different/m-p/295536#M56103</guid>
      <dc:creator>jwalzerpitt</dc:creator>
      <dc:date>2018-02-15T13:55:11Z</dc:date>
    </item>
    <item>
      <title>Re: How can I configure Heavy Forwarder to sent to two different Splunk instances?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-can-I-configure-Heavy-Forwarder-to-sent-to-two-different/m-p/295537#M56104</link>
      <description>&lt;P&gt;_TCP_ROUTING should be all you need. have you tried it out, yet?&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 18:07:38 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-can-I-configure-Heavy-Forwarder-to-sent-to-two-different/m-p/295537#M56104</guid>
      <dc:creator>iandrews_splunk</dc:creator>
      <dc:date>2020-09-29T18:07:38Z</dc:date>
    </item>
    <item>
      <title>Re: How can I configure Heavy Forwarder to sent to two different Splunk instances?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-can-I-configure-Heavy-Forwarder-to-sent-to-two-different/m-p/295538#M56105</link>
      <description>&lt;P&gt;I am going to test later today - I will update this thread after I test&lt;/P&gt;

&lt;P&gt;Thx&lt;/P&gt;</description>
      <pubDate>Thu, 15 Feb 2018 14:10:53 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-can-I-configure-Heavy-Forwarder-to-sent-to-two-different/m-p/295538#M56105</guid>
      <dc:creator>jwalzerpitt</dc:creator>
      <dc:date>2018-02-15T14:10:53Z</dc:date>
    </item>
    <item>
      <title>Re: How can I configure Heavy Forwarder to sent to two different Splunk instances?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-can-I-configure-Heavy-Forwarder-to-sent-to-two-different/m-p/295539#M56106</link>
      <description>&lt;P&gt;Modified the domain controller to send Windows security event logs to server A (HF). In Wireshark I see traffic coming into port 9997 from the domain controller and on the Azure Splunk server I see traffic from server A via tcpdump on port 9997, but the winevt index is not being populated. The inputs.conf file on Azure Splunk is as follows:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[WinEventLog://Security]
disabled = 0
start_from = oldest
current_only = 0
evt_resolve_ad_obj = 1
checkpointInterval = 5
blacklist1 = EventCode="4662" Message="Object Type:(?!\s*groupPolicyContainer)"
blacklist2 = EventCode="566" Message="Object Type:(?!\s*groupPolicyContainer)"
index = wineventlog
renderXml=false
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;With that, where can I troubleshoot to see if the logs are being sent on by server A, or if there is an error/failure on server A?&lt;/P&gt;

&lt;P&gt;Thx&lt;/P&gt;</description>
      <pubDate>Thu, 15 Feb 2018 19:58:14 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-can-I-configure-Heavy-Forwarder-to-sent-to-two-different/m-p/295539#M56106</guid>
      <dc:creator>jwalzerpitt</dc:creator>
      <dc:date>2018-02-15T19:58:14Z</dc:date>
    </item>
    <item>
      <title>Re: How can I configure Heavy Forwarder to sent to two different Splunk instances?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-can-I-configure-Heavy-Forwarder-to-sent-to-two-different/m-p/295540#M56107</link>
      <description>&lt;P&gt;Does the new indexer destination have the same index defined in indexes.conf? Also, are there any errors in splunkd.log?&lt;/P&gt;</description>
      <pubDate>Thu, 15 Feb 2018 20:04:24 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-can-I-configure-Heavy-Forwarder-to-sent-to-two-different/m-p/295540#M56107</guid>
      <dc:creator>iandrews_splunk</dc:creator>
      <dc:date>2018-02-15T20:04:24Z</dc:date>
    </item>
    <item>
      <title>Re: How can I configure Heavy Forwarder to sent to two different Splunk instances?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-can-I-configure-Heavy-Forwarder-to-sent-to-two-different/m-p/295541#M56108</link>
      <description>&lt;P&gt;I am seeing the following errors in the splunkd.log on server A:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;02-15-2018 15:20:50.704 -0500 ERROR TcpInputProc - Error encountered for connection from src=x.x.x.x:58553. Read Timeout Timed out after 600 seconds.
02-15-2018 15:20:50.704 -0500 ERROR TcpInputProc - Error encountered for connection from src=x.x.x.x:63109. Read Timeout Timed out after 600 seconds.
02-15-2018 15:20:51.972 -0500 ERROR TcpInputProc - Error encountered for connection from src=x.x.x.x:61772. Read Timeout Timed out after 600 seconds.
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;I have the Microsoft Add-on installed on the Azure Splunk instance and the indexes.conf reads:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[windows]
homePath = $SPLUNK_DB/windows/db
coldPath = $SPLUNK_DB/windows/colddb
thawedPath = $SPLUNK_DB/windows/thaweddb

[wineventlog]
homePath = $SPLUNK_DB/wineventlog/db
coldPath = $SPLUNK_DB/wineventlog/colddb
thawedPath = $SPLUNK_DB/wineventlog/thaweddb

[perfmon]
homePath = $SPLUNK_DB/perfmon/db
coldPath = $SPLUNK_DB/perfmon/colddb
thawedPath = $SPLUNK_DB/perfmon/thaweddb
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Thx&lt;/P&gt;</description>
      <pubDate>Thu, 15 Feb 2018 20:28:56 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-can-I-configure-Heavy-Forwarder-to-sent-to-two-different/m-p/295541#M56108</guid>
      <dc:creator>jwalzerpitt</dc:creator>
      <dc:date>2018-02-15T20:28:56Z</dc:date>
    </item>
    <item>
      <title>Re: How can I configure Heavy Forwarder to sent to two different Splunk instances?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-can-I-configure-Heavy-Forwarder-to-sent-to-two-different/m-p/295542#M56109</link>
      <description>&lt;P&gt;See this &lt;/P&gt;

&lt;P&gt;&lt;A href="http://docs.splunk.com/Documentation/Splunk/7.0.2/Forwarding/Routeandfilterdatad#Filter_and_route_event_data_to_target_groups"&gt;http://docs.splunk.com/Documentation/Splunk/7.0.2/Forwarding/Routeandfilterdatad#Filter_and_route_event_data_to_target_groups&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 15 Feb 2018 22:02:09 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-can-I-configure-Heavy-Forwarder-to-sent-to-two-different/m-p/295542#M56109</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2018-02-15T22:02:09Z</dc:date>
    </item>
    <item>
      <title>Re: How can I configure Heavy Forwarder to sent to two different Splunk instances?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-can-I-configure-Heavy-Forwarder-to-sent-to-two-different/m-p/295543#M56110</link>
      <description>&lt;P&gt;Thx for the link.&lt;/P&gt;

&lt;P&gt;I created a props.conf file as follows:&lt;BR /&gt;
    [azure]&lt;BR /&gt;
    TRANSFORMS-routing=azure&lt;/P&gt;

&lt;P&gt;I created a transforms.conf file as follows:&lt;BR /&gt;
    [azure]&lt;BR /&gt;
    REGEX=WinEventLog:Security&lt;BR /&gt;
    DEST_KEY=_TCP_ROUTING&lt;BR /&gt;
    FORMAT=azure&lt;/P&gt;

&lt;P&gt;Restarted the splunkd service, and checked the splunkd.log and see the same messages:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;02-16-2018 09:01:17.183 -0500 ERROR TcpInputProc - Error encountered for connection from src=x.x.x.x:65235. Read Timeout Timed out after 600 seconds.
02-16-2018 09:01:17.183 -0500 ERROR TcpInputProc - Error encountered for connection from src=x.x.x.x:56929. Read Timeout Timed out after 600 seconds.
02-16-2018 09:01:17.183 -0500 ERROR TcpInputProc - Error encountered for connection from src=x.x.x.x:59042. Read Timeout Timed out after 600 seconds.
02-16-2018 09:11:18.196 -0500 ERROR TcpInputProc - Error encountered for connection from src=x.x.x.x:49407. Read Timeout Timed out after 600 seconds.
02-16-2018 09:11:18.196 -0500 ERROR TcpInputProc - Error encountered for connection from src=x.x.x.x:57472. Read Timeout Timed out after 600 seconds.
02-16-2018 09:11:18.196 -0500 ERROR TcpInputProc - Error encountered for connection from src=x.x.x.x:59586. Read Timeout Timed out after 600 seconds.
02-16-2018 09:21:19.214 -0500 ERROR TcpInputProc - Error encountered for connection from src=x.x.x.x:49969. Read Timeout Timed out after 600 seconds.
02-16-2018 09:21:19.214 -0500 ERROR TcpInputProc - Error encountered for connection from src=x.x.x.x:58009. Read Timeout Timed out after 600 seconds.
02-16-2018 09:21:19.214 -0500 ERROR TcpInputProc - Error encountered for connection from src=x.x.x.x:60157. Read Timeout Timed out after 600 seconds.
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 29 Sep 2020 18:04:39 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-can-I-configure-Heavy-Forwarder-to-sent-to-two-different/m-p/295543#M56110</guid>
      <dc:creator>jwalzerpitt</dc:creator>
      <dc:date>2020-09-29T18:04:39Z</dc:date>
    </item>
    <item>
      <title>Re: How can I configure Heavy Forwarder to sent to two different Splunk instances?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-can-I-configure-Heavy-Forwarder-to-sent-to-two-different/m-p/295544#M56111</link>
      <description>&lt;P&gt;What about the outputs.conf? Do you've a tcpout group defined for azure with correct host :port information?&lt;/P&gt;</description>
      <pubDate>Fri, 16 Feb 2018 16:00:42 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-can-I-configure-Heavy-Forwarder-to-sent-to-two-different/m-p/295544#M56111</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2018-02-16T16:00:42Z</dc:date>
    </item>
    <item>
      <title>Re: How can I configure Heavy Forwarder to sent to two different Splunk instances?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-can-I-configure-Heavy-Forwarder-to-sent-to-two-different/m-p/295545#M56112</link>
      <description>&lt;P&gt;outputs.conf defined as follows:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[tcpout:azure]
server = x.x.x.x:9997
indexAndForward = 0
clientCert = opt/splunk/etc/auth/server.pem.
sslPassword = xxxxx
sslVerifyServerCert = false
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 16 Feb 2018 17:43:57 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-can-I-configure-Heavy-Forwarder-to-sent-to-two-different/m-p/295545#M56112</guid>
      <dc:creator>jwalzerpitt</dc:creator>
      <dc:date>2018-02-16T17:43:57Z</dc:date>
    </item>
  </channel>
</rss>

