<?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 issue in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Index-time-field-extraction-issue/m-p/321434#M96013</link>
    <description>&lt;P&gt;@perezcla - thanks for posting your solution. We've moved your comment to an answer.  Please accept your answer so that the question will show as closed.  - dal &lt;/P&gt;</description>
    <pubDate>Fri, 08 Sep 2017 14:05:30 GMT</pubDate>
    <dc:creator>DalJeanis</dc:creator>
    <dc:date>2017-09-08T14:05:30Z</dc:date>
    <item>
      <title>Index-time field extraction issue</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Index-time-field-extraction-issue/m-p/321432#M96011</link>
      <description>&lt;P&gt;Hello all,&lt;/P&gt;

&lt;P&gt;I'm a bit stuck with my issue. &lt;BR /&gt;
I do have this splunk infra :&lt;BR /&gt;
Sources ==&amp;gt; UF ==&amp;gt; Indexer cluster (3 + master)   Search head cluster.&lt;/P&gt;

&lt;P&gt;I'm trying to extract fields at index time to transform it in a future.&lt;/P&gt;

&lt;P&gt;My props.conf and transfroms.conf are deployed in indexers throught the master.&lt;/P&gt;

&lt;P&gt;log line look like :&lt;BR /&gt;
date="2017-09-08",time="08:08:00",s-ip="8.8.8.8",time-taken="8",c-ip="9.9.9.9",c-port="45687",s-action="TCP_DENIED",cs-user="foobar"&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;transforms.conf&lt;/STRONG&gt;&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[fieldtestextract]
WRITE_META = true
REGEX=cs-user="([^"]+)
FORMAT=csuser::$1
&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;[web:access:file]
TRANSFORMS-csuser = fieldtestextract
TZ = utc
SEDCMD-username =  s/,cs-user=\"[^\"]+\",/,cs-user="xxxx",/g
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;The SEDCMD is working like a charm but the tranforms won't work...&lt;BR /&gt;
&lt;STRONG&gt;fields.conf&lt;/STRONG&gt; on search heads :&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[csuser]
INDEXED = true
INDEXED_VALUE = true
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;I don't see my field on search head and obsiously i'm not able to execute query against it.&lt;/P&gt;

&lt;P&gt;Could you help me figuring out what's wrong with my configuration ?&lt;/P&gt;

&lt;P&gt;Many thanks in advance.&lt;/P&gt;</description>
      <pubDate>Fri, 08 Sep 2017 09:15:05 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Index-time-field-extraction-issue/m-p/321432#M96011</guid>
      <dc:creator>perezcla</dc:creator>
      <dc:date>2017-09-08T09:15:05Z</dc:date>
    </item>
    <item>
      <title>Re: Index-time field extraction issue</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Index-time-field-extraction-issue/m-p/321433#M96012</link>
      <description>&lt;P&gt;I have found my mistake... my transforms file was named transform.conf (no S ...) It 's now working &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 08 Sep 2017 12:09:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Index-time-field-extraction-issue/m-p/321433#M96012</guid>
      <dc:creator>perezcla</dc:creator>
      <dc:date>2017-09-08T12:09:19Z</dc:date>
    </item>
    <item>
      <title>Re: Index-time field extraction issue</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Index-time-field-extraction-issue/m-p/321434#M96013</link>
      <description>&lt;P&gt;@perezcla - thanks for posting your solution. We've moved your comment to an answer.  Please accept your answer so that the question will show as closed.  - dal &lt;/P&gt;</description>
      <pubDate>Fri, 08 Sep 2017 14:05:30 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Index-time-field-extraction-issue/m-p/321434#M96013</guid>
      <dc:creator>DalJeanis</dc:creator>
      <dc:date>2017-09-08T14:05:30Z</dc:date>
    </item>
  </channel>
</rss>

