<?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: Windows: Sending Splunk logs to third party server in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Windows-Sending-Splunk-logs-to-third-party-server/m-p/408659#M72435</link>
    <description>&lt;P&gt;Please try following&lt;/P&gt;

&lt;P&gt;ALL below settings have to be done on the Heavy Forwarder&lt;/P&gt;

&lt;P&gt;In props.conf&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;#props.conf
[host::10.20.10.10]
TRANSFORMS-routing_syslog = fwd_data_to_syslog
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;in transforms.conf&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;#transforms.conf
[fwd_data_to_syslog]
REGEX = .
DEST_KEY = _SYSLOG_ROUTING
FORMAT = to_syslog
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;In outputs.conf  (alongside your indexer outputs, you need to add syslog stanza separately)&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;# outputs.conf
[syslog:to_syslog]
server = 10.172.148.186:1514
#type = udp
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;If this is not working, &lt;BR /&gt;
1. you need to get &lt;CODE&gt;tcpdump&lt;/CODE&gt; of HeavyForwarder to see if there is some network connection issue. You need to see destination traffic going to 10.172.148.186 on port 1514 &lt;BR /&gt;
2. Check for firewall issues&lt;BR /&gt;
3. Check &lt;CODE&gt;tcpdump&lt;/CODE&gt; at the destination server level to ensure the message is captured at wire &lt;BR /&gt;
4. Try setting up this connection to another server which you own with no firewall etc.&lt;BR /&gt;
5. Try removing the indexer setting just to see if there is any conflict of stanza. You can double check using &lt;CODE&gt;btool&lt;/CODE&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 07 Jun 2019 10:03:35 GMT</pubDate>
    <dc:creator>koshyk</dc:creator>
    <dc:date>2019-06-07T10:03:35Z</dc:date>
    <item>
      <title>Windows: Sending Splunk logs to third party server</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Windows-Sending-Splunk-logs-to-third-party-server/m-p/408652#M72428</link>
      <description>&lt;P&gt;I need to send Windows Event logs to the third party syslog solutions. Logs from Windows Universal Forwarder is sent to HFWD and from there it is routed both Splunk IDX and Syslog Aggregator. For some reasons its not hitting the syslog server. I have checked btool for input, output, props and transforms and couldn't find anything there.&lt;/P&gt;

&lt;P&gt;Config on the HFWD to accept logs from the Windows server and to send it to syslog&lt;/P&gt;

&lt;P&gt;=========================================================================&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;props.conf

[host::10.20.10.10]
TRANSFORMS-routing_syslog = fwd_data_to_syslog

transforms.conf

[fwd_data_to_syslog]
REGEX = .
DEST_KEY = _SYSLOG_ROUTING
FORMAT = to_syslog

outputs.conf
#Sent to Indexer

[syslog:to_syslog]
server = 10.172.148.186:1514
#type = udp

