<?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 write regex for rex command to extract value after a colon? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-to-write-regex-for-rex-command-to-extract-value-after-a/m-p/197949#M57231</link>
    <description>&lt;PRE&gt;&lt;CODE&gt;... | rex "API\s\:\sIO\sET\s\:\"(?&amp;lt;myvalue&amp;gt;\d+)ms\"" | table myvalue
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;That will also capture based on the text match before, leading up to the quotes, capture in the quotes up to the ms label.&lt;/P&gt;</description>
    <pubDate>Fri, 06 Feb 2015 04:00:26 GMT</pubDate>
    <dc:creator>esix_splunk</dc:creator>
    <dc:date>2015-02-06T04:00:26Z</dc:date>
    <item>
      <title>How to write regex for rex command to extract value after a colon?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-write-regex-for-rex-command-to-extract-value-after-a/m-p/197947#M57229</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt;
 Can any one help me how to display the below  value which is in double quotation using rex command&lt;BR /&gt;
 API : IO ET :"2465ms"&lt;/P&gt;</description>
      <pubDate>Thu, 28 Aug 2014 18:55:05 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-write-regex-for-rex-command-to-extract-value-after-a/m-p/197947#M57229</guid>
      <dc:creator>valameti</dc:creator>
      <dc:date>2014-08-28T18:55:05Z</dc:date>
    </item>
    <item>
      <title>Re: How to write regex for rex command to extract value after a colon?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-write-regex-for-rex-command-to-extract-value-after-a/m-p/197948#M57230</link>
      <description>&lt;PRE&gt;
....| rex "(?i)\s\:\"(?P&lt;DURATION&gt;.*?\d+ms)\W" | table DURATION
&lt;/DURATION&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 28 Aug 2014 19:23:44 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-write-regex-for-rex-command-to-extract-value-after-a/m-p/197948#M57230</guid>
      <dc:creator>pradeepkumarg</dc:creator>
      <dc:date>2014-08-28T19:23:44Z</dc:date>
    </item>
    <item>
      <title>Re: How to write regex for rex command to extract value after a colon?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-write-regex-for-rex-command-to-extract-value-after-a/m-p/197949#M57231</link>
      <description>&lt;PRE&gt;&lt;CODE&gt;... | rex "API\s\:\sIO\sET\s\:\"(?&amp;lt;myvalue&amp;gt;\d+)ms\"" | table myvalue
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;That will also capture based on the text match before, leading up to the quotes, capture in the quotes up to the ms label.&lt;/P&gt;</description>
      <pubDate>Fri, 06 Feb 2015 04:00:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-write-regex-for-rex-command-to-extract-value-after-a/m-p/197949#M57231</guid>
      <dc:creator>esix_splunk</dc:creator>
      <dc:date>2015-02-06T04:00:26Z</dc:date>
    </item>
  </channel>
</rss>

