VMware Cloud Community
tslogick1
Contributor
Contributor

Postfix log insight Mail.log files

I am trying to capture the mail.log file and parse it in Log Insight.  Currently I have setup as below.  How do i setup a parser for this.

pastedImage_0.png

To run awstats, the logfile format is LogFormat="%time2 %email %email_r %host %host_r %method %url %code %bytesd"

Can i do this in Log Insight?

Reply
0 Kudos
1 Reply
MichaelRyom
Hot Shot
Hot Shot

Hi

Do you have the log insight agent installed on the server you are getting logs from? If so have you tried the Linux content pack I believe it covers mail.log as well as other Linux log files.

But if you like to parse it your self have a look at the log parser and how to configure it. It is possible to do.

Dont have an example at hand but look at the documentation -> Configure Log Parsers

Blogging at https://MichaelRyom.dk
Reply
0 Kudos