Sign inSign up

qualimente/bucky

By qualimente

Updated over 8 years ago

Bucky is a simple program to generate logs for the purpose of testing log-shipping sub-systems.

Image
1

288

qualimente/bucky repository overview

Bucky is a simple program to generate logs for the purpose of testing log-shipping sub-systems.

/bucky is the entrypoint to this docker image.

By default, bucky will generate one log message per second in json format. The period, message count, and format can all be changed. See --help for details.

Running

Running the bucky image is easy. Command-line arguments will be passed directly to bucky.

Examples:

Generate log messages using default options (one message per second):

docker run --rm -it qualimente/bucky:0.1.0 generate

Generate 100 messages per second:

docker run --rm -it qualimente/bucky:0.1.0 generate --count 100 --period 1s

Show help for high-level options:

docker run --rm -it qualimente/bucky:0.1.0 --help
NAME:
   bucky - Produce a periodic bucky message

USAGE:
   bucky [global options] command [command options] [arguments...]

VERSION:
   0.1.0

COMMANDS:
     version, v  Print the version and exit
     generate    Generate log messages
     help, h     Shows a list of commands or help for one command

GLOBAL OPTIONS:
   --verbose      Print verbose output
   --help, -h     show help
   --version, -v  print the version

Show help for generating log messages:

docker run --rm -it qualimente/bucky:0.1.0 generate --help
NAME:
   bucky generate - Generate log messages

USAGE:
   bucky generate [command options] [arguments...]

OPTIONS:
   --format value  Specify the output format: text, json
   --period value  Specify the period between starting log message emitters. Valid time units are 'ns', 'us' (or 'µs'), 'ms', 's', 'm', 'h' (default: 1s)
   --count value   Specify the count of messages emitted per period (default: 1)

Tag summary

Content type

Image

Digest

Size

1.7 MB

Last updated

over 8 years ago

docker pull qualimente/bucky