Removing Unmatched Entries from logwatch
Khodor Barakat <[email protected]> Fri, 31 Mar 2023 17:31:54 +0000
| Newsgroups | gmane.comp.log.logwatch.devel |
|---|---|
| Message-ID | <YT3P288MB0048C99BB11085918DD8996AD48F9@YT3P288MB0048.CANP288.PROD.OUTLOOK.COM> |
--===============0605235099011728502==
Content-Language: en-US
Content-Type: multipart/alternative;
boundary="_000_YT3P288MB0048C99BB11085918DD8996AD48F9YT3P288MB0048CANP_"
--_000_YT3P288MB0048C99BB11085918DD8996AD48F9YT3P288MB0048CANP_
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
Hi ,
I have upgraded my systems from redhat 7 to redhat 8 and after the upgrade =
the output of logwatch is showing additional log entries that didn't show o=
n redhat 7 ,
how can I remove the following entries from logwatch report:
What is the best way to remove those unmatched entries
* From Postfix remove the unmatched entries of ssl negotiation sinc=
e I am using tls in my postfix configuration
--------------------- Postfix Begin ------------------------
282.378M Bytes accepted 296,095,186
1.085G Bytes sent via SMTP 1,165,358,661
1.384M Bytes delivered 1,450,907
=3D=3D=3D=3D=3D=3D=3D=3D =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D
70 Accepted 100.00%
-------- --------------------------------------------------
70 Total 100.00%
=3D=3D=3D=3D=3D=3D=3D=3D =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D
4 Connections 4
4 Disconnections 4
73 Removed from queue 73
20 Delivered 20
167 Sent via SMTP 167
3 Bounced (remote) 3
70 Warned 70
3 Notifications sent 3
87 TLS connections (client) 87
**Unmatched Entries**
1 Mar 29 11:42:57 server1postfix/smtp[3128564]: mail.protection.o=
utlook.com[104.47.75.164]:25: depth=3D0 verify=3D1 subject=3D/C=3DUS/ST=3DW=
ashington/L=3DRedmond/O=3DMicrosoft Corporation/CN=3Dmail.protection.outloo=
k.com
1 Mar 29 14:32:02 server1postfix/smtp[3231872]: mail.protection.o=
utlook.com[104.47.75.228]:25: depth=3D1 verify=3D1 subject=3D/C=3DUS/O=3DDi=
giCert Inc/CN=3DDigiCert Cloud Services CA-1
1 Mar 29 13:17:34 server1postfix/smtp[3185410]: mail.protection.o=
utlook.com[8.31.233.62]:25: depth=3D0 verify=3D1 subject=3D/C=3DUS/ST=3DTex=
as/L=3DDallas/O=3DZixCorp Systems, Inc./CN=3D*.arsmtp.com
1 Mar 29 13:34:19 server1postfix/smtp[3195359]: mail.protection.o=
utlook.com[104.47.75.164]:25: depth=3D1 verify=3D1 subject=3D/C=3DUS/O=3DDi=
giCert Inc/CN=3DDigiCert Cloud Services CA-1
1 Mar 29 11:31:42 server1postfix/smtp[3121738]: mail.protection.o=
utlook.com[104.47.75.164]:25: depth=3D1 verify=3D1 subject=3D/C=3DUS/O=3DDi=
giCert Inc/CN=3DDigiCert Cloud Services CA-1
And so on ...
---------------------- Postfix End -------------------------
* From system remove session-*....scope
--------------------- Systemd Begin ------------------------
**Unmatched Entries**
session-1083006.scope: Succeeded.: 1 Time(s)
session-1086439.scope: Succeeded.: 1 Time(s)
session-1086441.scope: Succeeded.: 1 Time(s)
session-1086442.scope: Succeeded.: 1 Time(s)
session-1086443.scope: Succeeded.: 1 Time(s)
session-1086444.scope: Succeeded.: 1 Time(s)
session-1086445.scope: Succeeded.: 1 Time(s)
session-1086446.scope: Succeeded.: 1 Time(s)
session-1086447.scope: Succeeded.: 1 Time(s)
---------------------- Systemd End -------------------------
Any help would be highly appreciated
--_000_YT3P288MB0048C99BB11085918DD8996AD48F9YT3P288MB0048CANP_
Content-Type: text/html; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
<html xmlns:v=3D"urn:schemas-microsoft-com:vml" xmlns:o=3D"urn:schemas-micr=
osoft-com:office:office" xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml" xmlns=3D"http:=
//www.w3.org/TR/REC-html40">
<head>
<meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Dus-ascii"=
>
<meta name=3D"Generator" content=3D"Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:Wingdings;
panose-1:5 0 0 0 0 0 0 0 0 0;}
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:#0563C1;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:#954F72;
text-decoration:underline;}
p.MsoPlainText, li.MsoPlainText, div.MsoPlainText
{mso-style-priority:99;
mso-style-link:"Plain Text Char";
margin:0in;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri",sans-serif;}
span.EmailStyle17
{mso-style-type:personal-compose;
font-family:"Calibri",sans-serif;
color:windowtext;}
span.PlainTextChar
{mso-style-name:"Plain Text Char";
mso-style-priority:99;
mso-style-link:"Plain Text";
font-family:"Calibri",sans-serif;}
.MsoChpDefault
{mso-style-type:export-only;
font-family:"Calibri",sans-serif;}
@page WordSection1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
{page:WordSection1;}
/* List Definitions */
@list l0
{mso-list-id:210117847;
mso-list-type:hybrid;
mso-list-template-ids:-807233892 67698689 67698691 67698693 67698689 67698=
691 67698693 67698689 67698691 67698693;}
@list l0:level1
{mso-level-number-format:bullet;
mso-level-text:\F0B7;
mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-.25in;
font-family:Symbol;}
@list l0:level2
{mso-level-number-format:bullet;
mso-level-text:o;
mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-.25in;
font-family:"Courier New";}
@list l0:level3
{mso-level-number-format:bullet;
mso-level-text:\F0A7;
mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-.25in;
font-family:Wingdings;}
@list l0:level4
{mso-level-number-format:bullet;
mso-level-text:\F0B7;
mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-.25in;
font-family:Symbol;}
@list l0:level5
{mso-level-number-format:bullet;
mso-level-text:o;
mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-.25in;
font-family:"Courier New";}
@list l0:level6
{mso-level-number-format:bullet;
mso-level-text:\F0A7;
mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-.25in;
font-family:Wingdings;}
@list l0:level7
{mso-level-number-format:bullet;
mso-level-text:\F0B7;
mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-.25in;
font-family:Symbol;}
@list l0:level8
{mso-level-number-format:bullet;
mso-level-text:o;
mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-.25in;
font-family:"Courier New";}
@list l0:level9
{mso-level-number-format:bullet;
mso-level-text:\F0A7;
mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-.25in;
font-family:Wingdings;}
ol
{margin-bottom:0in;}
ul
{margin-bottom:0in;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext=3D"edit">
<o:idmap v:ext=3D"edit" data=3D"1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang=3D"EN-US" link=3D"#0563C1" vlink=3D"#954F72">
<div class=3D"WordSection1">
<p class=3D"MsoNormal">Hi ,<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p> </o:p></p>
<p class=3D"MsoPlainText">I have upgraded my systems from redhat 7 to redha=
t 8 and after the upgrade the output of logwatch is showing additional log =
entries that didn’t show on redhat 7 ,
<br>
<br>
how can I remove the following entries from logwatch report:<o:p></o:p></p>
<p class=3D"MsoPlainText"><o:p> </o:p></p>
<p class=3D"MsoPlainText">What is the best way to remove those unmatched en=
tries<o:p></o:p></p>
<p class=3D"MsoPlainText"><o:p> </o:p></p>
<p class=3D"MsoPlainText" style=3D"margin-left:.5in;text-indent:-.25in;mso-=
list:l0 level1 lfo1">
<![if !supportLists]><span style=3D"font-family:Symbol"><span style=3D"mso-=
list:Ignore">·<span style=3D"font:7.0pt "Times New Roman""=
>
</span></span></span><![endif]><span dir=3D"LTR"></span>From Postfix remove=
the unmatched entries of ssl negotiation since I am using tls in my postfi=
x configuration<br>
<br>
--------------------- Postfix Begin ------------------------ <o:p></o:p></p=
>
<p class=3D"MsoPlainText"><o:p> </o:p></p>
<p class=3D"MsoPlainText"> 282.378M Bytes accepted &=
nbsp; &nbs=
p; 296,09=
5,186<o:p></o:p></p>
<p class=3D"MsoPlainText"> 1.085G Bytes sent via SM=
TP &=
nbsp; 1,165,358,661<o:p></o=
:p></p>
<p class=3D"MsoPlainText"> 1.384M Bytes delivered&n=
bsp;  =
; 1=
,450,907<o:p></o:p></p>
<p class=3D"MsoPlainText">=3D=3D=3D=3D=3D=3D=3D=3D =3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D<o:p></o:p><=
/p>
<p class=3D"MsoPlainText"><o:p></o:p></p>
<p class=3D"MsoPlainText"> 70 =
; Accepted  =
; &n=
bsp; 100.=
00%<o:p></o:p></p>
<p class=3D"MsoPlainText">-------- ----------------------------=
----------------------<o:p></o:p></p>
<p class=3D"MsoPlainText"> 70 &nbs=
p; Total &=
nbsp; &nbs=
p; &=
nbsp; 100.00%<o:p></o:p></p>
<p class=3D"MsoPlainText">=3D=3D=3D=3D=3D=3D=3D=3D =3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D<o:p></o:p><=
/p>
<p class=3D"MsoPlainText"><o:p></o:p></p>
<p class=3D"MsoPlainText"> 4=
Connections &nb=
sp; =
&nb=
sp; 4<o:p></o:p></p>
<p class=3D"MsoPlainText"> 4 =
; Disconnections  =
; &n=
bsp;  =
; 4<o:p></o:p></p>
<p class=3D"MsoPlainText"> 73 &nbs=
p; Removed from queue =
&nb=
sp; 73<o:p></o:p></p>
<p class=3D"MsoPlainText"> 20  =
; Delivered &nbs=
p; &=
nbsp; &nbs=
p; 20<o:p></o:p></p>
<p class=3D"MsoPlainText"> 167 Se=
nt via SMTP &nbs=
p; &=
nbsp; 167<o:p></o:p><=
/p>
<p class=3D"MsoPlainText"> 3 =
; Bounced (remote) &nb=
sp; =
3<o:p></=
o:p></p>
<p class=3D"MsoPlainText"> 70 &nbs=
p; Warned =
&nb=
sp; =
70<o:p></o:p></p>
<p class=3D"MsoPlainText"> 3 =
; Notifications sent &=
nbsp; &nbs=
p; 3<o:p></o:p></p>
<p class=3D"MsoPlainText"><o:p></o:p></p>
<p class=3D"MsoPlainText"> 87 =
; TLS connections (client) &=
nbsp; &nbs=
p; 87<o:p></o:p></p>
<p class=3D"MsoPlainText"><o:p></o:p></p>
<p class=3D"MsoPlainText"> <o:p></o:p></p>
<p class=3D"MsoPlainText"> <o:p></o:p></p>
<p class=3D"MsoPlainText"><b>**Unmatched Entries**<o:p></o:p></b></p>
<p class=3D"MsoPlainText"><b> 1&n=
bsp; Mar 29 11:42:57 server1postfix/smtp[3128564]: mail.protection.ou=
tlook.com[104.47.75.164]:25: depth=3D0 verify=3D1 subject=3D/C=3DUS/ST=3DWa=
shington/L=3DRedmond/O=3DMicrosoft Corporation/CN=3Dmail.protection.outlook=
.com<o:p></o:p></b></p>
<p class=3D"MsoPlainText"><b> 1&n=
bsp; Mar 29 14:32:02 server1postfix/smtp[3231872]: mail.protection.ou=
tlook.com[104.47.75.228]:25: depth=3D1 verify=3D1 subject=3D/C=3DUS/O=3DDig=
iCert Inc/CN=3DDigiCert Cloud Services CA-1<o:p></o:p></b></p>
<p class=3D"MsoPlainText"><b> 1&n=
bsp; Mar 29 13:17:34 server1postfix/smtp[3185410]: mail.protection.ou=
tlook.com[8.31.233.62]:25: depth=3D0 verify=3D1 subject=3D/C=3DUS/ST=3DTexa=
s/L=3DDallas/O=3DZixCorp Systems, Inc./CN=3D*.arsmtp.com<o:p></o:p></b></p>
<p class=3D"MsoPlainText"><b> 1&n=
bsp; Mar 29 13:34:19 server1postfix/smtp[3195359]: mail.protection.ou=
tlook.com[104.47.75.164]:25: depth=3D1 verify=3D1 subject=3D/C=3DUS/O=3DDig=
iCert Inc/CN=3DDigiCert Cloud Services CA-1<o:p></o:p></b></p>
<p class=3D"MsoPlainText"><b> 1&n=
bsp; Mar 29 11:31:42 server1postfix/smtp[3121738]: mail.protection.ou=
tlook.com[104.47.75.164]:25: depth=3D1 verify=3D1 subject=3D/C=3DUS/O=3DDig=
iCert Inc/CN=3DDigiCert Cloud Services CA-1<o:p></o:p></b></p>
<p class=3D"MsoPlainText"><o:p> </o:p></p>
<p class=3D"MsoPlainText">And so on …<o:p></o:p></p>
<p class=3D"MsoPlainText">---------------------- Postfix End --------------=
-----------
<o:p></o:p></p>
<p class=3D"MsoPlainText"><o:p> </o:p></p>
<p class=3D"MsoPlainText"><o:p> </o:p></p>
<p class=3D"MsoPlainText" style=3D"margin-left:.5in;text-indent:-.25in;mso-=
list:l0 level1 lfo1">
<![if !supportLists]><span style=3D"font-family:Symbol"><span style=3D"mso-=
list:Ignore">·<span style=3D"font:7.0pt "Times New Roman""=
>
</span></span></span><![endif]><span dir=3D"LTR"></span>From system remove =
session-*….scope<o:p></o:p></p>
<p class=3D"MsoPlainText"><o:p> </o:p></p>
<p class=3D"MsoPlainText">--------------------- Systemd Begin -------------=
-----------
<o:p></o:p></p>
<p class=3D"MsoPlainText"><o:p> </o:p></p>
<p class=3D"MsoPlainText"><o:p></o:p></p>
<p class=3D"MsoPlainText"> <o:p></o:p></p>
<p class=3D"MsoPlainText"> **Unmatched Entries**<o:p></o:p></p>
<p class=3D"MsoPlainText"><o:p> </o:p></p>
<p class=3D"MsoPlainText"> session-1083006.scope: Succeed=
ed.: 1 Time(s)<o:p></o:p></p>
<p class=3D"MsoPlainText"> session-1086439.scope: Succeed=
ed.: 1 Time(s)<o:p></o:p></p>
<p class=3D"MsoPlainText"> session-1086441.scope: Succeed=
ed.: 1 Time(s)<o:p></o:p></p>
<p class=3D"MsoPlainText"> session-1086442.scope: Succeed=
ed.: 1 Time(s)<o:p></o:p></p>
<p class=3D"MsoPlainText"> session-1086443.scope: Succeed=
ed.: 1 Time(s)<o:p></o:p></p>
<p class=3D"MsoPlainText"> session-1086444.scope: Succeed=
ed.: 1 Time(s)<o:p></o:p></p>
<p class=3D"MsoPlainText"> session-1086445.scope: Succeed=
ed.: 1 Time(s)<o:p></o:p></p>
<p class=3D"MsoPlainText"> session-1086446.scope: Succeed=
ed.: 1 Time(s)<o:p></o:p></p>
<p class=3D"MsoPlainText"> session-1086447.scope: Succeed=
ed.: 1 Time(s)<o:p></o:p></p>
<p class=3D"MsoPlainText"><br>
<br>
<o:p></o:p></p>
<p class=3D"MsoPlainText">---------------------- Systemd End --------------=
-----------
<o:p></o:p></p>
<p class=3D"MsoPlainText"><o:p> </o:p></p>
<p class=3D"MsoPlainText"><o:p> </o:p></p>
<p class=3D"MsoPlainText">Any help would be highly appreciated <o:p></o:p><=
/p>
<p class=3D"MsoNormal"><br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p> </o:p></p>
<p class=3D"MsoNormal"><o:p> </o:p></p>
</div>
</body>
</html>
--_000_YT3P288MB0048C99BB11085918DD8996AD48F9YT3P288MB0048CANP_--
--===============0605235099011728502==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
--===============0605235099011728502==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
_______________________________________________
Logwatch-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/logwatch-devel
--===============0605235099011728502==--