Dear all syslog-ng user,

I'm new with syslog-ng. Now I'm using patterndb to parse the log which I get from a log file.
For example, I have this pattern:

<pattern>@ESTRING:postfix.qid::@ message-id=@QSTRING:postfix.msgid:&lt;&gt;@</pattern>

and it work perfectly with this log:

Jul 27 00:04:41 mail1 postfix/cleanup[19856]: 246F21FE3C: message-id=<20150726170441.246F21FE3C@mail1>

Now I want to get the timestamp of this log record (Jul 27 00:04:41). How can I do this ?

Thank you so much for all of your help.

--
Dat Tang Thanh Signature

Best Regards.

--
 Tang Thanh Dat (Mr.) | System Administration Department
NETNAM CORPORATION
18 Hoang Quoc Viet, Cau Giay, Hanoi,Vietnam
(T)+84-4-37562227, (F)+84-4-37 561 888, (M)+84-(0)-9 32336692
(E) dat.tt@netnam.vn (W) www.netnam.vn
--
NetNam - one of the best ISPs and Solutions Providers in Vietnam,
specialized in corporate networks, managed services & security solutions.
--
Your Net, We Care!