<?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: Field Extraction: Regex global flag/modifier in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Field-Extraction-Regex-global-flag-modifier/m-p/495003#M138018</link>
    <description>&lt;P&gt;I managed to get the output I want using multiple EXTRACTs in props.conf:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;EXTRACT-eventAction = \\"eventAction\\" ?: ?\\"(?&amp;lt;eventAction&amp;gt;(?:(?!\\").)*)
EXTRACT-eventCategory = \\"eventCategory\\" ?: ?\\"(?&amp;lt;eventCategory&amp;gt;(?:(?!\\").)*)
EXTRACT-eventLabel = \\"eventLabel\\" ?: ?\\"(?&amp;lt;eventLabel&amp;gt;(?:(?!\\").)*)
EXTRACT-eventTimestamp = \\"eventTimestamp\\" ?: ?\\"(?&amp;lt;eventTimestamp&amp;gt;(?:(?!\\").)*)
EXTRACT-adid = \\"adid\\" ?: ?\\"(?&amp;lt;adid&amp;gt;(?:(?!\\").)*)
EXTRACT-userid = \\"userid\\" ?: ?\\"(?&amp;lt;userid&amp;gt;(?:(?!\\").)*)
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;I did not know you could specify an extraction with multiple expressions.&lt;/P&gt;</description>
    <pubDate>Fri, 11 Oct 2019 14:36:14 GMT</pubDate>
    <dc:creator>konnex</dc:creator>
    <dc:date>2019-10-11T14:36:14Z</dc:date>
    <item>
      <title>Field Extraction: Regex global flag/modifier</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Field-Extraction-Regex-global-flag-modifier/m-p/494998#M138013</link>
      <description>&lt;P&gt;Hi Splunkers,&lt;/P&gt;

&lt;P&gt;I know that it is possible to match multiple times using &lt;CODE&gt;rex&lt;/CODE&gt; (using max_match=0).&lt;/P&gt;

&lt;P&gt;Can I apply the same logic to a field extraction? I tried &lt;CODE&gt;.../g&lt;/CODE&gt;,&lt;CODE&gt;/.../g&lt;/CODE&gt;, &lt;CODE&gt;(?g)...&lt;/CODE&gt;, none of these work.&lt;/P&gt;</description>
      <pubDate>Thu, 10 Oct 2019 15:22:10 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Field-Extraction-Regex-global-flag-modifier/m-p/494998#M138013</guid>
      <dc:creator>konnex</dc:creator>
      <dc:date>2019-10-10T15:22:10Z</dc:date>
    </item>
    <item>
      <title>Re: Field Extraction: Regex global flag/modifier</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Field-Extraction-Regex-global-flag-modifier/m-p/494999#M138014</link>
      <description>&lt;P&gt;If you mean an index-time field extraction then you probably want to add &lt;CODE&gt;MV_ADD=true&lt;/CODE&gt; to your transforms.conf file.&lt;/P&gt;</description>
      <pubDate>Thu, 10 Oct 2019 16:51:07 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Field-Extraction-Regex-global-flag-modifier/m-p/494999#M138014</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2019-10-10T16:51:07Z</dc:date>
    </item>
    <item>
      <title>Re: Field Extraction: Regex global flag/modifier</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Field-Extraction-Regex-global-flag-modifier/m-p/495000#M138015</link>
      <description>&lt;P&gt;No, I am talking about field extraction configured in props.conf...&lt;/P&gt;</description>
      <pubDate>Thu, 10 Oct 2019 17:05:56 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Field-Extraction-Regex-global-flag-modifier/m-p/495000#M138015</guid>
      <dc:creator>konnex</dc:creator>
      <dc:date>2019-10-10T17:05:56Z</dc:date>
    </item>
    <item>
      <title>Re: Field Extraction: Regex global flag/modifier</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Field-Extraction-Regex-global-flag-modifier/m-p/495001#M138016</link>
      <description>&lt;P&gt;How are you doing them in props?  Please share your config.&lt;/P&gt;</description>
      <pubDate>Thu, 10 Oct 2019 18:03:12 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Field-Extraction-Regex-global-flag-modifier/m-p/495001#M138016</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2019-10-10T18:03:12Z</dc:date>
    </item>
    <item>
      <title>Re: Field Extraction: Regex global flag/modifier</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Field-Extraction-Regex-global-flag-modifier/m-p/495002#M138017</link>
      <description>&lt;PRE&gt;&lt;CODE&gt;[aws:sqs]
KV_MODE = none
TIME_PREFIX = \"eventTimestamp\\\":\\\"
#2017-07-19T16:03:42.195Z
TIME_FORMAT = %Y-%m-%dT%H:%M:%S.%3Q%Z
MAX_TIMESTAMP_LOOKAHEAD = 24
SHOULD_LINEMERGE = False
LINE_BREAKER = ([\n\r]+)\{\"MD5
TRUNCATE = 999999
CHARSET = UTF-8

EXTRACT-eventAction,eventCategory,eventLabel,eventTimestamp,adid,userid = (?:\\"eventAction\\" ?: ?\\"(?&amp;lt;eventAction&amp;gt;(?:(?!\\").)*)|\\"eventCategory\\" ?: ?\\"(?&amp;lt;eventCategory&amp;gt;(?:(?!\\").)*)|\\"eventLabel\\" ?: ?\\"(?&amp;lt;eventLabel&amp;gt;(?:(?!\\").)*)|\\"eventTimestamp\\" ?: ?\\"(?&amp;lt;eventTimestamp&amp;gt;(?:(?!\\").)*)|\\"adid\\" ?: ?\\"(?&amp;lt;adid&amp;gt;(?:(?!\\").)*)|\\"userid\\" ?: ?\\"(?&amp;lt;userid&amp;gt;(?:(?!\\").)*))+
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 10 Oct 2019 18:33:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Field-Extraction-Regex-global-flag-modifier/m-p/495002#M138017</guid>
      <dc:creator>konnex</dc:creator>
      <dc:date>2019-10-10T18:33:17Z</dc:date>
    </item>
    <item>
      <title>Re: Field Extraction: Regex global flag/modifier</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Field-Extraction-Regex-global-flag-modifier/m-p/495003#M138018</link>
      <description>&lt;P&gt;I managed to get the output I want using multiple EXTRACTs in props.conf:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;EXTRACT-eventAction = \\"eventAction\\" ?: ?\\"(?&amp;lt;eventAction&amp;gt;(?:(?!\\").)*)
EXTRACT-eventCategory = \\"eventCategory\\" ?: ?\\"(?&amp;lt;eventCategory&amp;gt;(?:(?!\\").)*)
EXTRACT-eventLabel = \\"eventLabel\\" ?: ?\\"(?&amp;lt;eventLabel&amp;gt;(?:(?!\\").)*)
EXTRACT-eventTimestamp = \\"eventTimestamp\\" ?: ?\\"(?&amp;lt;eventTimestamp&amp;gt;(?:(?!\\").)*)
EXTRACT-adid = \\"adid\\" ?: ?\\"(?&amp;lt;adid&amp;gt;(?:(?!\\").)*)
EXTRACT-userid = \\"userid\\" ?: ?\\"(?&amp;lt;userid&amp;gt;(?:(?!\\").)*)
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;I did not know you could specify an extraction with multiple expressions.&lt;/P&gt;</description>
      <pubDate>Fri, 11 Oct 2019 14:36:14 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Field-Extraction-Regex-global-flag-modifier/m-p/495003#M138018</guid>
      <dc:creator>konnex</dc:creator>
      <dc:date>2019-10-11T14:36:14Z</dc:date>
    </item>
  </channel>
</rss>

