<?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 Missing Source IP address when logs are forwarded to third-party from our Splunk Heavy Forwarders. How to fix this? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Missing-Source-IP-address-when-logs-are-forwarded-to-third-party/m-p/244813#M47356</link>
    <description>&lt;P&gt;Hi, &lt;/P&gt;

&lt;P&gt;We are forwarding some of our logs from Splunk to a third party IBM Qradar environment. The third party is not able to see the actual source IP address of the logs - they only see our heavy forwarder IPs as the source. Is there something we can do on the configs on Splunk to actually include this info as well?&lt;/P&gt;

&lt;P&gt;Here are my configs &lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;props.conf&lt;/STRONG&gt;&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[pan*]
TRANSFORMS-routing=syslogRouting
#
[Win*]
TRANSFORMS-routing=syslogRouting2
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;&lt;STRONG&gt;transforms.conf&lt;/STRONG&gt;&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[syslogRouting]
REGEX=.
DEST_KEY=_SYSLOG_ROUTING
FORMAT=syslogGroup

[syslogRouting2]
REGEX=.
DEST_KEY=_SYSLOG_ROUTING
FORMAT=syslogGroup2
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;&lt;STRONG&gt;outputs.conf&lt;/STRONG&gt;&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[syslog:syslogGroup]
server = 1.2.3.4:514
sendCookedData = false

[syslog:syslogGroup2]
server = 5.6.7.8:514
sendCookedData = false
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Thanks in advance !&lt;/P&gt;</description>
    <pubDate>Wed, 12 Oct 2016 20:45:54 GMT</pubDate>
    <dc:creator>dmenon84</dc:creator>
    <dc:date>2016-10-12T20:45:54Z</dc:date>
    <item>
      <title>Missing Source IP address when logs are forwarded to third-party from our Splunk Heavy Forwarders. How to fix this?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Missing-Source-IP-address-when-logs-are-forwarded-to-third-party/m-p/244813#M47356</link>
      <description>&lt;P&gt;Hi, &lt;/P&gt;

&lt;P&gt;We are forwarding some of our logs from Splunk to a third party IBM Qradar environment. The third party is not able to see the actual source IP address of the logs - they only see our heavy forwarder IPs as the source. Is there something we can do on the configs on Splunk to actually include this info as well?&lt;/P&gt;

&lt;P&gt;Here are my configs &lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;props.conf&lt;/STRONG&gt;&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[pan*]
TRANSFORMS-routing=syslogRouting
#
[Win*]
TRANSFORMS-routing=syslogRouting2
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;&lt;STRONG&gt;transforms.conf&lt;/STRONG&gt;&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[syslogRouting]
REGEX=.
DEST_KEY=_SYSLOG_ROUTING
FORMAT=syslogGroup

[syslogRouting2]
REGEX=.
DEST_KEY=_SYSLOG_ROUTING
FORMAT=syslogGroup2
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;&lt;STRONG&gt;outputs.conf&lt;/STRONG&gt;&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[syslog:syslogGroup]
server = 1.2.3.4:514
sendCookedData = false

[syslog:syslogGroup2]
server = 5.6.7.8:514
sendCookedData = false
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Thanks in advance !&lt;/P&gt;</description>
      <pubDate>Wed, 12 Oct 2016 20:45:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Missing-Source-IP-address-when-logs-are-forwarded-to-third-party/m-p/244813#M47356</guid>
      <dc:creator>dmenon84</dc:creator>
      <dc:date>2016-10-12T20:45:54Z</dc:date>
    </item>
    <item>
      <title>Re: Missing Source IP address when logs are forwarded to third-party from our Splunk Heavy Forwarders. How to fix this?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Missing-Source-IP-address-when-logs-are-forwarded-to-third-party/m-p/244814#M47357</link>
      <description>&lt;P&gt;Hi, dmenon84, &lt;/P&gt;

&lt;P&gt;You can set rewrite the metadata per-event based on the actual host info in your log file on your heavy forwarder. &lt;BR /&gt;
Suppose you have the following raw data: &lt;BR /&gt;
[22/Apr/2014:00:46:27] sales accepted server:A01R2 SID=107570&lt;BR /&gt;
[22/Apr/2014:00:48:40] sales rejected server:B13R1 SID=102498&lt;BR /&gt;
[22/Apr/2014:00:50:02] sales accepted server:A05R1 SID=173560&lt;/P&gt;

&lt;P&gt;You can add the following stanzas: &lt;BR /&gt;
&lt;STRONG&gt;props.conf&lt;/STRONG&gt;&lt;BR /&gt;
[sales_entries]&lt;BR /&gt;
TRANSFORMS-register = sales_host&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;transforms.conf&lt;/STRONG&gt;&lt;BR /&gt;
[sales_host]&lt;BR /&gt;
SOURCE_KEY = _raw&lt;BR /&gt;
REGEX = server:(\w+)&lt;BR /&gt;
DEST_KEY = MetaData:Host&lt;BR /&gt;
FORMAT = host::$1&lt;/P&gt;

&lt;P&gt;Splunk will then check each event in the _raw source. If an event contains “server:”, capture the wordand rewrite the value of the MetaData:Host key&lt;BR /&gt;
with the captured group. &lt;/P&gt;

&lt;P&gt;You can also rewrite other metadata. When MetaData: key is used, its FORMAT value&lt;BR /&gt;
must be prefixed by:&lt;BR /&gt;
host::&lt;BR /&gt;
source::&lt;BR /&gt;
sourcetype::&lt;/P&gt;

&lt;P&gt;Hope this helps. Thanks! &lt;BR /&gt;
Hunter&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 11:22:18 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Missing-Source-IP-address-when-logs-are-forwarded-to-third-party/m-p/244814#M47357</guid>
      <dc:creator>hunters_splunk</dc:creator>
      <dc:date>2020-09-29T11:22:18Z</dc:date>
    </item>
  </channel>
</rss>

