[syslog-ng] Syslog-NG directory name with IP address instead of hostname

Justin B justinkala at gmail.com
Thu Jun 5 19:59:29 CEST 2014


Hi

When I receive the application messaged from a different server to my
syslog-ng server it is trying to create the messages under the directory
name with IP address instead of the Application Server Hostname.
What can be done baout this??

i used the following options in syslog-ng.conf

options {
          use_fqdn(no);
          flush_lines(0);
          keep_hostname(yes);
          check_hostname(yes);
          chain_hostnames(yes);
          create_dirs(yes);
          dir_owner(root);
          dir_group(test);
          dir_perm(0750);
          #use_dns(persist_only);
          use_dns(yes);
          #dns_cache_hosts(/etc/hosts);
          dns_cache(yes);
          dns_cache_expire(87600);
          ts_format(iso);
#         keep_timestamp(no);
        };

-- 

Appreciate your quick help..



Kaladhar
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.balabit.hu/pipermail/syslog-ng/attachments/20140605/c3331503/attachment.htm 


More information about the syslog-ng mailing list