<?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: How to extract multiple values for a field in the same event using field extractions? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-to-extract-multiple-values-for-a-field-in-the-same-event/m-p/303555#M91318</link>
    <description>&lt;P&gt;Hi @somesoni2,&lt;BR /&gt;
that's a good example! just one thing in &lt;CODE&gt;FORMAT&lt;/CODE&gt; whether we need to write &lt;CODE&gt;$1::$3&lt;/CODE&gt; or does it work with &lt;CODE&gt;$!::$2&lt;/CODE&gt;?&lt;/P&gt;</description>
    <pubDate>Wed, 21 Feb 2018 19:52:36 GMT</pubDate>
    <dc:creator>493669</dc:creator>
    <dc:date>2018-02-21T19:52:36Z</dc:date>
    <item>
      <title>How to extract multiple values for a field in the same event using field extractions?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-extract-multiple-values-for-a-field-in-the-same-event/m-p/303552#M91315</link>
      <description>&lt;P&gt;I am trying to extract both sha256 values from the event below but Splunk is only extracting the first value. How can I fix this?&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;2018-02-21T13:38:23+00:00 dummy.com amp_log: Info:   Compressed/Archive File: sha256 = 12345 MID = 0001, Extracted File: File Name = 'data', File Type = 'image/x-emf', sha256 = 567890, Disposition = FILE UNKNOWN, Response received from = Cloud, Malware = None, Reputation Score = 0, upload_action = 1
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 21 Feb 2018 19:09:08 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-extract-multiple-values-for-a-field-in-the-same-event/m-p/303552#M91315</guid>
      <dc:creator>ssyed2009</dc:creator>
      <dc:date>2018-02-21T19:09:08Z</dc:date>
    </item>
    <item>
      <title>Re: How to extract multiple values for a field in the same event using field extractions?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-extract-multiple-values-for-a-field-in-the-same-event/m-p/303553#M91316</link>
      <description>&lt;P&gt;Hi @ssyed2009,&lt;BR /&gt;
you need &lt;CODE&gt;max_match=0&lt;/CODE&gt; to match multiple events&lt;BR /&gt;
try this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;...|rex max_match=0 "sha256\s*=\s*(?&amp;lt;sha&amp;gt;\d+)"
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 21 Feb 2018 19:21:49 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-extract-multiple-values-for-a-field-in-the-same-event/m-p/303553#M91316</guid>
      <dc:creator>493669</dc:creator>
      <dc:date>2018-02-21T19:21:49Z</dc:date>
    </item>
    <item>
      <title>Re: How to extract multiple values for a field in the same event using field extractions?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-extract-multiple-values-for-a-field-in-the-same-event/m-p/303554#M91317</link>
      <description>&lt;P&gt;Try this (on your search head(s). Splunk restart required)&lt;/P&gt;

&lt;P&gt;props.conf&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[yourSourceType]
REPORT-extractall = extractAllKV
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;transforms.conf&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[extractAllKV]
REGEX = (\w+)\s*=(\s|\'|\")*([^,'\"\s]+)
FORMAT = $1::$2
MV_ADD = true
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 21 Feb 2018 19:27:32 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-extract-multiple-values-for-a-field-in-the-same-event/m-p/303554#M91317</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2018-02-21T19:27:32Z</dc:date>
    </item>
    <item>
      <title>Re: How to extract multiple values for a field in the same event using field extractions?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-extract-multiple-values-for-a-field-in-the-same-event/m-p/303555#M91318</link>
      <description>&lt;P&gt;Hi @somesoni2,&lt;BR /&gt;
that's a good example! just one thing in &lt;CODE&gt;FORMAT&lt;/CODE&gt; whether we need to write &lt;CODE&gt;$1::$3&lt;/CODE&gt; or does it work with &lt;CODE&gt;$!::$2&lt;/CODE&gt;?&lt;/P&gt;</description>
      <pubDate>Wed, 21 Feb 2018 19:52:36 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-extract-multiple-values-for-a-field-in-the-same-event/m-p/303555#M91318</guid>
      <dc:creator>493669</dc:creator>
      <dc:date>2018-02-21T19:52:36Z</dc:date>
    </item>
    <item>
      <title>Re: How to extract multiple values for a field in the same event using field extractions?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-extract-multiple-values-for-a-field-in-the-same-event/m-p/303556#M91319</link>
      <description>&lt;P&gt;it did work with FORMAT = $1::$2&lt;/P&gt;</description>
      <pubDate>Tue, 27 Feb 2018 17:47:25 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-extract-multiple-values-for-a-field-in-the-same-event/m-p/303556#M91319</guid>
      <dc:creator>ssyed2009</dc:creator>
      <dc:date>2018-02-27T17:47:25Z</dc:date>
    </item>
  </channel>
</rss>

