<?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: Need help with rex command in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Need-help-with-rex-command/m-p/469951#M132261</link>
    <description>&lt;PRE&gt;&lt;CODE&gt;|rex "(?&amp;lt;youWant&amp;gt;\d{5,})"
&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Mon, 10 Feb 2020 22:08:56 GMT</pubDate>
    <dc:creator>to4kawa</dc:creator>
    <dc:date>2020-02-10T22:08:56Z</dc:date>
    <item>
      <title>Need help with rex command</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Need-help-with-rex-command/m-p/469950#M132260</link>
      <description>&lt;P&gt;Hello I'm trying to run a rex command to extract "is set to expire" &lt;/P&gt;

&lt;P&gt;Relying party trust 'ButterCup Games - Test'&lt;BR /&gt;
xxxxx: Signing certificate with thumbprint '1111111111111111111111' is set to expire on 2/13/2020 6:59:59 PM.&lt;/P&gt;</description>
      <pubDate>Mon, 10 Feb 2020 21:41:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Need-help-with-rex-command/m-p/469950#M132260</guid>
      <dc:creator>locose</dc:creator>
      <dc:date>2020-02-10T21:41:52Z</dc:date>
    </item>
    <item>
      <title>Re: Need help with rex command</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Need-help-with-rex-command/m-p/469951#M132261</link>
      <description>&lt;PRE&gt;&lt;CODE&gt;|rex "(?&amp;lt;youWant&amp;gt;\d{5,})"
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 10 Feb 2020 22:08:56 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Need-help-with-rex-command/m-p/469951#M132261</guid>
      <dc:creator>to4kawa</dc:creator>
      <dc:date>2020-02-10T22:08:56Z</dc:date>
    </item>
    <item>
      <title>Re: Need help with rex command</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Need-help-with-rex-command/m-p/469952#M132262</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;

&lt;P&gt;If you want to extract date/time, please try the following&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| makeresults 
| eval temp="xxxxx: Signing certificate with thumbprint '1111111111111111111111' is set to expire on 2/13/2020 6:59:59 PM." 
| rex field=temp "set to expire on\s(?P&amp;lt;expireon&amp;gt;\d{1,2}\/\d{1,2}\/\d{4}\s\d{1,2}\:\d{1,2}\:\d{1,2}\s(AM|PM))"
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 11 Feb 2020 01:54:04 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Need-help-with-rex-command/m-p/469952#M132262</guid>
      <dc:creator>vnravikumar</dc:creator>
      <dc:date>2020-02-11T01:54:04Z</dc:date>
    </item>
  </channel>
</rss>

