syslog-ng reference manual

Balázs Scheidler


Table of Contents
1. Introduction to syslog-ng
2. Message paths
Sources
Filters
Destinations
Log paths
Options
3. Reference
Source drivers
internal()
unix-stream() and unix-dgram()
tcp() and udp()
file()
pipe()
sun-streams() driver
Destination drivers
file()
pipe()
unix-stream() & unix-dgram()
udp() & tcp()
usertty()
program()
Filter functions
Options
4. Performance tuning in syslog-ng
Setting garbage collector parameters
gc_idle_threshold()
gc_busy_threshold()
Setting output queue size
Setting sync parameter
List of Tables
2-1. Communication method between syslogd and its clients
2-2. Available source drivers in syslog-ng
2-3. Available destination drivers in syslog-ng
2-4. Log statement flags
3-1. Available options for unix-stream & unix-dgram
3-2. Available options for unix-stream & unix-dgram
3-3. Available options for file
3-4. Available options for pipe
3-5. Available options for sun-streams
3-6. Available macros in filename expansion
3-7. Available options for file()
3-8. Available options for pipe()
3-9. Available options for unix-stream() & unix-dgram()
3-10. Available options for udp() & tcp()
3-11. Additional options for tcp()
3-12. Available options for usertty()
3-13. Available options for program()
3-14. Available filter functions in syslog-ng
3-15. List of supported global options in syslog-ng
List of Examples
2-1. Source statement on a Linux based operating system
2-2. A filter statement finding the messages containing the word deny coming from the host blurp
3-1. Using the internal() driver
3-2. Using the unix-stream() and unix-dgram() drivers
3-3. Using the udp() and tcp() drivers
3-4. example script to feed a growing logfile into syslog-ng
3-5. Using the file() driver
3-6. Using the pipe() driver
3-7. Using the sun-streams() driver
3-8. Using the file() driver
3-9. Using the file() driver with macros in the file name and a template for the message
3-10. Using the pipe() driver
3-11. Using the unix-stream() driver
3-12. Using the tcp() driver
3-13. Using the usertty() driver
3-14. Using the program() destination driver