top
(README.md)
gogstash output redis
=====================

## Synopsis

```
{
	"output": [
		{
			"type": "redis",

			// (optional)
			"key": "gogstash",

			// (required)
			"host": [""],

			// (optional), default: "list"
			"data_type": "list",

			// (optional), in seconds, default: 5
			"timeout": 5

			// (optional), in seconds, default: 1
			"reconnect_interval": 1
		}
	]
}
```

## Details

* type
	* Must be **"redis"**
* key
	* The name of a Redis list or channel.
		Dynamic names are valid here, for example “gogstash-%{host}”.
* host
	* The hostname(s) and port(s) of your Redis server(s).
		Only one of redis server will be notify.
		When using redis master/slave, list all redis servers.

```
["127.0.0.1:6379", "10.20.30.40:6379"]
```

* timeout
	* Redis initial connection timeout in seconds.
* reconnect_interval
	* Interval for reconnecting to failed Redis connections.

Imports 4 package(s)

  1. github.com/fzzy/radix/redis
  2. github.com/tsaikd/gogstash/config
  3. github.com/tsaikd/gogstash/config/logevent
  4. github.com/Sirupsen/logrus

Test imports 1 package(s)

  1. github.com/stretchr/testify/require