<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
we would need to see the destination definition to assist<br>
<br>
Jim<br>
<br>
<br>
<div class="moz-cite-prefix">On 06/05/2014 01:59 PM, Justin B wrote:<br>
</div>
<blockquote
cite="mid:CACLzEeJEFE42y5VRF0nqgq=TmXXKHohbxBQ403KBby6uT_P4PA@mail.gmail.com"
type="cite">
<div><br clear="all">
Hi</div>
<div> </div>
<div>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.</div>
<div>What can be done baout this??</div>
<div> </div>
<div>i used the following options in syslog-ng.conf</div>
<div> </div>
<div>options {<br>
use_fqdn(no);<br>
flush_lines(0);<br>
keep_hostname(yes);<br>
check_hostname(yes);<br>
chain_hostnames(yes);<br>
create_dirs(yes);<br>
dir_owner(root);<br>
dir_group(test);<br>
dir_perm(0750);<br>
#use_dns(persist_only);<br>
use_dns(yes);<br>
#dns_cache_hosts(/etc/hosts);<br>
dns_cache(yes);<br>
dns_cache_expire(87600);<br>
ts_format(iso);<br>
# keep_timestamp(no);<br>
};<br>
<br>
-- </div>
<div> </div>
<div>Appreciate your quick help..</div>
<div> </div>
<div> </div>
<div><br>
Kaladhar </div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">______________________________________________________________________________
Member info: <a class="moz-txt-link-freetext" href="https://lists.balabit.hu/mailman/listinfo/syslog-ng">https://lists.balabit.hu/mailman/listinfo/syslog-ng</a>
Documentation: <a class="moz-txt-link-freetext" href="http://www.balabit.com/support/documentation/?product=syslog-ng">http://www.balabit.com/support/documentation/?product=syslog-ng</a>
FAQ: <a class="moz-txt-link-freetext" href="http://www.balabit.com/wiki/syslog-ng-faq">http://www.balabit.com/wiki/syslog-ng-faq</a>
</pre>
</blockquote>
<br>
</body>
</html>