<?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 all values after &amp;quot;,&amp;quot; in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-to-extract-all-values-after-quot-quot/m-p/406343#M117456</link>
    <description>&lt;P&gt;I used this and not working : &lt;BR /&gt;
&lt;span class="lia-inline-image-display-wrapper" image-alt="alt text"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/7157i837088F9BD4309E3/image-size/large?v=v2&amp;amp;px=999" role="button" title="alt text" alt="alt text" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 06 Jun 2019 13:36:04 GMT</pubDate>
    <dc:creator>braicu</dc:creator>
    <dc:date>2019-06-06T13:36:04Z</dc:date>
    <item>
      <title>How to extract all values after ","</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-extract-all-values-after-quot-quot/m-p/406342#M117455</link>
      <description>&lt;P&gt;Hello all , &lt;BR /&gt;
Please help me to extract all values from this field :&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;arn:aws:iam::aws:policy/AmazonEC2FullAccess,AmazonEC2FullAccess
arn:aws:iam::aws:policy/CloudWatchActionsEC2Access,CloudWatchActionsEC2Access
arn:aws:iam::aws:policy/AmazonSNSReadOnlyAccess,AmazonSNSReadOnlyAccess
arn:aws:iam::aws:policy/CloudWatchLogsFullAccess,CloudWatchLogsFullAccess
arn:aws:iam::aws:policy/AmazonSSMFullAccess,AmazonSSMFullAccess
arn:aws:iam::aws:policy/CloudWatchEventsFullAccess,CloudWatchEventsFullAccess
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;I am not sure why are shown the policies twice, but I need the new column to be :&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;AmazonEC2FullAccess
CloudWatchActionsEC2Access
AmazonSNSReadOnlyAccess
CloudWatchLogsFullAccess
AmazonSSMFullAccess
CloudWatchEventsFullAccess
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;I used  &lt;CODE&gt;| rex max_match=0 field=attachedPolicies "(?(?&amp;lt;=,)[^\/]+$)"&lt;/CODE&gt;  , but it is not working it extract me the last value, and I need all the values of the field:&lt;BR /&gt;
&lt;CODE&gt;CloudWatchEventsFullAccess&lt;/CODE&gt; &lt;BR /&gt;
Please help.&lt;/P&gt;</description>
      <pubDate>Thu, 06 Jun 2019 13:29:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-extract-all-values-after-quot-quot/m-p/406342#M117455</guid>
      <dc:creator>braicu</dc:creator>
      <dc:date>2019-06-06T13:29:26Z</dc:date>
    </item>
    <item>
      <title>Re: How to extract all values after ","</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-extract-all-values-after-quot-quot/m-p/406343#M117456</link>
      <description>&lt;P&gt;I used this and not working : &lt;BR /&gt;
&lt;span class="lia-inline-image-display-wrapper" image-alt="alt text"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/7157i837088F9BD4309E3/image-size/large?v=v2&amp;amp;px=999" role="button" title="alt text" alt="alt text" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 06 Jun 2019 13:36:04 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-extract-all-values-after-quot-quot/m-p/406343#M117456</guid>
      <dc:creator>braicu</dc:creator>
      <dc:date>2019-06-06T13:36:04Z</dc:date>
    </item>
    <item>
      <title>Re: How to extract all values after ","</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-extract-all-values-after-quot-quot/m-p/406344#M117457</link>
      <description>&lt;P&gt;@braicu&lt;/P&gt;

&lt;P&gt;You have not specified field name that will be extracted. Try:  &lt;CODE&gt;| rex max_match=0 field=attachedPolicies ".*\/(?&amp;lt;new_field&amp;gt;.*)"&lt;/CODE&gt;.&lt;BR /&gt;
Please check here: &lt;A href="https://regex101.com/r/nyQXnb/1"&gt;https://regex101.com/r/nyQXnb/1&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;Hope this helps!!!&lt;/P&gt;</description>
      <pubDate>Thu, 06 Jun 2019 13:40:18 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-extract-all-values-after-quot-quot/m-p/406344#M117457</guid>
      <dc:creator>VatsalJagani</dc:creator>
      <dc:date>2019-06-06T13:40:18Z</dc:date>
    </item>
    <item>
      <title>Re: How to extract all values after ","</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-extract-all-values-after-quot-quot/m-p/406345#M117458</link>
      <description>&lt;P&gt;Thank you so much , it worked !&lt;/P&gt;</description>
      <pubDate>Thu, 06 Jun 2019 13:48:25 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-extract-all-values-after-quot-quot/m-p/406345#M117458</guid>
      <dc:creator>braicu</dc:creator>
      <dc:date>2019-06-06T13:48:25Z</dc:date>
    </item>
  </channel>
</rss>

