<?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 do I extract a comma separated field during search? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-do-I-extract-a-comma-separated-field-during-search/m-p/32491#M6775</link>
    <description>&lt;P&gt;Works perfect! Thanks!&lt;/P&gt;</description>
    <pubDate>Fri, 15 Feb 2013 08:05:40 GMT</pubDate>
    <dc:creator>andyk</dc:creator>
    <dc:date>2013-02-15T08:05:40Z</dc:date>
    <item>
      <title>How do I extract a comma separated field during search?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-I-extract-a-comma-separated-field-during-search/m-p/32488#M6772</link>
      <description>&lt;P&gt;I have event data in Splunk that look like this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;2013-02-14 11:32:46.4314 app=ws3 sev=INFO mid=1325748 , Fooo, Barr, , 7 rue de fuubarr, , 44540, xx zzz la yyyyy, , FR, ENG, , 1031, EUR,,,
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;I need to do an Ad Hoc report that count the events grouped by country. The country information is in the filed that contains "FR" in this example event.&lt;/P&gt;</description>
      <pubDate>Thu, 14 Feb 2013 14:50:40 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-I-extract-a-comma-separated-field-during-search/m-p/32488#M6772</guid>
      <dc:creator>andyk</dc:creator>
      <dc:date>2013-02-14T14:50:40Z</dc:date>
    </item>
    <item>
      <title>Re: How do I extract a comma separated field during search?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-I-extract-a-comma-separated-field-during-search/m-p/32489#M6773</link>
      <description>&lt;P&gt;Assuming all of your data has the same format:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;{ search criteria } 
| rex field=_raw "^([^,]+,){9} +(?&amp;lt;country&amp;gt;[^,]+)"
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 14 Feb 2013 16:02:02 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-I-extract-a-comma-separated-field-during-search/m-p/32489#M6773</guid>
      <dc:creator>jeff</dc:creator>
      <dc:date>2013-02-14T16:02:02Z</dc:date>
    </item>
    <item>
      <title>Re: How do I extract a comma separated field during search?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-I-extract-a-comma-separated-field-during-search/m-p/32490#M6774</link>
      <description>&lt;P&gt;Nicely done!&lt;/P&gt;</description>
      <pubDate>Thu, 14 Feb 2013 16:34:15 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-I-extract-a-comma-separated-field-during-search/m-p/32490#M6774</guid>
      <dc:creator>Rob</dc:creator>
      <dc:date>2013-02-14T16:34:15Z</dc:date>
    </item>
    <item>
      <title>Re: How do I extract a comma separated field during search?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-I-extract-a-comma-separated-field-during-search/m-p/32491#M6775</link>
      <description>&lt;P&gt;Works perfect! Thanks!&lt;/P&gt;</description>
      <pubDate>Fri, 15 Feb 2013 08:05:40 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-I-extract-a-comma-separated-field-during-search/m-p/32491#M6775</guid>
      <dc:creator>andyk</dc:creator>
      <dc:date>2013-02-15T08:05:40Z</dc:date>
    </item>
    <item>
      <title>Re: How do I extract a comma separated field during search?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-I-extract-a-comma-separated-field-during-search/m-p/32492#M6776</link>
      <description>&lt;P&gt;hi @jeff  @andyk : I have 3 fields(Key, Version, Date)  seperated by comma and records(can be many) seperated by ;(semicolon). &lt;/P&gt;

&lt;P&gt;Example: pgn-aemrules,1.1,2020-04-02;pgn-csharp,8.4 (build 15306),2020-02-21;pgn-csharp,8.5 (build 15942),2020-03-16;&lt;/P&gt;

&lt;P&gt;I am trying to extract the 3 fields and display as a table in splunk. Please help.&lt;/P&gt;</description>
      <pubDate>Wed, 20 May 2020 09:42:56 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-I-extract-a-comma-separated-field-during-search/m-p/32492#M6776</guid>
      <dc:creator>rsantkumar</dc:creator>
      <dc:date>2020-05-20T09:42:56Z</dc:date>
    </item>
    <item>
      <title>Re: How do I extract a comma separated field during search?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-I-extract-a-comma-separated-field-during-search/m-p/32493#M6777</link>
      <description>&lt;P&gt;hi @jeff  @andyk @Rob : I have 3 fields(Key, Version, Date)  seperated by comma and records(can be many) seperated by ;(semicolon). &lt;/P&gt;

&lt;P&gt;Example: pgn-aemrules,1.1,2020-04-02;pgn-csharp,8.4 (build 15306),2020-02-21;pgn-csharp,8.5 (build 15942),2020-03-16;&lt;/P&gt;

&lt;P&gt;I am trying to extract the 3 fields and display as a table in splunk. Please help.&lt;/P&gt;</description>
      <pubDate>Wed, 20 May 2020 09:43:23 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-I-extract-a-comma-separated-field-during-search/m-p/32493#M6777</guid>
      <dc:creator>rsantkumar</dc:creator>
      <dc:date>2020-05-20T09:43:23Z</dc:date>
    </item>
  </channel>
</rss>

