<?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 only one value in a regex search? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-to-extract-only-one-value-in-a-regex-search/m-p/468474#M131910</link>
    <description>&lt;P&gt;you can try &lt;CODE&gt;\.{70}(?&amp;lt;num&amp;gt;\d+)&lt;/CODE&gt; if the periods are always 70 in count. or &lt;CODE&gt;\.(?&amp;lt;num&amp;gt;\d+)\s+ms&lt;/CODE&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 02 Jun 2020 20:41:15 GMT</pubDate>
    <dc:creator>jscraig2006</dc:creator>
    <dc:date>2020-06-02T20:41:15Z</dc:date>
    <item>
      <title>How to extract only one value in a regex search?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-extract-only-one-value-in-a-regex-search/m-p/468473#M131909</link>
      <description>&lt;P&gt;How do I get only the value that is before the ms?&lt;BR /&gt;
Remember that this log is multiline, each statement is an event.&lt;/P&gt;

&lt;P&gt;Ex: 13657, 5469, 6000&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;2020-06-02 18:01:04,331 INFO  ect-1-1rere872 25000 Execution Info
+[Job_ExtractICON].......................................................................13657 ms. Invocations 1
2020-06-02 17:48:40,449 INFO  ecp-2-14343527 25000 Execution Info
+[Job_ExtractICON].................................................................................5469 ms. Invocations 1
2020-06-02 17:45:27,697 INFO  ecj-1-16576 25000 Execution Info
+[Job_ExtractICON]...........................................................................6000 ms. Invocations 1
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 02 Jun 2020 18:12:44 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-extract-only-one-value-in-a-regex-search/m-p/468473#M131909</guid>
      <dc:creator>leandrodematosp</dc:creator>
      <dc:date>2020-06-02T18:12:44Z</dc:date>
    </item>
    <item>
      <title>Re: How to extract only one value in a regex search?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-extract-only-one-value-in-a-regex-search/m-p/468474#M131910</link>
      <description>&lt;P&gt;you can try &lt;CODE&gt;\.{70}(?&amp;lt;num&amp;gt;\d+)&lt;/CODE&gt; if the periods are always 70 in count. or &lt;CODE&gt;\.(?&amp;lt;num&amp;gt;\d+)\s+ms&lt;/CODE&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 02 Jun 2020 20:41:15 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-extract-only-one-value-in-a-regex-search/m-p/468474#M131910</guid>
      <dc:creator>jscraig2006</dc:creator>
      <dc:date>2020-06-02T20:41:15Z</dc:date>
    </item>
    <item>
      <title>Re: How to extract only one value in a regex search?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-extract-only-one-value-in-a-regex-search/m-p/468475#M131911</link>
      <description>&lt;P&gt;Hi&lt;BR /&gt;
you can try something like this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| rex "(?ms)(?&amp;lt;time&amp;gt;\d+)\s+ms\."
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;that you can test at &lt;A href="https://regex101.com/r/qjVfQW/1"&gt;https://regex101.com/r/qjVfQW/1&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;Ciao.&lt;BR /&gt;
Giuseppe&lt;/P&gt;</description>
      <pubDate>Wed, 03 Jun 2020 06:41:10 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-extract-only-one-value-in-a-regex-search/m-p/468475#M131911</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2020-06-03T06:41:10Z</dc:date>
    </item>
  </channel>
</rss>

