[syslog-ng]newbie questions about hostname related options
Jim Mozley
syslog-ng@lists.balabit.hu
Wed, 15 Oct 2003 08:37:57 +0100
I have used the options below. The bad_hostname option was necessary as a
particular vendors equipment seemed to send part of syslog message as the
hostname so I used this option to ignore it.
options {
keep_hostname(off);
long_hostnames(off);
sync(1);
log_fifo_size(2048);
bad_hostname("%");
};
I found it was best to not rely on the device for the hostname but to let
the syslog server work this out. I'd assume with 3 clients that using fqdn
would be a bit overkill.
Jim
----- Original Message -----
From: <seberino@spawar.navy.mil>
To: <syslog-ng@lists.balabit.hu>
Sent: Wednesday, October 15, 2003 7:35 AM
Subject: [syslog-ng]newbie questions about hostname related options
> I got syslog-ng working and am happy with it but
> I had one question about necessary syslog-ng.conf
> options that is bugging me.
>
> I don't know what hostname related options are necessary
> for a little log server with 3 clients:
>
> use_fqdn
> keep_hostname
> long_hostnames
> chain_hostnames
>
> I remember NEEDING chain_hostnames(off) to solve a
> problem but I wonder:
>
> 1. if problem could have been solved with another
> option in list above
>
> 2. what are minimum options that make a good little
> syslog-ng installation.
> (I wonder if keep_hostname(yes) solves 99% of the
> problems and is good enough. I don't know.)
>
> Any help would be greatly appreciated.
>
> Sincerely,
>
> Chris
> --
> _______________________________________
>
> Christian Seberino, Ph.D.
> SPAWAR Systems Center San Diego
> Code 2872
> 49258 Mills Street, Room 158
> San Diego, CA 92152-5385
> U.S.A.
>
> Phone: (619) 553-9973
> Fax : (619) 553-6521
> Email: seberino@spawar.navy.mil
> _______________________________________
> _______________________________________________
> syslog-ng maillist - syslog-ng@lists.balabit.hu
> https://lists.balabit.hu/mailman/listinfo/syslog-ng
> Frequently asked questions at http://www.campin.net/syslog-ng/faq.html
>