<?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 match multi-line event in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/match-multi-line-event/m-p/65452#M13142</link>
    <description>&lt;P&gt;I am indexing multi-line events and would like to exclude events like the following:&lt;/P&gt;

&lt;P&gt;2012-12-04 16:29:22.402 Some text failed:&lt;BR /&gt;
From: ExecuteViewBasedLookupCC::Execute&lt;BR /&gt;
Type: LogicError&lt;BR /&gt;
Severity: Critical&lt;BR /&gt;
Text: (vector (Null-null) 3.60206e+11 )&lt;/P&gt;

&lt;P&gt;The rule for excluding events is the text ExecuteViewBasedLookupCC followed by (Null-null). I am using the following regular expression to match this event and redirect it to nullQueue:&lt;/P&gt;

&lt;P&gt;REGEX=(?m)^.*ExecuteViewBasedLookupCC(?=.*(Null-null))&lt;/P&gt;

&lt;P&gt;However it is not working. Any ideas please?&lt;/P&gt;</description>
    <pubDate>Mon, 17 Dec 2012 09:38:23 GMT</pubDate>
    <dc:creator>bob87</dc:creator>
    <dc:date>2012-12-17T09:38:23Z</dc:date>
    <item>
      <title>match multi-line event</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/match-multi-line-event/m-p/65452#M13142</link>
      <description>&lt;P&gt;I am indexing multi-line events and would like to exclude events like the following:&lt;/P&gt;

&lt;P&gt;2012-12-04 16:29:22.402 Some text failed:&lt;BR /&gt;
From: ExecuteViewBasedLookupCC::Execute&lt;BR /&gt;
Type: LogicError&lt;BR /&gt;
Severity: Critical&lt;BR /&gt;
Text: (vector (Null-null) 3.60206e+11 )&lt;/P&gt;

&lt;P&gt;The rule for excluding events is the text ExecuteViewBasedLookupCC followed by (Null-null). I am using the following regular expression to match this event and redirect it to nullQueue:&lt;/P&gt;

&lt;P&gt;REGEX=(?m)^.*ExecuteViewBasedLookupCC(?=.*(Null-null))&lt;/P&gt;

&lt;P&gt;However it is not working. Any ideas please?&lt;/P&gt;</description>
      <pubDate>Mon, 17 Dec 2012 09:38:23 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/match-multi-line-event/m-p/65452#M13142</guid>
      <dc:creator>bob87</dc:creator>
      <dc:date>2012-12-17T09:38:23Z</dc:date>
    </item>
    <item>
      <title>Re: match multi-line event</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/match-multi-line-event/m-p/65453#M13143</link>
      <description>&lt;P&gt;You need to use the &lt;CODE&gt;s&lt;/CODE&gt; modifier as well in order to have the dot match newlines. So (?ms)&lt;/P&gt;

&lt;P&gt;&lt;A href="http://www.regular-expressions.info/modifiers.html"&gt;http://www.regular-expressions.info/modifiers.html&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 17 Dec 2012 10:14:14 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/match-multi-line-event/m-p/65453#M13143</guid>
      <dc:creator>Ayn</dc:creator>
      <dc:date>2012-12-17T10:14:14Z</dc:date>
    </item>
    <item>
      <title>Re: match multi-line event</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/match-multi-line-event/m-p/65454#M13144</link>
      <description>&lt;P&gt;thanks, that worked!&lt;/P&gt;</description>
      <pubDate>Mon, 17 Dec 2012 11:25:21 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/match-multi-line-event/m-p/65454#M13144</guid>
      <dc:creator>bob87</dc:creator>
      <dc:date>2012-12-17T11:25:21Z</dc:date>
    </item>
  </channel>
</rss>

