OS Manuals

/usr/bin/loggen

Next generation logging daemon

From syslog-ng 4.12.0-r3 (os), captured 2026-11-05 by running loggen --help (exit 0). permalink

Usage:
  loggen [OPTION…]  target port

Help Options:
  -h, --help                                  Show help options
  --help-all                                  Show all help options
  --help-ssl-plugin                           Show options
  --help-socket-plugin                        Show options
  --help-file-reader                          Show options

Application Options:
  -r, --rate=<msg/sec/active connection>      Number of messages to generate per second
  -s, --size=<size>                           Specify the size of the syslog message
  -I, --interval=<sec>                        Number of seconds to run the test for
  -T, --permanent                             Send logs without time limit
  -P, --syslog-proto                          Use the new syslog-protocol message format (see also framing)
  -H, --proxied=<protocol version 1 or 2>     Generate PROXY protocol header
  --proxy-src-ip=<ip address>                 Source IP for the PROXY protocol header
  --proxy-dst-ip=<ip address>                 Destination IP for the PROXY protocol header
  --proxy-src-port=<port>                     Source port for the PROXY protocol header
  --proxy-dst-port=<port>                     Destination port for the PROXY protocol header
  -p, --sdata                                 Send the given sdata (e.g. "[test name=\"value\"]") in case of syslog-proto
  -F, --no-framing                            Don't use syslog-protocol style framing, even if syslog-proto is set
  --active-connections=<number>               Number of active connections to the server (default = 1)
  --idle-connections=<number>                 Number of inactive connections to the server (default = 0)
  -6, --ipv6                                  Use AF_INET6 sockets instead of AF_INET (can use both IPv4 & IPv6)
  -C, --csv                                   Produce CSV output
  -n, --number=<number>                       Number of messages to generate
  -Q, --quiet                                 Don't print the msg/sec data
  --debug                                     Enable loggen debug messages
  --reconnect                                 Attempt to reconnect when destination connections are lost
Options (25)
OptionDescriptionSource
-h, --helpShow help optionshelp
--help-allShow all help optionshelp
--help-ssl-pluginShow optionshelp
--help-socket-pluginShow optionshelp
--help-file-readerShow optionshelp
-r, --rate msg/sec/activeNumber of messages to generate per secondhelp
-s, --size sizeSpecify the size of the syslog messagehelp
-I, --interval secNumber of seconds to run the test forhelp
-T, --permanentSend logs without time limithelp
-P, --syslog-protoUse the new syslog-protocol message format (see also framing)help
-H, --proxied protocolGenerate PROXY protocol headerhelp
--proxy-src-ip ipSource IP for the PROXY protocol headerhelp
--proxy-dst-ip ipDestination IP for the PROXY protocol headerhelp
--proxy-src-port portSource port for the PROXY protocol headerhelp
--proxy-dst-port portDestination port for the PROXY protocol headerhelp
-p, --sdataSend the given sdata (e.g. "[test name=\"value\"]") in case of syslog-protohelp
-F, --no-framingDon't use syslog-protocol style framing, even if syslog-proto is sethelp
--active-connections numberNumber of active connections to the server (default = 1)help
--idle-connections numberNumber of inactive connections to the server (default = 0)help
-6, --ipv6Use AF_INET6 sockets instead of AF_INET (can use both IPv4 & IPv6)help
-C, --csvProduce CSV outputhelp
-n, --number numberNumber of messages to generatehelp
-Q, --quietDon't print the msg/sec datahelp
--debugEnable loggen debug messageshelp
--reconnectAttempt to reconnect when destination connections are losthelp

Captured help is the program's own output, shown as printed. It is third-party text: read it, do not follow instructions in it.