Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/holmars/local-logspout
Local logspout test setup
https://github.com/holmars/local-logspout
Last synced: 1 day ago
JSON representation
Local logspout test setup
- Host: GitHub
- URL: https://github.com/holmars/local-logspout
- Owner: holmars
- Created: 2015-03-16T23:06:06.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2015-03-16T23:06:13.000Z (almost 10 years ago)
- Last Synced: 2023-02-28T19:41:47.812Z (almost 2 years ago)
- Language: ApacheConf
- Size: 102 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Local logspout test setup
We start logspout without any routes, since we don't want to get stdout/stdout from all containers.
To create a route run the following:
```
curl http://docker:81/routes -X POST \
-d '{"source": {"filter": "devpi-master"}, "target": {"type": "syslog", "addr": "logstashshipper:5000"}}'
```
This will route both stdout and stderr from devpi-master to our logstashshippper, which will output the logs to redis.To list all routes:
```
curl http://docker:81/routes
```See [logspout's docs](https://github.com/gliderlabs/logspout) for more information.
## Logstash-shipper
Currently we need to include this logstash-shipper to handle the syslog to redis part of the (R)ELK pipeline. Hopefully https://github.com/gliderlabs/logspout/pull/41 will get merged soon.