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

## Synopsis

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

			// (required)
			"command": "",

			// (optional), default: []
			"args": [""],

			// (optional), in seconds, default: 60
			"interval": 60
		}
	]
}
```

## Details

* type
	* Must be **"exec"**
* command
	* Command to run. For example, “uptime”
* args
	* String array
	* Arguments of command
* interval
	* Interval to run the command. Value is in seconds.

Imports 5 package(s)

  1. github.com/tsaikd/gogstash/config
  2. github.com/tsaikd/KDGoLib/enumutil
  3. github.com/Sirupsen/logrus
  4. github.com/tsaikd/KDGoLib/errutil
  5. github.com/tsaikd/gogstash/config/logevent

Test imports 1 package(s)

  1. github.com/stretchr/testify/require