I'm trying to add log format parameters and filter logs by added parameters.
for example,
original log format :
PRI | HEADER (TIMESTAMP HOST)|MSG(logtag+ messages)
In my program, log is generated like this :
====>> PRI | HEADER | Logtag: |TASKNAME | MSG
^^^^^^^^
user-specific task
In syslog-ng, Log is filtered by LEVEL/FACILITY/MSG(by matching service) but, I want syslog-ng to recoginize TASKNAME field.
(finally, I'll get statistics on the [taskname] )
If I have to modify sources, let me know what sources(?) I should handle.
please, Help..
|
|
"우리 인터넷, Daum" http://www.daum.net |
|
빠르다! 편하다! Daum메신저 매일매일 쓰고 계시죠? |
Daum엔터카드 Daum회원의 필수품! 온오프 최고의 혜택을 누리자! |