Logfile nach Submodule

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Logfile nach Submodule

Bjoern Meier
Hi,

weiß jemand von euch wie ich die Logfiles von Postfix nach Module (smtp,smtpd,etc.) mit rsyslog unterteilen kann?

:msg, contains, "postfix/smtp[" @@<ip>:<port>

scheint nicht hinzuhauen.

Gruß,
Björn
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Logfile nach Submodule

Bjoern Meier
hi,


Bjoern Meier <[hidden email]> schrieb am Sa., 11. März 2017 um 12:06 Uhr:
:msg, contains, "postfix/smtp[" @@<ip>:<port>

scheint nicht hinzuhauen.

Problem gefunden (in der doku zu rsyslog properties);

" programname
the “static” part of the tag, as defined by BSD syslogd. For example, when TAG is “named[12345]”, programname is “named”.

Precisely, the programname is terminated by either (whichever occurs first):

end of tag
nonprintable character
‘:’
‘[‘
‘/’"

daher: syslogtag

wieder was gelernt.

Gruß,
Björn


Loading...