send events to a redis database using RPUSH
For more information about redis, see http://redis.io/
output {
redis {
data_type => ... # ["list", "channel"] (optional)
db => ... # number (optional), default: 0
host => ... # string (optional), default: "127.0.0.1"
key => ... # string (optional)
password => ... # password (optional)
port => ... # number (optional), default: 6379
tags => ... # array (optional), default: []
timeout => ... # number (optional), default: 5
type => ... # string (optional), default: ""
}
}
Either list or channel. If redistype is list, then we will RPUSH to key. If redistype is channel, then we will PUBLISH to key. TODO set required true
The redis database number.
The hostname of your redis server.
The name of a redis list or channel. Dynamic names are valid here, for example "logstash-%{@type}". TODO set required true
Name is used for logging in case there are multiple instances. TODO: delete
Password to authenticate with. There is no authentication by default.
The port to connect on.
The name of the redis queue (we'll use RPUSH on this). Dynamic names are valid here, for example "logstash-%{@type}" TODO: delete
Only handle events with all of these tags. Note that if you specify a type, the event must also match that type. Optional.
Redis initial connection timeout in seconds.
The type to act on. If a type is given, then this output will only act on messages with the same type. See any input plugin's "type" attribute for more. Optional.