[syslog-ng] rhost field

Nate Campi nate at campin.net
Wed Dec 28 21:18:46 CET 2005


On Wed, Dec 28, 2005 at 01:45:26PM -0500, ken.schweiker at faa.gov wrote:
> 
> options { keep_hostname(no); use_dns(no); sync(0); };\

Turn off long hostnames and you should start seeing the remote IP in the
logs:

long_hostnames(off);

See this URL for hostname options:

 http://www.campin.net/syslog-ng/faq.html#hostname

Keep the use_dns(no) since you want IP's.
-- 
Nate

"A computer will do what you tell it to do, but that may be much
different from what you had in mind." - JOSEPH WEIZENBAUM, quoted in
Time



More information about the syslog-ng mailing list