I have few hundreds of hosts, and say <br>
<br>
hosta has dns name groupa-hosta<br>
<br>
hostb has dns name groupbhostb<br>
<br>
hostc has dns name groupc.hostc<br>
<br>
..etc..etc (note the first 6 characters defines the group)<br>
<br>
When a log comes in, can syslog-ng extracts the first 6 character from 
dns name, and drop the log file to the corresponding group? (So log from hostb will go under /log/groupb/groupahostb )<br>
<br>
I cannot predefine the groups though, since i don&#39;t know how many groups will be there, the only thing i know is the first 6 character of the hostname will be the group name<br><br>thanks<br><br><br>