Skip to content

rafael-0317/fluent-plugin-redis-slowlog

 
 

Repository files navigation

fluent-plugin-redis-slowlog Build Status

Installation

$ gem install fluent-plugin-redis-slowlog

Configuration

<source>
  type redis_slowlog
  host [Redis Hostname]
  port [Redis Port (default: 6379)]
  logsize  [Redis Command(SLOWLOG get logsise) (default:128)]
  interval [Redis Command(SLOWLOG get logsize) interval (default:10)]
  tag redis.slowlog
</source>

output

2014-06-08 05:33:51 +0900 redis.slowlog: {"id":176,"timestamp":1402173275,"exec_time":9,"command":["set","hoge","aga"]}
2014-06-08 05:33:51 +0900 redis.slowlog: {"id":175,"timestamp":1402173273,"exec_time":137,"command":["slowlog","get","128"]}

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Ruby 100.0%