top
(README.md)
gogstash input dockerstats
==========================

## Synopsis

```
{
	"input": [
		{
			"type": "docker",

			// (optional), docker endpoint, default: "unix:///var/run/docker.sock"
			"dockerurl": "unix:///var/run/docker.sock",

			// (optional), include docker name pattern, support regular expression of golang, default: []
			"include_patterns": [],

			// (optional), exclude docker name pattern, support regular expression of golang, default: []
			"exclude_patterns": [],

			// (optional), in seconds, stat interval, default: 15
			"stat_interval": 15,

			// (optional), in seconds, docker connection retry interval, default: 10
			"connection_retry_interval": 10

			// (optional), zero hierarchical_memory_limit in docker stats, sometimes it will cause elastic exception 'JsonParseException Numeric value out of range of long', default: false
			"zero_hierarchical_memory_limit": false
		}
	]
}
```

Imports 6 package(s)

  1. github.com/fsouza/go-dockerclient
  2. github.com/Sirupsen/logrus
  3. github.com/tsaikd/KDGoLib/errutil
  4. github.com/tsaikd/gogstash/config
  5. github.com/tsaikd/gogstash/config/logevent
  6. github.com/tsaikd/gogstash/input/dockerlog

Test imports 1 package(s)

  1. github.com/stretchr/testify/require