[syslog-ng] DOMAIN Name Variable

Rob Munsch rmunsch at solutionsforprogress.com
Mon Mar 13 23:15:20 CET 2006


i suppoer jason could process the FQDN to where he wants it, in the 
short term.
As for the nebulous definition of Domain, wouldn't it be the string 
before the last dot..?

Balazs Scheidler wrote:

>On Tue, 2006-03-07 at 16:00 -0500, Breitman, Jason wrote:
>  
>
>>I am using the below line in my syslog-ng configuration file.
>>
>>destination maillog { 
>>        file("/var/log/clients/$YEAR/$MONTH/$HOST/mail.log"); 
>>};
>>
>>I am looking to add a variable for the domain name and have been
>>unable to find one.
>>
>>Can someone help me out?
>>    
>>
>
>The problem is that 'domain name' is ambiguous, is it the name after the
>first dot in the fqdn? not necessarily, for example: prep.ai.mit.edu,
>the domain name is probably mit.edu and not ai.mit.edu
>
>So this is not currently implemented, however I could be convinced given
>a good definition of 'domain name'.
>
>
>  
>


-- 
Rob Munsch
Solutions For Progress IT



More information about the syslog-ng mailing list