<?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: regular expression ( Alert) in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/regular-expression-Alert/m-p/94899#M24522</link>
    <description>&lt;P&gt;nice to see some some WAS and MQ action going on : )&lt;/P&gt;</description>
    <pubDate>Thu, 18 Oct 2012 20:12:04 GMT</pubDate>
    <dc:creator>jonuwz</dc:creator>
    <dc:date>2012-10-18T20:12:04Z</dc:date>
    <item>
      <title>regular expression ( Alert)</title>
      <link>https://community.splunk.com/t5/Splunk-Search/regular-expression-Alert/m-p/94897#M24520</link>
      <description>&lt;P&gt;I want to create an alert everytime that /p01 (and the rest of the file name which will vary) goes over 80%. There are different path names inside the file, but this is what im trying to extract: (Werid Spacing)&lt;/P&gt;

&lt;P&gt;This is the rex that i have so far:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[0-9][0-9]%(?&amp;lt;cname&amp;gt;./p0\S+)




                      14G  9.6G  3.6G  73% /p01
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;/dev/mapper/data-mqmlv&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;                  4.0G   46M  3.7G   2% /p01/app/mqm
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;/dev/mapper/data-wilylv&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;                  5.0G  1.1G  3.7G  22% /p01/app/wily
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;/dev/dasd1          23G  6.1G   15G  29% /p01/app/was/appserver/70&lt;/P&gt;</description>
      <pubDate>Thu, 18 Oct 2012 15:42:37 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/regular-expression-Alert/m-p/94897#M24520</guid>
      <dc:creator>Michael_Schyma1</dc:creator>
      <dc:date>2012-10-18T15:42:37Z</dc:date>
    </item>
    <item>
      <title>Re: regular expression ( Alert)</title>
      <link>https://community.splunk.com/t5/Splunk-Search/regular-expression-Alert/m-p/94898#M24521</link>
      <description>&lt;PRE&gt;&lt;CODE&gt;(?&amp;lt;disk_full_perc&amp;gt;[0-9]{1,3})%\s+(?=/p01)(?&amp;lt;mount_point&amp;gt;.*$)
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;&lt;CODE&gt;(?&amp;lt;disk_full_perc&amp;gt;[0-9]{1,3})%&lt;/CODE&gt;&lt;BR /&gt;&lt;BR /&gt;
Look for 1-3digits follwoed by a % - assign to disk_full_perc    &lt;/P&gt;

&lt;P&gt;&lt;CODE&gt;\s+&lt;/CODE&gt;&lt;BR /&gt;&lt;BR /&gt;
allow some whitespace  &lt;/P&gt;

&lt;P&gt;&lt;CODE&gt;(?=/p01)&lt;/CODE&gt;&lt;BR /&gt;&lt;BR /&gt;
assert the next part of the string is /p01 (without the regex actually moving ahead)    &lt;/P&gt;

&lt;P&gt;&lt;CODE&gt;(?&amp;lt;mount_point&amp;gt;.*$)&lt;/CODE&gt;&lt;BR /&gt;&lt;BR /&gt;
stick from /p01 to the end of the line in mount_point &lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 12:39:07 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/regular-expression-Alert/m-p/94898#M24521</guid>
      <dc:creator>jonuwz</dc:creator>
      <dc:date>2020-09-28T12:39:07Z</dc:date>
    </item>
    <item>
      <title>Re: regular expression ( Alert)</title>
      <link>https://community.splunk.com/t5/Splunk-Search/regular-expression-Alert/m-p/94899#M24522</link>
      <description>&lt;P&gt;nice to see some some WAS and MQ action going on : )&lt;/P&gt;</description>
      <pubDate>Thu, 18 Oct 2012 20:12:04 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/regular-expression-Alert/m-p/94899#M24522</guid>
      <dc:creator>jonuwz</dc:creator>
      <dc:date>2012-10-18T20:12:04Z</dc:date>
    </item>
  </channel>
</rss>

