Skip to content

Lfd4/redisfeeder

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

redisfeeder

A simple tool to push logs from stdin to a Redis instance.

Usage

Read lines from stdin and send them to redis.

Usage: redisfeeder [OPTIONS] <HOSTNAME> <STORE_COMMAND> <KEY>

Arguments:
  <HOSTNAME>       redis host
  <STORE_COMMAND>  redis command to store the line [possible values: rpush]
  <KEY>            key to store the line into

Options:
  -t, --timeout <TIMEOUT>        timeout in seconds [default: 5]
  -d, --delay <DELAY>            time to wait before reconnecting in seconds [default: 5]
  -q, --queue-size <QUEUE_SIZE>  [default: 1024]
  -h, --help                     Print help
  -V, --version                  Print version

License

Licensed under either of

at your option.

About

No description, website, or topics provided.

Resources

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT

Stars

Watchers

Forks

Packages

No packages published

Languages