<?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 How to add prefix string to events before forwarding to external server? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/How-to-add-prefix-string-to-events-before-forwarding-to-external/m-p/631885#M108289</link>
    <description>&lt;P&gt;Hi everybody,&lt;/P&gt;
&lt;P&gt;I would like to duplicate data coming from my sourcetype&amp;nbsp;in such a way:&lt;/P&gt;
&lt;P&gt;- send the original data to Splunk for indexing.&lt;/P&gt;
&lt;P&gt;- send the duplicated events to an external server with "&amp;lt;DNS&amp;gt;" prefix string.&lt;/P&gt;
&lt;P&gt;How should I modify the transform.conf file in order to do that?&lt;/P&gt;
&lt;P&gt;Another question: is there a better way to forwards logs to external server while keeping the original source&amp;nbsp; host (source IP) instead of adding prefixes like what I'm trying to do.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks in advance,&lt;/P&gt;
&lt;P&gt;Angelo&lt;/P&gt;</description>
    <pubDate>Wed, 22 Feb 2023 17:26:07 GMT</pubDate>
    <dc:creator>Zanusha443</dc:creator>
    <dc:date>2023-02-22T17:26:07Z</dc:date>
    <item>
      <title>How to add prefix string to events before forwarding to external server?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-add-prefix-string-to-events-before-forwarding-to-external/m-p/631885#M108289</link>
      <description>&lt;P&gt;Hi everybody,&lt;/P&gt;
&lt;P&gt;I would like to duplicate data coming from my sourcetype&amp;nbsp;in such a way:&lt;/P&gt;
&lt;P&gt;- send the original data to Splunk for indexing.&lt;/P&gt;
&lt;P&gt;- send the duplicated events to an external server with "&amp;lt;DNS&amp;gt;" prefix string.&lt;/P&gt;
&lt;P&gt;How should I modify the transform.conf file in order to do that?&lt;/P&gt;
&lt;P&gt;Another question: is there a better way to forwards logs to external server while keeping the original source&amp;nbsp; host (source IP) instead of adding prefixes like what I'm trying to do.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks in advance,&lt;/P&gt;
&lt;P&gt;Angelo&lt;/P&gt;</description>
      <pubDate>Wed, 22 Feb 2023 17:26:07 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-add-prefix-string-to-events-before-forwarding-to-external/m-p/631885#M108289</guid>
      <dc:creator>Zanusha443</dc:creator>
      <dc:date>2023-02-22T17:26:07Z</dc:date>
    </item>
  </channel>
</rss>

