[syslog-ng] Patterndb to get timestamp from log record in file

Thanh Dat dat.tt at netnam.vn
Mon Aug 17 19:21:57 CEST 2015


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 at netnam.vn <mailto:dat.tt at 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
> 
> 


More information about the syslog-ng mailing list