[syslog-ng]Problem with Match()
Dan Edwards
syslog-ng@lists.balabit.hu
Fri, 18 Apr 2003 17:29:11 -0400
This is a multi-part message in MIME format.
------=_NextPart_000_0029_01C305D0.06910690
Content-Type: text/plain;
charset="us-ascii"
Content-Transfer-Encoding: 7bit
When attempting to use the match(".asx") in my filter it is returning
anything with "asx". I only need to return those lines with the period
before the asx, hence a file extension. For some reason syslog-ng seems
to ignore my specification of the . before the asx. I have tried
searching with ..asx and \.asx and /.asx but doesn't seem to work no
matter what I do. Any suggestions?
Dan Edwards
Network Specialist
A. Duda & Sons, Inc.
------=_NextPart_000_0029_01C305D0.06910690
Content-Type: text/html;
charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
<html>
<head>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Dus-ascii">
<meta name=3DGenerator content=3D"Microsoft Word 10 (filtered)">
<style>
<!--
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman";}
a:link, span.MsoHyperlink
{color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{color:purple;
text-decoration:underline;}
span.EmailStyle17
{font-family:Arial;
color:windowtext;}
@page Section1
{size:8.5in 11.0in;
margin:1.0in 1.25in 1.0in 1.25in;}
div.Section1
{page:Section1;}
-->
</style>
</head>
<body lang=3DEN-US link=3Dblue vlink=3Dpurple>
<div class=3DSection1>
<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>When attempting to use the match(“.asx”) =
in my
filter it is returning anything with “asx”. I only =
need to
return those lines with the period before the asx, hence a file
extension. For some reason syslog-ng seems to ignore my =
specification of the
. before the asx. I have tried searching with ..asx and \.asx and =
/.asx
but doesn’t seem to work no matter what I do. Any =
suggestions?</span></font></p>
<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'> </span></font></p>
<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>Dan Edwards</span></font></p>
<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>Network Specialist</span></font></p>
<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>A. Duda & Sons, Inc.</span></font></p>
<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:
12.0pt'> </span></font></p>
</div>
</body>
</html>
------=_NextPart_000_0029_01C305D0.06910690--