<?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 rex from the multivalue fields and get one particular value in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/rex-from-the-multivalue-fields-and-get-one-particular-value/m-p/660881#M228171</link>
    <description>&lt;P&gt;I have this multivalue fields where i am tring to rex and get particular field value like&amp;nbsp;&lt;BR /&gt;&lt;STRONG&gt;"value":"ESC1000",&amp;nbsp;&lt;/STRONG&gt; but instead getting multiple.&lt;BR /&gt;Tried with this but shows all the fields value&amp;nbsp;&lt;BR /&gt;| rex max_match=0 "value\":\"(?&amp;lt;ESC&amp;gt;[^\"]+)"&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;"productChanges":[&lt;BR /&gt;{&lt;BR /&gt;"Products":[&lt;BR /&gt;{&lt;BR /&gt;"productSpecContainmentID":"1",&lt;BR /&gt;"changedCharacteristics":[&lt;BR /&gt;{&lt;BR /&gt;"characteristicID":"2",&lt;BR /&gt;"value":"SERVICE"&lt;BR /&gt;},&lt;BR /&gt;{&lt;BR /&gt;"characteristicID":"3",&lt;BR /&gt;"value":"99"&lt;BR /&gt;},&lt;BR /&gt;{&lt;BR /&gt;"characteristicID":"4",&lt;BR /&gt;"value":"monthly"&lt;BR /&gt;},&lt;BR /&gt;{&lt;BR /&gt;"characteristicID":"5",&lt;BR /&gt;&lt;STRONG&gt;"value":"ESC1000"&lt;/STRONG&gt;&lt;BR /&gt;},&lt;BR /&gt;{&lt;BR /&gt;"characteristicID":"6",&lt;BR /&gt;"value":"Discount"&lt;BR /&gt;},&lt;BR /&gt;{&lt;BR /&gt;"characteristicID":"7",&lt;BR /&gt;"value":"Escalation"&lt;BR /&gt;},&lt;BR /&gt;{&lt;BR /&gt;"characteristicID":"8",&lt;BR /&gt;"value":"AMOUNT"&lt;BR /&gt;},&lt;BR /&gt;{&lt;BR /&gt;"characteristicID":"9",&lt;BR /&gt;"value":"9"&lt;BR /&gt;},&lt;BR /&gt;{&lt;BR /&gt;"characteristicID":"10",&lt;BR /&gt;"value":"Y"&lt;BR /&gt;},&lt;BR /&gt;{&lt;BR /&gt;"characteristicID":"11",&lt;BR /&gt;"value":"N"&lt;BR /&gt;}&lt;BR /&gt;],&lt;BR /&gt;"temporaryID":"xxxaaaacccc"&lt;BR /&gt;}&lt;BR /&gt;]&lt;BR /&gt;}&lt;BR /&gt;]&lt;BR /&gt;&lt;BR /&gt;Is there a way to get the required fields value only like above?&lt;/P&gt;</description>
    <pubDate>Mon, 16 Oct 2023 14:41:28 GMT</pubDate>
    <dc:creator>mikeyty07</dc:creator>
    <dc:date>2023-10-16T14:41:28Z</dc:date>
    <item>
      <title>rex from the multivalue fields and get one particular value</title>
      <link>https://community.splunk.com/t5/Splunk-Search/rex-from-the-multivalue-fields-and-get-one-particular-value/m-p/660881#M228171</link>
      <description>&lt;P&gt;I have this multivalue fields where i am tring to rex and get particular field value like&amp;nbsp;&lt;BR /&gt;&lt;STRONG&gt;"value":"ESC1000",&amp;nbsp;&lt;/STRONG&gt; but instead getting multiple.&lt;BR /&gt;Tried with this but shows all the fields value&amp;nbsp;&lt;BR /&gt;| rex max_match=0 "value\":\"(?&amp;lt;ESC&amp;gt;[^\"]+)"&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;"productChanges":[&lt;BR /&gt;{&lt;BR /&gt;"Products":[&lt;BR /&gt;{&lt;BR /&gt;"productSpecContainmentID":"1",&lt;BR /&gt;"changedCharacteristics":[&lt;BR /&gt;{&lt;BR /&gt;"characteristicID":"2",&lt;BR /&gt;"value":"SERVICE"&lt;BR /&gt;},&lt;BR /&gt;{&lt;BR /&gt;"characteristicID":"3",&lt;BR /&gt;"value":"99"&lt;BR /&gt;},&lt;BR /&gt;{&lt;BR /&gt;"characteristicID":"4",&lt;BR /&gt;"value":"monthly"&lt;BR /&gt;},&lt;BR /&gt;{&lt;BR /&gt;"characteristicID":"5",&lt;BR /&gt;&lt;STRONG&gt;"value":"ESC1000"&lt;/STRONG&gt;&lt;BR /&gt;},&lt;BR /&gt;{&lt;BR /&gt;"characteristicID":"6",&lt;BR /&gt;"value":"Discount"&lt;BR /&gt;},&lt;BR /&gt;{&lt;BR /&gt;"characteristicID":"7",&lt;BR /&gt;"value":"Escalation"&lt;BR /&gt;},&lt;BR /&gt;{&lt;BR /&gt;"characteristicID":"8",&lt;BR /&gt;"value":"AMOUNT"&lt;BR /&gt;},&lt;BR /&gt;{&lt;BR /&gt;"characteristicID":"9",&lt;BR /&gt;"value":"9"&lt;BR /&gt;},&lt;BR /&gt;{&lt;BR /&gt;"characteristicID":"10",&lt;BR /&gt;"value":"Y"&lt;BR /&gt;},&lt;BR /&gt;{&lt;BR /&gt;"characteristicID":"11",&lt;BR /&gt;"value":"N"&lt;BR /&gt;}&lt;BR /&gt;],&lt;BR /&gt;"temporaryID":"xxxaaaacccc"&lt;BR /&gt;}&lt;BR /&gt;]&lt;BR /&gt;}&lt;BR /&gt;]&lt;BR /&gt;&lt;BR /&gt;Is there a way to get the required fields value only like above?&lt;/P&gt;</description>
      <pubDate>Mon, 16 Oct 2023 14:41:28 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/rex-from-the-multivalue-fields-and-get-one-particular-value/m-p/660881#M228171</guid>
      <dc:creator>mikeyty07</dc:creator>
      <dc:date>2023-10-16T14:41:28Z</dc:date>
    </item>
    <item>
      <title>Re: rex from the multivalue fields and get one particular value</title>
      <link>https://community.splunk.com/t5/Splunk-Search/rex-from-the-multivalue-fields-and-get-one-particular-value/m-p/660883#M228173</link>
      <description>&lt;P&gt;Assuming your value always starts with ESC, give this a try:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| rex "value\":\"(?&amp;lt;ESC&amp;gt;ESC[^\"]+)"&lt;/LI-CODE&gt;</description>
      <pubDate>Mon, 16 Oct 2023 15:07:06 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/rex-from-the-multivalue-fields-and-get-one-particular-value/m-p/660883#M228173</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2023-10-16T15:07:06Z</dc:date>
    </item>
    <item>
      <title>Re: rex from the multivalue fields and get one particular value</title>
      <link>https://community.splunk.com/t5/Splunk-Search/rex-from-the-multivalue-fields-and-get-one-particular-value/m-p/660898#M228180</link>
      <description>&lt;P&gt;Also i have this url which has&amp;nbsp;&lt;BR /&gt;&lt;SPAN&gt;&lt;A href="https://www-api.corp.google.com/google/com/customer/1015953/product/58870/create" target="_blank"&gt;https://www-api.corp.google.com/google/com/customer/1015953/product/58870/create&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;is there a way to regex and get these?&lt;BR /&gt;&lt;A href="https://www-api.corp.google.com/google/com/customer/1015953/product/58870/create" target="_blank"&gt;1015953&lt;/A&gt;&amp;nbsp;as customerId&lt;BR /&gt;&lt;A href="https://www-api.corp.google.com/google/com/customer/1015953/product/58870/create" target="_blank"&gt;58870&lt;/A&gt;&amp;nbsp;as productId&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 16 Oct 2023 16:14:09 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/rex-from-the-multivalue-fields-and-get-one-particular-value/m-p/660898#M228180</guid>
      <dc:creator>mikeyty07</dc:creator>
      <dc:date>2023-10-16T16:14:09Z</dc:date>
    </item>
    <item>
      <title>Re: rex from the multivalue fields and get one particular value</title>
      <link>https://community.splunk.com/t5/Splunk-Search/rex-from-the-multivalue-fields-and-get-one-particular-value/m-p/660910#M228183</link>
      <description>&lt;P&gt;Try like this (UPDATED)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| rex "http(s)*:\/\/([^\/]+\/)+customer\/(?&amp;lt;customerId&amp;gt;[^\/]+)\/product\/(?&amp;lt;productId&amp;gt;[^\/]+)"&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 16 Oct 2023 18:44:16 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/rex-from-the-multivalue-fields-and-get-one-particular-value/m-p/660910#M228183</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2023-10-16T18:44:16Z</dc:date>
    </item>
    <item>
      <title>Re: rex from the multivalue fields and get one particular value</title>
      <link>https://community.splunk.com/t5/Splunk-Search/rex-from-the-multivalue-fields-and-get-one-particular-value/m-p/660925#M228186</link>
      <description>&lt;P&gt;uri=&lt;A href="https://www-api.corp.google.com/google/com/customer/1015953/product/58870/create" target="_blank" rel="nofollow noopener noreferrer"&gt;https://www-api.corp.google.com/google/com/customer/1015953/product/58870/create?ac=n&lt;/A&gt;&lt;BR /&gt;I have the uri like this but the rex didnt show two new fields&lt;/P&gt;</description>
      <pubDate>Mon, 16 Oct 2023 18:18:04 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/rex-from-the-multivalue-fields-and-get-one-particular-value/m-p/660925#M228186</guid>
      <dc:creator>mikeyty07</dc:creator>
      <dc:date>2023-10-16T18:18:04Z</dc:date>
    </item>
    <item>
      <title>Re: rex from the multivalue fields and get one particular value</title>
      <link>https://community.splunk.com/t5/Splunk-Search/rex-from-the-multivalue-fields-and-get-one-particular-value/m-p/660927#M228187</link>
      <description>&lt;P&gt;I missed a colon in the regex. Added just now. Try the updated version.&lt;/P&gt;</description>
      <pubDate>Mon, 16 Oct 2023 18:44:46 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/rex-from-the-multivalue-fields-and-get-one-particular-value/m-p/660927#M228187</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2023-10-16T18:44:46Z</dc:date>
    </item>
    <item>
      <title>Re: rex from the multivalue fields and get one particular value</title>
      <link>https://community.splunk.com/t5/Splunk-Search/rex-from-the-multivalue-fields-and-get-one-particular-value/m-p/660932#M228188</link>
      <description>&lt;P&gt;thank you got the expected results&lt;/P&gt;</description>
      <pubDate>Mon, 16 Oct 2023 19:16:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/rex-from-the-multivalue-fields-and-get-one-particular-value/m-p/660932#M228188</guid>
      <dc:creator>mikeyty07</dc:creator>
      <dc:date>2023-10-16T19:16:35Z</dc:date>
    </item>
  </channel>
</rss>

