<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2900.3603" name=GENERATOR></HEAD>
<BODY>
<DIV dir=ltr align=left><FONT size=2><SPAN class=150573109-29092009><FONT
face=Arial><FONT color=#0000ff>H<SPAN
class=150573109-29092009>i,</SPAN></FONT></FONT></SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT size=2><SPAN class=150573109-29092009><FONT
face=Arial><FONT color=#0000ff><SPAN
class=150573109-29092009></SPAN></FONT></FONT></SPAN></FONT> </DIV>
<DIV dir=ltr align=left><FONT size=2><SPAN class=150573109-29092009><FONT
face=Arial><FONT color=#0000ff><SPAN class=150573109-29092009>I am using
syslog-ng open source (syslog-ng-3.0.3-1.rhel5.amd64) for log collection. I want
to pass the syslog-ng machine ip address in the message header. in the current
configuration I am getting following header in the log message -->
</SPAN></FONT></FONT></SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT size=2><SPAN class=150573109-29092009><FONT
face=Arial><FONT color=#0000ff><SPAN
class=150573109-29092009></SPAN></FONT></FONT></SPAN></FONT> </DIV>
<DIV dir=ltr align=left><FONT size=2><SPAN class=150573109-29092009><FONT
face=Arial><FONT color=#0000ff><SPAN class=150573109-29092009>Sep 29 00:24:20
INBLRECIS2871 ''</SPAN></FONT></FONT></SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT size=2><SPAN class=150573109-29092009><FONT
face=Arial><FONT color=#0000ff><SPAN
class=150573109-29092009></SPAN></FONT></FONT></SPAN></FONT> </DIV>
<DIV dir=ltr align=left><FONT size=2><SPAN class=150573109-29092009><FONT
face=Arial><FONT color=#0000ff><SPAN class=150573109-29092009>In the above
message "INBLRECIS2871" is the syslog-ng machine name but I want the IP
address in place of machine name. let me know how to achieve this
?</SPAN></FONT></FONT></SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT size=2><SPAN class=150573109-29092009><FONT
face=Arial><FONT color=#0000ff><SPAN
class=150573109-29092009></SPAN></FONT></FONT></SPAN></FONT> </DIV>
<DIV dir=ltr align=left><FONT size=2><SPAN class=150573109-29092009><FONT
face=Arial><FONT color=#0000ff><SPAN
class=150573109-29092009></SPAN></FONT></FONT></SPAN></FONT> </DIV>
<DIV dir=ltr align=left><FONT size=2><SPAN class=150573109-29092009><FONT
face=Arial><FONT color=#0000ff><SPAN
class=150573109-29092009></SPAN></FONT></FONT></SPAN></FONT> </DIV>
<DIV dir=ltr align=left><FONT size=2><SPAN class=150573109-29092009><FONT
face=Arial><FONT color=#0000ff><SPAN class=150573109-29092009>Current
configurastion --></SPAN></FONT></FONT></SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT size=2><SPAN class=150573109-29092009><FONT
face=Arial><FONT color=#0000ff><SPAN class=150573109-29092009><STRONG><U>1)
syslog-ng client config
:-></U></STRONG></SPAN></FONT></FONT></SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT size=2><SPAN class=150573109-29092009><FONT
face=Arial><FONT color=#0000ff><SPAN
class=150573109-29092009></SPAN></FONT></FONT></SPAN></FONT> </DIV>
<DIV dir=ltr align=left><FONT size=2><SPAN class=150573109-29092009><FONT
face=Arial><FONT color=#0000ff><SPAN class=150573109-29092009>options
{<BR>
mark_freq(30);<BR>
log_msg_size(65530);<BR>}</SPAN></FONT></FONT></SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT size=2><SPAN class=150573109-29092009><FONT
face=Arial><FONT color=#0000ff><SPAN
class=150573109-29092009></SPAN></FONT></FONT></SPAN></FONT> </DIV>
<DIV dir=ltr align=left><FONT size=2><SPAN class=150573109-29092009><FONT
face=Arial><FONT color=#0000ff><SPAN class=150573109-29092009>destination
d_messages
{<BR>
syslog("3.2.20.26" transport("tcp") port(601) template("$HOST $MSGHDR$MSG
::::$FILE_NAME"));</SPAN></FONT></FONT></SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT size=2><SPAN class=150573109-29092009><FONT
face=Arial><FONT color=#0000ff><SPAN
class=150573109-29092009>}</SPAN></FONT></FONT></SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT size=2><SPAN class=150573109-29092009><FONT
face=Arial><FONT color=#0000ff><SPAN
class=150573109-29092009></SPAN></FONT></FONT></SPAN></FONT> </DIV>
<DIV dir=ltr align=left><FONT size=2><SPAN class=150573109-29092009><FONT
face=Arial><FONT color=#0000ff><SPAN
class=150573109-29092009></SPAN></FONT></FONT></SPAN></FONT> </DIV>
<DIV dir=ltr align=left><FONT size=2><SPAN class=150573109-29092009><FONT
face=Arial><FONT color=#0000ff><SPAN class=150573109-29092009><STRONG><U>2)
syslog-ng server
config-></U></STRONG></SPAN></FONT></FONT></SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT size=2><SPAN class=150573109-29092009><FONT
face=Arial><FONT color=#0000ff><SPAN
class=150573109-29092009><STRONG><U></U></STRONG></SPAN></FONT></FONT></SPAN></FONT> </DIV>
<DIV dir=ltr align=left><FONT size=2><SPAN class=150573109-29092009><FONT
face=Arial><FONT color=#0000ff><SPAN class=150573109-29092009>options
{<BR>
time_reap(30);<BR>
mark_freq(10);<BR>
log_msg_size(65530);<BR>}</SPAN></FONT></FONT></SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT size=2><SPAN class=150573109-29092009><FONT
face=Arial><FONT color=#0000ff><SPAN
class=150573109-29092009></SPAN></FONT></FONT></SPAN></FONT> </DIV>
<DIV dir=ltr align=left><FONT size=2><SPAN class=150573109-29092009><FONT
face=Arial><FONT color=#0000ff><SPAN
class=150573109-29092009></SPAN></FONT></FONT></SPAN></FONT> </DIV>
<DIV dir=ltr align=left><FONT size=2><SPAN class=150573109-29092009><FONT
face=Arial><FONT color=#0000ff><SPAN
class=150573109-29092009>Regards,</SPAN></FONT></FONT></SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT size=2><SPAN class=150573109-29092009><FONT
face=Arial><FONT color=#0000ff><SPAN
class=150573109-29092009>Vaibhav</SPAN></FONT></FONT></SPAN><SPAN
style="FONT-SIZE: 10pt; COLOR: #000000; FONT-FAMILY: Verdana"></DIV></SPAN></FONT></BODY></HTML>