<?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 understanding the transforms.conf in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/understanding-the-transforms-conf/m-p/333002#M99032</link>
    <description>&lt;P&gt;hi,&lt;BR /&gt;
Can someone please explain me the below transforms.conf . I read the documentation ,but it's not clear to me .&lt;/P&gt;

&lt;P&gt;[route-index-abc]&lt;BR /&gt;
REGEX = (.*)  ( what is the use of REGEX)&lt;BR /&gt;
DEST_KEY = _MetaData:Index   ( what is the use DEST_KEY)&lt;BR /&gt;
FORMAT = server_application   ( what is the use of FORMAT)&lt;/P&gt;</description>
    <pubDate>Tue, 29 Sep 2020 13:05:20 GMT</pubDate>
    <dc:creator>kteng2024</dc:creator>
    <dc:date>2020-09-29T13:05:20Z</dc:date>
    <item>
      <title>understanding the transforms.conf</title>
      <link>https://community.splunk.com/t5/Splunk-Search/understanding-the-transforms-conf/m-p/333002#M99032</link>
      <description>&lt;P&gt;hi,&lt;BR /&gt;
Can someone please explain me the below transforms.conf . I read the documentation ,but it's not clear to me .&lt;/P&gt;

&lt;P&gt;[route-index-abc]&lt;BR /&gt;
REGEX = (.*)  ( what is the use of REGEX)&lt;BR /&gt;
DEST_KEY = _MetaData:Index   ( what is the use DEST_KEY)&lt;BR /&gt;
FORMAT = server_application   ( what is the use of FORMAT)&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 13:05:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/understanding-the-transforms-conf/m-p/333002#M99032</guid>
      <dc:creator>kteng2024</dc:creator>
      <dc:date>2020-09-29T13:05:20Z</dc:date>
    </item>
    <item>
      <title>Re: understanding the transforms.conf</title>
      <link>https://community.splunk.com/t5/Splunk-Search/understanding-the-transforms-conf/m-p/333003#M99033</link>
      <description>&lt;P&gt;The transforms.conf entry that you've is applied to each event of a sourcetype, source or host. &lt;/P&gt;

&lt;UL&gt;
&lt;LI&gt;The REGEX is a regular expression that tries to find a match from the value of SOURCE_KEY (an attribute which has default value as _raw, your raw data). A dot means it'll match everything (the transform will be done for all events).&lt;/LI&gt;
&lt;LI&gt;DEST_KEY - it provides a Splunk field (that are available at the time of parsing) where the transformation will be applied.&lt;/LI&gt;
&lt;LI&gt;FORMAT - it's a value that will be applied to value of DEST_KEY&lt;/LI&gt;
&lt;/UL&gt;

&lt;P&gt;So basically what it's doing here is, for each event, change the value of index (represented as _MetaData:Index in transforms.conf) with value server_application, regardless of what it's original value was.&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 13:05:23 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/understanding-the-transforms-conf/m-p/333003#M99033</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2020-09-29T13:05:23Z</dc:date>
    </item>
    <item>
      <title>Re: understanding the transforms.conf</title>
      <link>https://community.splunk.com/t5/Splunk-Search/understanding-the-transforms-conf/m-p/333004#M99034</link>
      <description>&lt;P&gt;Its' actually solving this problem&lt;BR /&gt;
&lt;A href="https://answers.splunk.com/answers/246672/how-can-i-override-an-index-name-based-on-sourcety.html"&gt;https://answers.splunk.com/answers/246672/how-can-i-override-an-index-name-based-on-sourcety.html&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 01 Mar 2017 22:31:02 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/understanding-the-transforms-conf/m-p/333004#M99034</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2017-03-01T22:31:02Z</dc:date>
    </item>
  </channel>
</rss>

