<?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: Help with rex expression to capture time in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Help-with-rex-expression-to-capture-time/m-p/158533#M44675</link>
    <description>&lt;P&gt;Thx for the input. i have tried the other solution and it worked.&lt;/P&gt;</description>
    <pubDate>Fri, 25 Jul 2014 19:28:45 GMT</pubDate>
    <dc:creator>xvxt006</dc:creator>
    <dc:date>2014-07-25T19:28:45Z</dc:date>
    <item>
      <title>Help with rex expression to capture time</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Help-with-rex-expression-to-capture-time/m-p/158530#M44672</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;i have an event like below after ms there is a line break and some other text. &lt;BR /&gt;
i want to capture that time. i have tried the below expression but it did not work. Any suggestions? &lt;/P&gt;

&lt;P&gt;INFO: Server will startup in 2131 ms&lt;BR /&gt;
sdfsfsdfsdfsff&lt;/P&gt;

&lt;P&gt;expression i have used: rex field=_raw "(?i) .&lt;EM&gt;? Server will startup  in (?P&lt;FIELDNAME&gt;.&lt;/FIELDNAME&gt;&lt;/EM&gt;?)(?=ms)"&lt;/P&gt;</description>
      <pubDate>Fri, 25 Jul 2014 19:04:48 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Help-with-rex-expression-to-capture-time/m-p/158530#M44672</guid>
      <dc:creator>xvxt006</dc:creator>
      <dc:date>2014-07-25T19:04:48Z</dc:date>
    </item>
    <item>
      <title>Re: Help with rex expression to capture time</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Help-with-rex-expression-to-capture-time/m-p/158531#M44673</link>
      <description>&lt;P&gt;Just needed a slight adjustment to your regex:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;(?P&amp;lt;fieldname&amp;gt;\d+)(?=\sms)
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 25 Jul 2014 19:17:58 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Help-with-rex-expression-to-capture-time/m-p/158531#M44673</guid>
      <dc:creator>sbrant_splunk</dc:creator>
      <dc:date>2014-07-25T19:17:58Z</dc:date>
    </item>
    <item>
      <title>Re: Help with rex expression to capture time</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Help-with-rex-expression-to-capture-time/m-p/158532#M44674</link>
      <description>&lt;P&gt;INFO: Server will startup in (.*)&lt;/P&gt;

&lt;P&gt;I tried it in pythex and it worked&lt;/P&gt;</description>
      <pubDate>Fri, 25 Jul 2014 19:22:48 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Help-with-rex-expression-to-capture-time/m-p/158532#M44674</guid>
      <dc:creator>strive</dc:creator>
      <dc:date>2014-07-25T19:22:48Z</dc:date>
    </item>
    <item>
      <title>Re: Help with rex expression to capture time</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Help-with-rex-expression-to-capture-time/m-p/158533#M44675</link>
      <description>&lt;P&gt;Thx for the input. i have tried the other solution and it worked.&lt;/P&gt;</description>
      <pubDate>Fri, 25 Jul 2014 19:28:45 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Help-with-rex-expression-to-capture-time/m-p/158533#M44675</guid>
      <dc:creator>xvxt006</dc:creator>
      <dc:date>2014-07-25T19:28:45Z</dc:date>
    </item>
    <item>
      <title>Re: Help with rex expression to capture time</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Help-with-rex-expression-to-capture-time/m-p/158534#M44676</link>
      <description>&lt;P&gt;Thx. This worked&lt;/P&gt;</description>
      <pubDate>Fri, 25 Jul 2014 19:28:55 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Help-with-rex-expression-to-capture-time/m-p/158534#M44676</guid>
      <dc:creator>xvxt006</dc:creator>
      <dc:date>2014-07-25T19:28:55Z</dc:date>
    </item>
  </channel>
</rss>

