Oh yes, thank you for your guide. Now I can do it myself. Additionally, I think all of 11.1 section is needed for who want to understand and usse this function (as me). Thank you. 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 <mailto:dat.tt@netnam.vn> (W) www.netnam.vn <http://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! On 8/17/2015 6:41 PM, Fabien Wernli wrote:
On Mon, Aug 17, 2015 at 05:51:53PM +0700, Thanh Dat wrote:
Now I want to get the timestamp of this log record (Jul 27 00:04:41). How can I do this ?
you can refer to it using any of the time based macros: See the paragraph on macros "11.1.5. Macros of syslog-ng OSE"
______________________________________________________________________________ Member info: https://lists.balabit.hu/mailman/listinfo/syslog-ng Documentation: http://www.balabit.com/support/documentation/?product=syslog-ng FAQ: http://www.balabit.com/wiki/syslog-ng-faq