<?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 edit my configurations to perform an index time field extraction? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-to-edit-my-configurations-to-perform-an-index-time-field/m-p/309441#M92818</link>
    <description>&lt;P&gt;Hello All&lt;/P&gt;

&lt;P&gt;My current environment is as follows :&lt;/P&gt;

&lt;P&gt;Syslog/UF (Universal Forwarder) -&amp;gt; HF (Heavy Forwarder) -&amp;gt; Indexers&lt;/P&gt;

&lt;P&gt;I am trying to perform an indexed time field extraction so that people can utilize the fields extracted across all Search Heads in our environment.&lt;/P&gt;

&lt;P&gt;The following are what i have now after lots of trying : &lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;transforms.conf&lt;/STRONG&gt; &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[ABC]
REGEX = ^.*host\s(?1[^ ]+)\sat.+by\s(?2.+)

FORMAT = $0:$1:$2:$3:$4:$5:$6
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;&lt;STRONG&gt;props.conf&lt;/STRONG&gt;&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[sourcetype::XYZ]
TRANSFORMS-ABC = a_B_C
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;I tried pushing this to the indexers to populate the extraction, but it is not working.&lt;/P&gt;

&lt;P&gt;Also, the regex works in Search Time Extractions when i use it from the Search Head using a  |rex "" command.&lt;/P&gt;

&lt;P&gt;Please help.&lt;/P&gt;</description>
    <pubDate>Fri, 17 Feb 2017 14:06:07 GMT</pubDate>
    <dc:creator>vr2312</dc:creator>
    <dc:date>2017-02-17T14:06:07Z</dc:date>
    <item>
      <title>How to edit my configurations to perform an index time field extraction?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-edit-my-configurations-to-perform-an-index-time-field/m-p/309441#M92818</link>
      <description>&lt;P&gt;Hello All&lt;/P&gt;

&lt;P&gt;My current environment is as follows :&lt;/P&gt;

&lt;P&gt;Syslog/UF (Universal Forwarder) -&amp;gt; HF (Heavy Forwarder) -&amp;gt; Indexers&lt;/P&gt;

&lt;P&gt;I am trying to perform an indexed time field extraction so that people can utilize the fields extracted across all Search Heads in our environment.&lt;/P&gt;

&lt;P&gt;The following are what i have now after lots of trying : &lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;transforms.conf&lt;/STRONG&gt; &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[ABC]
REGEX = ^.*host\s(?1[^ ]+)\sat.+by\s(?2.+)

FORMAT = $0:$1:$2:$3:$4:$5:$6
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;&lt;STRONG&gt;props.conf&lt;/STRONG&gt;&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[sourcetype::XYZ]
TRANSFORMS-ABC = a_B_C
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;I tried pushing this to the indexers to populate the extraction, but it is not working.&lt;/P&gt;

&lt;P&gt;Also, the regex works in Search Time Extractions when i use it from the Search Head using a  |rex "" command.&lt;/P&gt;

&lt;P&gt;Please help.&lt;/P&gt;</description>
      <pubDate>Fri, 17 Feb 2017 14:06:07 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-edit-my-configurations-to-perform-an-index-time-field/m-p/309441#M92818</guid>
      <dc:creator>vr2312</dc:creator>
      <dc:date>2017-02-17T14:06:07Z</dc:date>
    </item>
    <item>
      <title>Re: How to edit my configurations to perform an index time field extraction?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-edit-my-configurations-to-perform-an-index-time-field/m-p/309442#M92819</link>
      <description>&lt;P&gt;Since you're using a Heavy forwarder in between, the event parsing will happen on the Heavy forwarder and these configurations should get deployed to Heavy forwarder not Indexers. Also, you would need to update fields.conf on the Search Head. For complete details on steps, see this link.&lt;/P&gt;