inputs.conf
[splunktcp://10.20.10.10:9997]
#machine not part of the domain so need to use the IP address
#_SYSLOG_ROUTING = to_syslog

=========================================================================
Config on Windows UF

[tcpout]
defaultGroup = send_to_syslog
maxQueueSize = 7MB
autoLBFrequency=15


[tcpout:send_to_syslog]
server = 10.175.108.40:9997
#sendCookedData = false
=========================================================================
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;One of the base app to send logs from Heavy FWD to INDX&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[tcpout]
default_group = indexer_fwd
axQueueSize = 7MB
autoLBFrequency=15

[tcpout:indexer_fwd]
server = IDX1.abcd.com:9997, IDX2.abcd.com:9997, IDX3.abcd.com:9997
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 05 Jun 2019 15:27:59 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Windows-Sending-Splunk-logs-to-third-party-server/m-p/408652#M72428</guid>
      <dc:creator>spectrum2035</dc:creator>
      <dc:date>2019-06-05T15:27:59Z</dc:date>
    </item>
    <item>
      <title>Re: Windows: Sending Splunk logs to third party server</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Windows-Sending-Splunk-logs-to-third-party-server/m-p/408653#M72429</link>
      <description>&lt;P&gt;Forgot to add, i have also added to_syslog to the tcpout default_group&lt;/P&gt;

&lt;P&gt;[tcpout]&lt;BR /&gt;
default_group = indexer_fwd, to_syslog as some else mentioned that it has resolved their issue. But for me No Luck &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 30 Sep 2020 00:49:23 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Windows-Sending-Splunk-logs-to-third-party-server/m-p/408653#M72429</guid>
      <dc:creator>spectrum2035</dc:creator>
      <dc:date>2020-09-30T00:49:23Z</dc:date>
    </item>
    <item>
      <title>Re: Windows: Sending Splunk logs to third party server</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Windows-Sending-Splunk-logs-to-third-party-server/m-p/408654#M72430</link>
      <description>&lt;P&gt;You have a typo in your tcpout stanza in your app (based on the values you provided):&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt; [tcpout]
 default_group = indexer_fwd
 axQueueSize = 7MB
 autoLBFrequency=15
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Should be:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt; [tcpout]
 default_group = indexer_fwd
 maxQueueSize = 7MB
 autoLBFrequency=15
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;That is likely causing errors/issues. Also, make sure that you have an index created to receive your data. This should match your DEST_KEY.&lt;/P&gt;</description>
      <pubDate>Wed, 05 Jun 2019 18:43:04 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Windows-Sending-Splunk-logs-to-third-party-server/m-p/408654#M72430</guid>
      <dc:creator>codebuilder</dc:creator>
      <dc:date>2019-06-05T18:43:04Z</dc:date>
    </item>
    <item>
      <title>Re: Windows: Sending Splunk logs to third party server</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Windows-Sending-Splunk-logs-to-third-party-server/m-p/408655#M72431</link>
      <description>&lt;P&gt;Thanks codebuilder for your response. I did check "maxQueueSize" settings, it was the typo while i put here. Logs are receiving at the indexer without any issues. &lt;/P&gt;

&lt;P&gt;We have issues only at the syslog aggregator (10.172.148.186 at port 1514)&lt;/P&gt;</description>
      <pubDate>Wed, 05 Jun 2019 19:17:08 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Windows-Sending-Splunk-logs-to-third-party-server/m-p/408655#M72431</guid>
      <dc:creator>spectrum2035</dc:creator>
      <dc:date>2019-06-05T19:17:08Z</dc:date>
    </item>
    <item>
      <title>Re: Windows: Sending Splunk logs to third party server</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Windows-Sending-Splunk-logs-to-third-party-server/m-p/408656#M72432</link>
      <description>&lt;P&gt;Do you have the pass4SymmKey set correctly on your HF?&lt;/P&gt;</description>
      <pubDate>Wed, 05 Jun 2019 20:05:02 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Windows-Sending-Splunk-logs-to-third-party-server/m-p/408656#M72432</guid>
      <dc:creator>codebuilder</dc:creator>
      <dc:date>2019-06-05T20:05:02Z</dc:date>
    </item>
    <item>
      <title>Re: Windows: Sending Splunk logs to third party server</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Windows-Sending-Splunk-logs-to-third-party-server/m-p/408657#M72433</link>
      <description>&lt;P&gt;To add, we are not using SSL as we are  currently testing phase. HF are working for other data sources and is able to send data to the Indexers. So pass4SymmKey wont be an issue here.&lt;BR /&gt;
The issue is with the HF to syslog.&lt;/P&gt;</description>
      <pubDate>Wed, 05 Jun 2019 20:26:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Windows-Sending-Splunk-logs-to-third-party-server/m-p/408657#M72433</guid>
      <dc:creator>spectrum2035</dc:creator>
      <dc:date>2019-06-05T20:26:19Z</dc:date>
    </item>
    <item>
      <title>Re: Windows: Sending Splunk logs to third party server</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Windows-Sending-Splunk-logs-to-third-party-server/m-p/408658#M72434</link>
      <description>&lt;P&gt;Just to give one more update: When i have checked the internal index with port 1514 i am getting following output..&lt;/P&gt;

&lt;P&gt;06-06-2019 16:46:36.584 +0100 INFO  Metrics - group=syslog_connections, ingest_pipe=1, to_syslog:10.172.148.186:1514:10.172.148.186:1514, sourcePort=8089, destIp=10.172.148.186, destPort=1514, _tcp_Bps=2744.97, _tcp_KBps=2.68, _tcp_avg_thruput=2.74, _tcp_Kprocessed=46355, _tcp_eps=12.68&lt;/P&gt;</description>
      <pubDate>Wed, 30 Sep 2020 00:49:41 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Windows-Sending-Splunk-logs-to-third-party-server/m-p/408658#M72434</guid>
      <dc:creator>spectrum2035</dc:creator>
      <dc:date>2020-09-30T00:49:41Z</dc:date>
    </item>
    <item>
      <title>Re: Windows: Sending Splunk logs to third party server</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Windows-Sending-Splunk-logs-to-third-party-server/m-p/408659#M72435</link>
      <description>&lt;P&gt;Please try following&lt;/P&gt;

&lt;P&gt;ALL below settings have to be done on the Heavy Forwarder&lt;/P&gt;

&lt;P&gt;In props.conf&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;#props.conf
[host::10.20.10.10]
TRANSFORMS-routing_syslog = fwd_data_to_syslog
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;in transforms.conf&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;#transforms.conf
[fwd_data_to_syslog]
REGEX = .
DEST_KEY = _SYSLOG_ROUTING
FORMAT = to_syslog
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;In outputs.conf  (alongside your indexer outputs, you need to add syslog stanza separately)&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;# outputs.conf
[syslog:to_syslog]
server = 10.172.148.186:1514
#type = udp
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;If this is not working, &lt;BR /&gt;
1. you need to get &lt;CODE&gt;tcpdump&lt;/CODE&gt; of HeavyForwarder to see if there is some network connection issue. You need to see destination traffic going to 10.172.148.186 on port 1514 &lt;BR /&gt;
2. Check for firewall issues&lt;BR /&gt;
3. Check &lt;CODE&gt;tcpdump&lt;/CODE&gt; at the destination server level to ensure the message is captured at wire &lt;BR /&gt;
4. Try setting up this connection to another server which you own with no firewall etc.&lt;BR /&gt;
5. Try removing the indexer setting just to see if there is any conflict of stanza. You can double check using &lt;CODE&gt;btool&lt;/CODE&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 07 Jun 2019 10:03:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Windows-Sending-Splunk-logs-to-third-party-server/m-p/408659#M72435</guid>
      <dc:creator>koshyk</dc:creator>
      <dc:date>2019-06-07T10:03:35Z</dc:date>
    </item>
    <item>
      <title>Re: Windows: Sending Splunk logs to third party server</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Windows-Sending-Splunk-logs-to-third-party-server/m-p/408660#M72436</link>
      <description>&lt;P&gt;Hi @codebuilder  ,&lt;/P&gt;

&lt;P&gt;Did you have a chance to check out answers? If it worked, please resolve this post by approving it! If your problem is still not solved, keep us updated so that someone else can help you. &lt;/P&gt;

&lt;P&gt;Thanks for posting!&lt;/P&gt;</description>
      <pubDate>Mon, 17 Jun 2019 22:31:06 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Windows-Sending-Splunk-logs-to-third-party-server/m-p/408660#M72436</guid>
      <dc:creator>evania</dc:creator>
      <dc:date>2019-06-17T22:31:06Z</dc:date>
    </item>
    <item>
      <title>Re: Windows: Sending Splunk logs to third party server</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Windows-Sending-Splunk-logs-to-third-party-server/m-p/408661#M72437</link>
      <description>&lt;P&gt;It didnt work.. as commented by koshyk we are still waiting for tcpdump data from the linux team. &lt;/P&gt;</description>
      <pubDate>Tue, 18 Jun 2019 12:58:49 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Windows-Sending-Splunk-logs-to-third-party-server/m-p/408661#M72437</guid>
      <dc:creator>spectrum2035</dc:creator>
      <dc:date>2019-06-18T12:58:49Z</dc:date>
    </item>
    <item>
      <title>Re: Windows: Sending Splunk logs to third party server</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Windows-Sending-Splunk-logs-to-third-party-server/m-p/408662#M72438</link>
      <description>&lt;P&gt;The issue was with the firewall, Network team didnt open the firewall rule (though they said its been done). &lt;/P&gt;</description>
      <pubDate>Wed, 03 Jul 2019 09:08:25 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Windows-Sending-Splunk-logs-to-third-party-server/m-p/408662#M72438</guid>
      <dc:creator>spectrum2035</dc:creator>
      <dc:date>2019-07-03T09:08:25Z</dc:date>
    </item>
  </channel>
</rss>

