<?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: Problem extracting fields from auto extracted field in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Problem-extracting-fields-from-auto-extracted-field/m-p/457245#M129184</link>
    <description>&lt;P&gt;Sorry, regex on [login] is&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;^[\d\s/:]+(?P&amp;lt;login&amp;gt;\w*)\s+(?P&amp;lt;type&amp;gt;\w*)
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;The field &lt;STRONG&gt;login&lt;/STRONG&gt; is well extracted but &lt;STRONG&gt;user&lt;/STRONG&gt; is not&lt;/P&gt;</description>
    <pubDate>Tue, 20 Aug 2019 15:59:30 GMT</pubDate>
    <dc:creator>ktn01</dc:creator>
    <dc:date>2019-08-20T15:59:30Z</dc:date>
    <item>
      <title>Problem extracting fields from auto extracted field</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Problem-extracting-fields-from-auto-extracted-field/m-p/457244#M129183</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;

&lt;P&gt;I have events in the following format:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;20/08/19 16:34:17 login1 command RunAsUsers="web,tomcat,embed" 
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;with the following configs&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;props.conf:&lt;/STRONG&gt;&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[mysourcetype]
TIME_PREFIX = ^
MAX_TIMESTAMP_LOOKAHEAD = 20
TIME_FORMAT = %d/%m/%y %H:%M:%S
NO_BINARY_CHECK = true
SHOULD_LINEMERGE = false
KV_MODE = auto_escaped
REPORT-mysourcetype = login,user
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;&lt;STRONG&gt;transforms.conf:&lt;/STRONG&gt;&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt; [login]
 REGEX = ^[\d\s/:]+(?P&amp;lt;user&amp;gt;\w*)\s+(?P&amp;lt;type&amp;gt;\w*)

 [user]
 SOURCE_KEY = RunAsUsers
 REGEX = (?P&amp;lt;user&amp;gt;[^,]+)
 MV_ADD = true
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Fields &lt;STRONG&gt;"user"&lt;/STRONG&gt;, &lt;STRONG&gt;"type"&lt;/STRONG&gt; and &lt;STRONG&gt;"RunAsUsers"&lt;/STRONG&gt; are well extracted but the multi KV &lt;STRONG&gt;"user"&lt;/STRONG&gt; is not created.&lt;/P&gt;

&lt;P&gt;An idea of ​​what I'm doing wrong?&lt;/P&gt;

&lt;P&gt;Thanks&lt;BR /&gt;
Christian&lt;/P&gt;</description>
      <pubDate>Tue, 20 Aug 2019 15:11:27 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Problem-extracting-fields-from-auto-extracted-field/m-p/457244#M129183</guid>
      <dc:creator>ktn01</dc:creator>
      <dc:date>2019-08-20T15:11:27Z</dc:date>
    </item>
    <item>
      <title>Re: Problem extracting fields from auto extracted field</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Problem-extracting-fields-from-auto-extracted-field/m-p/457245#M129184</link>
      <description>&lt;P&gt;Sorry, regex on [login] is&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;^[\d\s/:]+(?P&amp;lt;login&amp;gt;\w*)\s+(?P&amp;lt;type&amp;gt;\w*)
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;The field &lt;STRONG&gt;login&lt;/STRONG&gt; is well extracted but &lt;STRONG&gt;user&lt;/STRONG&gt; is not&lt;/P&gt;</description>
      <pubDate>Tue, 20 Aug 2019 15:59:30 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Problem-extracting-fields-from-auto-extracted-field/m-p/457245#M129184</guid>
      <dc:creator>ktn01</dc:creator>
      <dc:date>2019-08-20T15:59:30Z</dc:date>
    </item>
    <item>
      <title>Re: Problem extracting fields from auto extracted field</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Problem-extracting-fields-from-auto-extracted-field/m-p/457246#M129185</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;

&lt;P&gt;For information, Splunk support give me the following solution using the config file "fields.conf":&lt;/P&gt;

&lt;P&gt;[RunAsUsers]&lt;BR /&gt;
TOKENIZER = ([^,]+)&lt;/P&gt;

&lt;P&gt;Regards&lt;BR /&gt;
Christian&lt;/P&gt;</description>
      <pubDate>Fri, 01 Nov 2019 14:38:56 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Problem-extracting-fields-from-auto-extracted-field/m-p/457246#M129185</guid>
      <dc:creator>ktn01</dc:creator>
      <dc:date>2019-11-01T14:38:56Z</dc:date>
    </item>
  </channel>
</rss>

