[syslog-ng] specify destination filename in message?

Robert Ulbrich rulbrich at capsher.com
Wed May 7 19:53:04 CEST 2008


> Hi,
>
> Robert Ulbrich <rulbrich at capsher.com <https://lists.balabit.hu/mailman/listinfo/syslog-ng>> [20080507 11:17:18 -0500]:
> >/
> />/ I am not sure if this is possible with syslog-ng alone, but I thought I 
> />/ would see if any clever minds could conceive a solution ;-).
> />/
> />/ I would like to be able to specify a destination file by putting the 
> />/ filename in the message itself. My thought is that I could include the 
> />/ filename as the file thing in the message and then use some pattern 
> />/ matching/replacement macro in the configuration file to route the 
> />/ message to the proper file.
> />/ 
> />/ Is this possible?
> />/ 
> /"Thats just all crazy talk!" :)
>
> What is the problem you are trying to solve?
>
> Cheers
>
> Alex
Sorry if I was unclear. 

I would like to be able to configure syslog-ng to 
direct messages into the file specified by the 
filename contained within the message itself.



More information about the syslog-ng mailing list