<?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 Redirection to different index using transforms.conf in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Redirection-to-different-index-using-transforms-conf/m-p/47188#M8966</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;I  have a couple of network devices which are sending logs to splunk over udp (so no forwarder installed on them).&lt;/P&gt;

&lt;P&gt;I'm struggling to get my transforms.conf to redirect the data to a separate index. &lt;BR /&gt;
The network devices have 2 transforms rules, the first one being a MetaData:Host being set (instead of IP) which works fine. &lt;BR /&gt;
What am I doing wrong for the index redirection? &lt;BR /&gt;
Maybe some issue with SOURCE_KEY? I've tried using a SOURCE_KEY = MetaData:Host in transforms.conf&lt;/P&gt;

&lt;P&gt;transforms.conf&lt;BR /&gt;
[host_rename_rt1]&lt;BR /&gt;
REGEX = .&lt;BR /&gt;
DEST_KEY = MetaData:Host&lt;BR /&gt;
FORMAT = host::rt1&lt;/P&gt;

&lt;P&gt;[index_redirect_to_pci]&lt;BR /&gt;
REGEX = .&lt;BR /&gt;
DEST_KEY = MetaData:Index&lt;BR /&gt;
FORMAT = pci&lt;/P&gt;

&lt;P&gt;props.conf&lt;BR /&gt;
[host::x.x.x.x] &lt;BR /&gt;
TRANSFORMS-rt1 = host_rename_rt1,index_redirect_to_pci&lt;/P&gt;

&lt;P&gt;Thanks&lt;/P&gt;</description>
    <pubDate>Mon, 28 Sep 2020 14:39:34 GMT</pubDate>
    <dc:creator>paycorp</dc:creator>
    <dc:date>2020-09-28T14:39:34Z</dc:date>
    <item>
      <title>Redirection to different index using transforms.conf</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Redirection-to-different-index-using-transforms-conf/m-p/47188#M8966</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;I  have a couple of network devices which are sending logs to splunk over udp (so no forwarder installed on them).&lt;/P&gt;

&lt;P&gt;I'm struggling to get my transforms.conf to redirect the data to a separate index. &lt;BR /&gt;
The network devices have 2 transforms rules, the first one being a MetaData:Host being set (instead of IP) which works fine. &lt;BR /&gt;
What am I doing wrong for the index redirection? &lt;BR /&gt;
Maybe some issue with SOURCE_KEY? I've tried using a SOURCE_KEY = MetaData:Host in transforms.conf&lt;/P&gt;

&lt;P&gt;transforms.conf&lt;BR /&gt;
[host_rename_rt1]&lt;BR /&gt;
REGEX = .&lt;BR /&gt;
DEST_KEY = MetaData:Host&lt;BR /&gt;
FORMAT = host::rt1&lt;/P&gt;

&lt;P&gt;[index_redirect_to_pci]&lt;BR /&gt;
REGEX = .&lt;BR /&gt;
DEST_KEY = MetaData:Index&lt;BR /&gt;
FORMAT = pci&lt;/P&gt;

&lt;P&gt;props.conf&lt;BR /&gt;
[host::x.x.x.x] &lt;BR /&gt;
TRANSFORMS-rt1 = host_rename_rt1,index_redirect_to_pci&lt;/P&gt;

&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 14:39:34 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Redirection-to-different-index-using-transforms-conf/m-p/47188#M8966</guid>
      <dc:creator>paycorp</dc:creator>
      <dc:date>2020-09-28T14:39:34Z</dc:date>
    </item>
    <item>
      <title>Re: Redirection to different index using transforms.conf</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Redirection-to-different-index-using-transforms-conf/m-p/47189#M8967</link>
      <description>&lt;P&gt;You should have &lt;CODE&gt;_MetaData:Index&lt;/CODE&gt; not &lt;CODE&gt;MetaData:Index&lt;/CODE&gt;.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;### transforms.conf
[host_rename_rt1]
REGEX = .
DEST_KEY = MetaData:Host
FORMAT = host::rt1

[index_redirect_to_pci]
REGEX = .
DEST_KEY = _MetaData:Index
FORMAT = pci

### props.conf
[host::x.x.x.x] 
TRANSFORMS-rt1 = host_rename_rt1,index_redirect_to_pci
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 27 Aug 2013 09:26:10 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Redirection-to-different-index-using-transforms-conf/m-p/47189#M8967</guid>
      <dc:creator>dart</dc:creator>
      <dc:date>2013-08-27T09:26:10Z</dc:date>
    </item>
  </channel>
</rss>