&lt;P&gt;&lt;A href="http://docs.splunk.com/Documentation/Splunk/6.5.2/Data/Configureindex-timefieldextraction#Where_to_put_the_configuration_changes_in_a_distributed_environment"&gt;http://docs.splunk.com/Documentation/Splunk/6.5.2/Data/Configureindex-timefieldextraction#Where_to_put_the_configuration_changes_in_a_distributed_environment&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 17 Feb 2017 14:30:02 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-edit-my-configurations-to-perform-an-index-time-field/m-p/309442#M92819</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2017-02-17T14:30:02Z</dc:date>
    </item>
    <item>
      <title>Re: How to edit my configurations to perform an index time field extraction?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-edit-my-configurations-to-perform-an-index-time-field/m-p/309443#M92820</link>
      <description>&lt;P&gt;There are few issues with your approach that you need to address to do what you are trying to do:&lt;/P&gt;

&lt;OL&gt;
&lt;LI&gt;The data passing through the HF is already "cooked" when it hits the Indexer. Unless you reroute the data at the Indexer to force it to do the extractions, you have to do Index-time extractions at the HF.&lt;/LI&gt;
&lt;LI&gt;Your props.conf needs to say &lt;CODE&gt;TRANSFORMS-ABC = ABC&lt;/CODE&gt;, where the right side of the equal sign needs to match the stanza in transforms.conf&lt;/LI&gt;
&lt;LI&gt;Your transforms.conf is incomplete for Index-time extractions. You should have &lt;CODE&gt;FORMAT&lt;/CODE&gt; and &lt;CODE&gt;WRITE_META&lt;/CODE&gt; fields&lt;/LI&gt;
&lt;LI&gt;You do not have anything in fields.conf which is required for Index-time extractions.&lt;/LI&gt;
&lt;/OL&gt;

&lt;P&gt;Look at this older question as a reference: &lt;A href="https://answers.splunk.com/answers/103668/index-time-fields-with-heavy-forwarder.html"&gt;https://answers.splunk.com/answers/103668/index-time-fields-with-heavy-forwarder.html&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 17 Feb 2017 14:30:57 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-edit-my-configurations-to-perform-an-index-time-field/m-p/309443#M92820</guid>
      <dc:creator>rjthibod</dc:creator>
      <dc:date>2017-02-17T14:30:57Z</dc:date>
    </item>
    <item>
      <title>Re: How to edit my configurations to perform an index time field extraction?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-edit-my-configurations-to-perform-an-index-time-field/m-p/309444#M92821</link>
      <description>&lt;P&gt;@rjthibod &lt;/P&gt;

&lt;P&gt;I will push the fields.conf only to Search Heads ?&lt;/P&gt;</description>
      <pubDate>Fri, 17 Feb 2017 15:07:30 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-edit-my-configurations-to-perform-an-index-time-field/m-p/309444#M92821</guid>
      <dc:creator>vr2312</dc:creator>
      <dc:date>2017-02-17T15:07:30Z</dc:date>
    </item>
    <item>
      <title>Re: How to edit my configurations to perform an index time field extraction?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-edit-my-configurations-to-perform-an-index-time-field/m-p/309445#M92822</link>
      <description>&lt;P&gt;Yes, I believe so.&lt;/P&gt;</description>
      <pubDate>Fri, 17 Feb 2017 15:12:34 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-edit-my-configurations-to-perform-an-index-time-field/m-p/309445#M92822</guid>
      <dc:creator>rjthibod</dc:creator>
      <dc:date>2017-02-17T15:12:34Z</dc:date>
    </item>
    <item>
      <title>Re: How to edit my configurations to perform an index time field extraction?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-edit-my-configurations-to-perform-an-index-time-field/m-p/309446#M92823</link>
      <description>&lt;P&gt;It worked without the fields.conf being pushed to the Search Heads. &lt;/P&gt;

&lt;P&gt;the following were pushed to the HF's &lt;/P&gt;

&lt;P&gt;fields.conf&lt;BR /&gt;
transforms.conf&lt;BR /&gt;
props.conf&lt;/P&gt;</description>
      <pubDate>Mon, 20 Feb 2017 10:45:11 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-edit-my-configurations-to-perform-an-index-time-field/m-p/309446#M92823</guid>
      <dc:creator>vr2312</dc:creator>
      <dc:date>2017-02-20T10:45:11Z</dc:date>
    </item>
  </channel>
</rss>

