<?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 multi key value from a single event in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-to-extract-multi-key-value-from-a-single-event/m-p/308607#M161530</link>
    <description>&lt;P&gt;Please remember to mark your code with the code button (101 010) so that the html-like tags won't be treated as formatting by the web interface.&lt;/P&gt;</description>
    <pubDate>Mon, 03 Apr 2017 17:16:52 GMT</pubDate>
    <dc:creator>DalJeanis</dc:creator>
    <dc:date>2017-04-03T17:16:52Z</dc:date>
    <item>
      <title>How to extract multi key value from a single event</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-extract-multi-key-value-from-a-single-event/m-p/308606#M161529</link>
      <description>&lt;P&gt;Here is the logs, &lt;/P&gt;

&lt;P&gt;event=SUCCESS_FROM_SERVICE UserID=abc currentTime=2017-03-31T05:22:52.176Z headline="[{'contentUUID':'10a1f2a2-1489-11e7-b0c1-37e417ee6c76','title':'South Africa's Zuma embarks on a game of chicken with markets'},{'contentUUID':'6961129e-14fa-11e7-80f4-13e067d5072c','title':'Race for speed among algo traders hits peak'}]"&lt;/P&gt;

&lt;P&gt;I am able to extract the values of first 'contentUUID' and first 'title' by the search command below whereas I'm unable to get the 2nd set of values. The search I'm adding is, &lt;/P&gt;

&lt;P&gt;search index=heroku sourcetype=heroku:drain source=/var/log/apps/heroku/cont-acc-tkn-ui.log event=SUCCESS_FROM_SERVICE | rex max_match=10 field=_raw "'contentUUID':'(?P[^']+)" | rex max_match=10 field=_raw "'title':'(?P&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 13:30:56 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-extract-multi-key-value-from-a-single-event/m-p/308606#M161529</guid>
      <dc:creator>shaal89</dc:creator>
      <dc:date>2020-09-29T13:30:56Z</dc:date>
    </item>
    <item>
      <title>Re: How to extract multi key value from a single event</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-extract-multi-key-value-from-a-single-event/m-p/308607#M161530</link>
      <description>&lt;P&gt;Please remember to mark your code with the code button (101 010) so that the html-like tags won't be treated as formatting by the web interface.&lt;/P&gt;</description>
      <pubDate>Mon, 03 Apr 2017 17:16:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-extract-multi-key-value-from-a-single-event/m-p/308607#M161530</guid>
      <dc:creator>DalJeanis</dc:creator>
      <dc:date>2017-04-03T17:16:52Z</dc:date>
    </item>
    <item>
      <title>Re: How to extract multi key value from a single event</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-extract-multi-key-value-from-a-single-event/m-p/308608#M161531</link>
      <description>&lt;P&gt;Try this &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| rex max_match=10 field=_raw "\'title\':\'(?P&amp;lt;mytitle&amp;gt;[^\}]*)\'(?=\})"
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 03 Apr 2017 17:22:55 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-extract-multi-key-value-from-a-single-event/m-p/308608#M161531</guid>
      <dc:creator>DalJeanis</dc:creator>
      <dc:date>2017-04-03T17:22:55Z</dc:date>
    </item>
    <item>
      <title>Re: How to extract multi key value from a single event</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-extract-multi-key-value-from-a-single-event/m-p/308609#M161532</link>
      <description>&lt;P&gt;You would be getting a multivalued fields. Are you sure you're not able to extract second set? Do you see both values if your add &lt;CODE&gt;| table contentUUID title&lt;/CODE&gt; at the end of your current search.&lt;/P&gt;</description>
      <pubDate>Mon, 03 Apr 2017 20:39:28 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-extract-multi-key-value-from-a-single-event/m-p/308609#M161532</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2017-04-03T20:39:28Z</dc:date>
    </item>
  </channel>
</rss>

