<?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: Why is the rex capture not working? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Why-is-the-rex-capture-not-working/m-p/470773#M132437</link>
    <description>&lt;P&gt;Hi Giuseppe,&lt;/P&gt;

&lt;P&gt;Thanks after adding it working, could you please let me know the purpose of adding &lt;CODE&gt;(?ms)&lt;/CODE&gt; at the beginning of the regex.&lt;/P&gt;

&lt;P&gt;Regards,&lt;BR /&gt;
Naresh&lt;/P&gt;</description>
    <pubDate>Tue, 03 Sep 2019 15:37:26 GMT</pubDate>
    <dc:creator>nareshkumar1985</dc:creator>
    <dc:date>2019-09-03T15:37:26Z</dc:date>
    <item>
      <title>Why is the rex capture not working?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Why-is-the-rex-capture-not-working/m-p/470771#M132435</link>
      <description>&lt;P&gt;Hi All,&lt;BR /&gt;
I am trying to capture line starting with a number, I have created a regex and tested it in regex101 site and it is working as expected but when I used the same in Splunk using rex it is failing to capture and the result is blank.&lt;/P&gt;

&lt;P&gt;&lt;A href="https://regex101.com/r/OLUh4A/1"&gt;https://regex101.com/r/OLUh4A/1&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;Text:&lt;/STRONG&gt;&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;Cluster GUID: xxxxxxxxxxxxxxx
Sender OneFS Version: Isilon OneFS v8.0.0.6 B_MR_8_0_0_6_117(RELEASE)
Sender Serial Number: xxxxxxx


Node 5 Eventgroups
------------------------------------------------------------------------
OneFS Version: Isilon OneFS v8.0.0.6 B_MR_8_0_0_6_117(RELEASE)
Serial Number: xxxxxxxx
------------------------------------------------------------------------
ID           Started        Sev  Message
------------------------------------------------------------------------
136486 09/02 03:33    I    SmartQuotas threshold violation on quota exceeded, 
domain directory /xx/xxxxxxx/NAM/xxxxx/xxxxxx/Cisco


Attachment Manifest:
Attached:
events-000e1ea5fexxxxxx-xxxxxxxxx.xml
quotaexceeded.35738

 - events-000e1eaxxxxxxxxdccc983-xxxxxx.xml - 
quotaexceeded.35738
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;&lt;STRONG&gt;Regex used :&lt;/STRONG&gt; &lt;CODE&gt;[\s\S]*(?&amp;lt;ID&amp;gt;^\d{1,})\s(?&amp;lt;time&amp;gt;\d{2}\/\d{2}\s\d{2}:\d{2})\s{1,}(?&amp;lt;sev&amp;gt;\w)\s{1,}(?&amp;lt;message&amp;gt;[\s\S]*)Attachment\sManifest:[\s\S]*&lt;/CODE&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 03 Sep 2019 15:02:14 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Why-is-the-rex-capture-not-working/m-p/470771#M132435</guid>
      <dc:creator>nareshkumar1985</dc:creator>
      <dc:date>2019-09-03T15:02:14Z</dc:date>
    </item>
    <item>
      <title>Re: Why is the rex capture not working?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Why-is-the-rex-capture-not-working/m-p/470772#M132436</link>
      <description>&lt;P&gt;Hi nareshkumar1985,&lt;BR /&gt;
did you already tried to add &lt;CODE&gt;(?ms)&lt;/CODE&gt; at the beginning of your regex?&lt;/P&gt;

&lt;P&gt;bye.&lt;BR /&gt;
Giuseppe&lt;/P&gt;</description>
      <pubDate>Tue, 03 Sep 2019 15:30:03 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Why-is-the-rex-capture-not-working/m-p/470772#M132436</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2019-09-03T15:30:03Z</dc:date>
    </item>
    <item>
      <title>Re: Why is the rex capture not working?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Why-is-the-rex-capture-not-working/m-p/470773#M132437</link>
      <description>&lt;P&gt;Hi Giuseppe,&lt;/P&gt;

&lt;P&gt;Thanks after adding it working, could you please let me know the purpose of adding &lt;CODE&gt;(?ms)&lt;/CODE&gt; at the beginning of the regex.&lt;/P&gt;

&lt;P&gt;Regards,&lt;BR /&gt;
Naresh&lt;/P&gt;</description>
      <pubDate>Tue, 03 Sep 2019 15:37:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Why-is-the-rex-capture-not-working/m-p/470773#M132437</guid>
      <dc:creator>nareshkumar1985</dc:creator>
      <dc:date>2019-09-03T15:37:26Z</dc:date>
    </item>
    <item>
      <title>Re: Why is the rex capture not working?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Why-is-the-rex-capture-not-working/m-p/470774#M132438</link>
      <description>&lt;P&gt;in regex101 there are (on the right  of the regex box) the regex options (/gm) that you need to insert in your regex in Splunk.&lt;BR /&gt;
Bye.&lt;BR /&gt;
Giuseppe&lt;/P&gt;</description>
      <pubDate>Tue, 03 Sep 2019 15:42:51 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Why-is-the-rex-capture-not-working/m-p/470774#M132438</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2019-09-03T15:42:51Z</dc:date>
    </item>
    <item>
      <title>Re: Why is the rex capture not working?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Why-is-the-rex-capture-not-working/m-p/470775#M132439</link>
      <description>&lt;P&gt;Thank you, Giuseppe&lt;/P&gt;</description>
      <pubDate>Tue, 03 Sep 2019 17:49:31 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Why-is-the-rex-capture-not-working/m-p/470775#M132439</guid>
      <dc:creator>nareshkumar1985</dc:creator>
      <dc:date>2019-09-03T17:49:31Z</dc:date>
    </item>
  </channel>
</rss>

