<?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: Extract fields from comma seperated list in All Apps and Add-ons</title>
    <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Extract-fields-from-comma-seperated-list/m-p/190501#M19451</link>
    <description>&lt;P&gt;Many thanks that was what I needed. I entered:&lt;/P&gt;

&lt;P&gt;(?i) Reason (?P&lt;FIELDNAME&gt;[^"]+)&lt;/FIELDNAME&gt;&lt;/P&gt;

&lt;P&gt;this and it pulled out all the Reason phrases&lt;/P&gt;</description>
    <pubDate>Fri, 06 Jun 2014 12:55:22 GMT</pubDate>
    <dc:creator>jbesant</dc:creator>
    <dc:date>2014-06-06T12:55:22Z</dc:date>
    <item>
      <title>Extract fields from comma seperated list</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Extract-fields-from-comma-seperated-list/m-p/190499#M19449</link>
      <description>&lt;P&gt;Hello, I've just started using Splunk and have managed to extract a few fields from my source to create graphs and a dashboard but I am struggling with the Regx for the following:&lt;/P&gt;

&lt;P&gt;04/06/2014 10:30:34,OEL_REPLEN_EVENT,sys_proc op_replen_sequencer,"Product code 71104449, Master TM 81117517, Insert TM 41030090, Quantity 4, Reason OTHER STOCK IN TRAY "&lt;/P&gt;

&lt;P&gt;I am trying to extract the information in the message that is between the quotes,i.e. Product Code, Master TM, Reason&lt;/P&gt;

&lt;P&gt;There are several different Reason which could be made up of anything between 2 and 4 words. In some cases there will be blank entries after Insert TM.&lt;/P&gt;

&lt;P&gt;Hope someone can help! Thanks.&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 16:48:28 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Extract-fields-from-comma-seperated-list/m-p/190499#M19449</guid>
      <dc:creator>jbesant</dc:creator>
      <dc:date>2020-09-28T16:48:28Z</dc:date>
    </item>
    <item>
      <title>Re: Extract fields from comma seperated list</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Extract-fields-from-comma-seperated-list/m-p/190500#M19450</link>
      <description>&lt;P&gt;If that's the first occurrence of double quotes you can use this regex:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;,"(?&amp;lt;quoted_field_name&amp;gt;[^"]+)"
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 06 Jun 2014 05:33:00 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Extract-fields-from-comma-seperated-list/m-p/190500#M19450</guid>
      <dc:creator>martin_mueller</dc:creator>
      <dc:date>2014-06-06T05:33:00Z</dc:date>
    </item>
    <item>
      <title>Re: Extract fields from comma seperated list</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Extract-fields-from-comma-seperated-list/m-p/190501#M19451</link>
      <description>&lt;P&gt;Many thanks that was what I needed. I entered:&lt;/P&gt;

&lt;P&gt;(?i) Reason (?P&lt;FIELDNAME&gt;[^"]+)&lt;/FIELDNAME&gt;&lt;/P&gt;

&lt;P&gt;this and it pulled out all the Reason phrases&lt;/P&gt;</description>
      <pubDate>Fri, 06 Jun 2014 12:55:22 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Extract-fields-from-comma-seperated-list/m-p/190501#M19451</guid>
      <dc:creator>jbesant</dc:creator>
      <dc:date>2014-06-06T12:55:22Z</dc:date>
    </item>
  </channel>
</rss>

