<?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 Extracting a number a my query not working in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Extracting-a-number-a-my-query-not-working/m-p/574850#M200323</link>
    <description>&lt;P&gt;Hi i have a log like this&amp;nbsp;&amp;nbsp;Elapsed time: prediction timer 0.1953 seconds&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;and i created a rex like this&amp;nbsp;rex "Elapsed\stime:\sprediction\stimer\s(?&amp;lt;predictionTime&amp;gt;\d+)\sseconds"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;but i am unable to find the value at all what am i missing here ? any help would be appreciated&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sun, 14 Nov 2021 19:12:43 GMT</pubDate>
    <dc:creator>ramkrishs</dc:creator>
    <dc:date>2021-11-14T19:12:43Z</dc:date>
    <item>
      <title>Extracting a number a my query not working</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Extracting-a-number-a-my-query-not-working/m-p/574850#M200323</link>
      <description>&lt;P&gt;Hi i have a log like this&amp;nbsp;&amp;nbsp;Elapsed time: prediction timer 0.1953 seconds&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;and i created a rex like this&amp;nbsp;rex "Elapsed\stime:\sprediction\stimer\s(?&amp;lt;predictionTime&amp;gt;\d+)\sseconds"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;but i am unable to find the value at all what am i missing here ? any help would be appreciated&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 14 Nov 2021 19:12:43 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Extracting-a-number-a-my-query-not-working/m-p/574850#M200323</guid>
      <dc:creator>ramkrishs</dc:creator>
      <dc:date>2021-11-14T19:12:43Z</dc:date>
    </item>
    <item>
      <title>Re: Extracting a number a my query not working</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Extracting-a-number-a-my-query-not-working/m-p/574853#M200325</link>
      <description>&lt;P&gt;Your regex specifies that your capture group consists of digits only (at least one digit) and then immediately you get a space.&lt;/P&gt;&lt;P&gt;In your event you have a decimal fraction as well.&lt;/P&gt;&lt;P&gt;So you need&lt;/P&gt;&lt;PRE&gt;\d+(\.\d+)?&lt;/PRE&gt;</description>
      <pubDate>Sun, 14 Nov 2021 19:22:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Extracting-a-number-a-my-query-not-working/m-p/574853#M200325</guid>
      <dc:creator>PickleRick</dc:creator>
      <dc:date>2021-11-14T19:22:26Z</dc:date>
    </item>
  </channel>
</rss>

