No commit activity in last 3 years
No release in over 3 years
Redis slowlog input plugin for Fluent event collector
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

>= 0

Runtime

>= 0
 Project Readme

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"]}