<?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 in field in json in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-to-Extract-multiple-values-in-field-in-json/m-p/681038#M232894</link>
    <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;you could try this&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| rex "BatchId\s*:\s*(?&amp;lt;batch&amp;gt;[^,]+),\s*RequestId\s*(?&amp;lt;RequestID&amp;gt;[^,]+),\s*Msg : Batch status to be update to (?&amp;lt;Status&amp;gt;[^,]+)"&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If this is in any other field than _raw then add into rex field=&amp;lt;your field name&amp;gt;&lt;/P&gt;&lt;P&gt;See &lt;A href="https://regex101.com/r/U5IB8G/1" target="_blank" rel="noopener"&gt;https://regex101.com/r/U5IB8G/1&lt;/A&gt;&lt;/P&gt;&lt;P&gt;r. Ismo&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 18 Mar 2024 14:06:18 GMT</pubDate>
    <dc:creator>isoutamo</dc:creator>
    <dc:date>2024-03-18T14:06:18Z</dc:date>
    <item>
      <title>How to Extract multiple values in field in json</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-Extract-multiple-values-in-field-in-json/m-p/681036#M232893</link>
      <description>&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;I am trying to extract three fields in below given message&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;SPAN class=""&gt;message&lt;/SPAN&gt;&lt;SPAN&gt;" &lt;/SPAN&gt;&lt;SPAN class=""&gt;:&lt;/SPAN&gt;&lt;SPAN&gt; "&lt;/SPAN&gt;&lt;SPAN class=""&gt;BatchId&lt;/SPAN&gt; &lt;SPAN class=""&gt;:&lt;/SPAN&gt; &lt;SPAN class=""&gt;7&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;SPAN class=""&gt;RequestId&lt;/SPAN&gt; &lt;SPAN class=""&gt;:&lt;/SPAN&gt; &lt;SPAN class=""&gt;100532188&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;SPAN class=""&gt;Msg&lt;/SPAN&gt; &lt;SPAN class=""&gt;:&lt;/SPAN&gt; &lt;SPAN class=""&gt;Batch&lt;/SPAN&gt; &lt;SPAN class=""&gt;status&lt;/SPAN&gt; &lt;SPAN class=""&gt;to&lt;/SPAN&gt; &lt;SPAN class=""&gt;be&lt;/SPAN&gt; &lt;SPAN class=""&gt;update&lt;/SPAN&gt; &lt;SPAN class=""&gt;to&lt;/SPAN&gt; &lt;SPAN class=""&gt;SUCCESS&lt;/SPAN&gt;&lt;SPAN&gt;",&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Extract :&amp;nbsp;&lt;SPAN class=""&gt;BatchId&lt;/SPAN&gt;&amp;nbsp;,&lt;SPAN class=""&gt;RequestId&lt;/SPAN&gt;&amp;nbsp;,Status need to extract SUCCESS .&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| rex "BatchId\s*:\s*(?&amp;lt;batch&amp;gt;[^,]+),\s*RequestId\s:\s*(?&amp;lt;RequestID&amp;gt;[^,]+),\s*Msg : Batch status to be update to (?&amp;lt;Status&amp;gt;\w+)"&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 18 Mar 2024 14:48:33 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-Extract-multiple-values-in-field-in-json/m-p/681036#M232893</guid>
      <dc:creator>karthi2809</dc:creator>
      <dc:date>2024-03-18T14:48:33Z</dc:date>
    </item>
    <item>
      <title>Re: How to Extract multiple values in field in json</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-Extract-multiple-values-in-field-in-json/m-p/681038#M232894</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;you could try this&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| rex "BatchId\s*:\s*(?&amp;lt;batch&amp;gt;[^,]+),\s*RequestId\s*(?&amp;lt;RequestID&amp;gt;[^,]+),\s*Msg : Batch status to be update to (?&amp;lt;Status&amp;gt;[^,]+)"&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If this is in any other field than _raw then add into rex field=&amp;lt;your field name&amp;gt;&lt;/P&gt;&lt;P&gt;See &lt;A href="https://regex101.com/r/U5IB8G/1" target="_blank" rel="noopener"&gt;https://regex101.com/r/U5IB8G/1&lt;/A&gt;&lt;/P&gt;&lt;P&gt;r. Ismo&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 18 Mar 2024 14:06:18 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-Extract-multiple-values-in-field-in-json/m-p/681038#M232894</guid>
      <dc:creator>isoutamo</dc:creator>
      <dc:date>2024-03-18T14:06:18Z</dc:date>
    </item>
  </channel>
</rss>

