Destinations

A destination is a message sink, where log is sent if filtering rules match. Similarly to sources, destinations may include several drivers which define how messages are dispatched. To declare a destination in the configuration file, you'll need a destination statement, whose syntax is as following:
	  destination <identifier> { destination-driver(params); destination-driver(params); ... };	
	

Table 2-4. Available destination drivers in syslog-ng

NameDescription>
fileWrites messages to the given file
fifo, pipeWrites messages to the given named pipe
unix-streamSends messages to the given unix socket in SOCK_STREAM style (Linux)
unix-dgramSends messages to the given unix socket in SOCK_DGRAM style (BSD)
udpSends messages to specified host and UDP port
tcpSends messages to specified host and TCP port
userttySends messages to specified user if logged in
programForks and launches given program, and sends messages to its standard input.
For detailed list of the supported drivers, see the Reference chapter.