top
(README.md)
socket input
===================

## Synopsis

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

			// Socket type. Must be one of ["tcp", "unix", "unixpacket"].
			"socket": "tcp",

			// For TCP, address must have the form `host:port`.
			// For Unix networks, the address must be a file system path.
			"address": "localhost:9999"
		}
	]
}
```

> Note: at the moment, this input only works with connection-oriented sockets.
>
> Datagram-oriented sockets like UDP or UNIXGRAM socket are not supported.

Imports 4 package(s)

  1. github.com/tsaikd/KDGoLib/errutil
  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