[syslog-ng]Adding log format parameters
=?EUC-KR?B?wbbAusH4?=
goodjiny@hanmail.net
Fri, 16 Aug 2002 20:45:18 +0900 (KST)
I'm trying to add log format parameters and filter logs by added parameters.
<br>
<br>for example,
<br>
<br>original log format :
<br>PRI | HEADER (TIMESTAMP HOST)|MSG(logtag+ messages)
<br>
<br>In my program, log is generated like this :
<br>====>> PRI | HEADER | Logtag: |TASKNAME | MSG
<br> ^^^^^^^^
<br> user-specific task
<br>
<br>In syslog-ng, Log is filtered by LEVEL/FACILITY/MSG(by matching service) but, I want syslog-ng to recoginize TASKNAME field.
<br>
<br>(finally, I'll get statistics on the [taskname] )
<br>
<br>If I have to modify sources, let me know what sources(?) I should handle.
<br>
<br>please, Help..
<br>
<br><br><br><table border=0 cellpadding=0 cellspacing=1 align=center>
<tr><td bgcolor="#ffffff" align="center" width=130>
<iframe src='http://avatarfile.hanmail.net/bin/getavatar?EUSERID=dGSmCyS6pCQ0&LOOK=2' width=130 height=150 border=0 frameborder=0 scrolling=no></iframe></td>
<td align="left" valign="middle">
<table border=0 cellpadding=0 cellspacing=0>
<tr><td><img src='http://image.hanmail.net/hm/av/box1_c1.gif'></td>
<td background='http://image.hanmail.net/hm/av/box1_upbg.gif'></td>
<td><img src='http://image.hanmail.net/hm/av/box1_c2.gif'></td>
</tr>
<tr><td background='http://image.hanmail.net/hm/av/box1_lbg.gif' valign=top><img src='http://image.hanmail.net/hm/av/box1_c11.gif'></td>
<td background='http://image.hanmail.net/hm/av/box1_bg.gif' style='line-height:120%; padding:10px'><font color=#000000>Á¶Àº ³¯. Á¶Àº ÇÏ·ç..
<br>goodjiny@hanmail.net
<br></font></td>
<td background='http://image.hanmail.net/hm/av/box1_rbg.gif'></td>
</tr>
<tr><td><img src='http://image.hanmail.net/hm/av/box1_c3.gif'></td>
<td background='http://image.hanmail.net/hm/av/box1_dwbg.gif'></td>
<td><img src='http://image.hanmail.net/hm/av/box1_c4.gif'></td>
</tr>
</table></td>
<td> </td>
</tr>
</table>
<img src="http://www5.hanmail.net/Mail-bin/chkcmail?from=goodjiny&rcpt=syslog%2Dng%40lists%2Ebalabit%2Ehu&msgid=20020816204518%2EHM%2E400000000043iaG%40www5%2Ehanmail%2Enet">
<br><br><table border=0 cellpadding=5 cellspacing=0 width=100%%>
<tr><td background='http://image.hanmail.net/hanmail/general/dotline_sim.gif' height=1></td></tr>
<tr>
<td><font color="#312400" style="font-size:9pt;">
"¿ì¸® ÀÎÅͳÝ, Daum" <a href=http://www.daum.net target=_top><font color="#312400">http://www.daum.net</font></a><br>
</font></td></tr></table><table bgcolor=#F8F8F8 border=0 cellpadding=3 cellspacing=0 width=100%% style="border: #ECECEC solid 1px;">
<tr>
<td width=50 align=right nowrap><a href='http://hmm.daum.net/msg_welcome' target=_blank><img src='http://image.hanmail.net/hanmail/top/adver/messenger.gif' width=40 height=40 border=0></a></td>
<td width=50%% class=base style="line-height:140%%; font-size:9pt;">
<a href='http://hmm.daum.net/msg_welcome' target=_blank><font color=#BD8000 style="font-size:9pt;">
ºü¸£´Ù! ÆíÇÏ´Ù! Daum¸Þ½ÅÀú</font></a><br>¸ÅÀϸÅÀÏ ¾²°í °è½ÃÁÒ?
</td>
<td width=3 nowrap><img src='http://image.hanmail.net/hm/line_h.gif' width=3 height=40></td>
<td width=40><a href='http://hmm.daum.net/card_0401' target=_blank><img src='http://image.hanmail.net/hanmail/top/adver/ecard.gif' width=40 height=40 border=0></a></td>
<td width=50%% class=base style="line-height:140%%; font-size:9pt;">
<a href='http://hmm.daum.net/card_0401' target=_blank><font color=#BD8000 style="font-size:9pt;">Daum¿£ÅÍÄ«µå</font></a><br>Daumȸ¿øÀÇ ÇʼöÇ°! ¿Â¿ÀÇÁ ÃÖ°íÀÇ ÇýÅÃÀ» ´©¸®ÀÚ!</td>
</table>