<?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: Index time field extraction from another field in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Index-time-field-extraction-from-another-field/m-p/105617#M27394</link>
    <description>&lt;P&gt;Your &lt;CODE&gt;props.conf&lt;/CODE&gt; needs to specify them in the correct order like this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;TRANSFORMS-correct = autocorrect_field1, extract_field2
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Instead of what you are currently doing:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;TRANSFORMS-wrong= extract_field2, autocorrect_field1
&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Fri, 29 May 2015 23:59:21 GMT</pubDate>
    <dc:creator>woodcock</dc:creator>
    <dc:date>2015-05-29T23:59:21Z</dc:date>
    <item>
      <title>Index time field extraction from another field</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Index-time-field-extraction-from-another-field/m-p/105616#M27393</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;I have two fields. Let's say they are field1 and field2. I extract field2 from field1. I also remove some part of field1 to give it appropriate value. Now, if I don't correct value of field1, I get field2. But, if I don't correct field1, I don't get field2 at all.&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;&lt;CODE&gt;[transforms.conf]&lt;/CODE&gt;&lt;/STRONG&gt;&lt;/P&gt;

&lt;P&gt;&lt;CODE&gt;[autocorrect_field1]&lt;BR /&gt;
SOURCE_KEY = field1&lt;BR /&gt;
REGEX = (&amp;lt;regex1&amp;gt;)(&amp;lt;regex2&amp;gt;)(&amp;lt;regex3&amp;gt;)&lt;BR /&gt;
DEST_KEY = field1&lt;BR /&gt;
WRITE_META = true&lt;BR /&gt;
FORMAT = field1::$1$3&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;&lt;CODE&gt;[extract_field2]&lt;BR /&gt;
SOURCE_KEY = field1&lt;BR /&gt;
REGEX = (&amp;lt;regex1&amp;gt;)(&amp;lt;regex2.1&amp;gt;)(&amp;lt;regex2.2&amp;gt;)(&amp;lt;regex3&amp;gt;)&lt;BR /&gt;
DEST_KEY = field2&lt;BR /&gt;
FORMAT = field2::$2&lt;BR /&gt;
WRITE_META = true&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;I have also set 101 priority for field2 in props.conf. What is the issue?&lt;/P&gt;

&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Mon, 07 Nov 2011 22:24:38 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Index-time-field-extraction-from-another-field/m-p/105616#M27393</guid>
      <dc:creator>rahiparikh</dc:creator>
      <dc:date>2011-11-07T22:24:38Z</dc:date>
    </item>
    <item>
      <title>Re: Index time field extraction from another field</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Index-time-field-extraction-from-another-field/m-p/105617#M27394</link>
      <description>&lt;P&gt;Your &lt;CODE&gt;props.conf&lt;/CODE&gt; needs to specify them in the correct order like this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;TRANSFORMS-correct = autocorrect_field1, extract_field2
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Instead of what you are currently doing:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;TRANSFORMS-wrong= extract_field2, autocorrect_field1
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 29 May 2015 23:59:21 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Index-time-field-extraction-from-another-field/m-p/105617#M27394</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2015-05-29T23:59:21Z</dc:date>
    </item>
  </channel>
</rss>

