<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE lire:global-filter-spec PUBLIC
  "-//LogReport.ORG//DTD Lire Report Specification Markup Language V1.0//EN"
  "http://www.logreport.org/LRSML/1.0/lrsml.dtd">
<lire:global-filter-spec xmlns:lire="http://www.logreport.org/LRSML/"
 id="select-message" superservice="syslog">

 <lire:title>Select Message Filter</lire:title>

 <lire:description>
  <para>This filter can be used to select
   <structname>syslog</structname> records based on the content of the
   <structfield>message</structfield> field.
  </para>
 </lire:description>

 <lire:param-spec>
  <lire:param name="message_match" type="string" default=".*">
   <lire:description>
    <para>Only records for which the
     <structfield>message</structfield> field matches that regular
     expression will be selected. The match is case insensitive.
    </para>
   </lire:description>
  </lire:param>
 </lire:param-spec>

 <lire:display-spec>
  <lire:title>messages matching $message_match</lire:title>
 </lire:display-spec>

 <lire:filter-spec>
  <lire:match value="$message" re="$message_match" case-sensitive="false"/>
 </lire:filter-spec>

</lire:global-filter-spec>
