Sign inSign up

sitch/logstash

By sitch

•Updated about 9 years ago

Logstash container for SITCH, including plugins.

Image
0

2.0K

sitch/logstash repository overview

⁠Logstash container for SITCH

⁠Making things just a little bit easier.

Needs these env vars:

varpurpose
ES_URLElasticsearch URL
INFLUXDB_HOSTInfluxDB hostname or IP
INFLUXDB_PORTInfluxDB port
SLACK_WEBHOOKWebhook for posting to Slack
SLACK_USERNAMEUsername for Slack messages
SLACK_ICONIcon for Slack messages
VAULT_URLURL for accessing vault
VAULT_TOKENToken for accessing vault

Build and fire it up daemonized, and you should be off and running. Check the logs for your container a few minutes after you start it to make sure your settings are sane. Logstash is pretty good about making eloquent complaints when it's unhappy.

Here's how you run it, once your environment vars are set:

    docker run -d \
    -p 5000:5000 \
    -p 5001:5001 \
    -e ES_URL=$ES_URL \
    -e INFLUXDB_HOST=$INFLUXDB_HOST \
    -e INFLUXDB_PORT=$INFLUXDB_PORT \
    -e SLACK_WEBHOOK=$SLACK_WEBHOOK \
    -e SLACK_USERNAME=$SLACK_USERNAME \
    -e SLACK_ICON=$SLACK_ICON \
    -e VAULT_URL=$VAULT_URL \
    -e VAULT_TOKEN=$VAULT_TOKEN  \
    --name sitch_logstash \
    sitch/logstash
⁠Running with verbose output
    docker run -d \
    -p 5000:5000 \
    -p 5001:5001 \
    -e ES_URL=$ES_URL \
    -e INFLUXDB_HOST=$INFLUXDB_HOST \
    -e INFLUXDB_PORT=$INFLUXDB_PORT \
    -e SLACK_WEBHOOK=$SLACK_WEBHOOK \
    -e SLACK_USERNAME=$SLACK_USERNAME \
    -e SLACK_ICON=$SLACK_ICON \
    -e VAULT_URL=$VAULT_URL \
    -e VAULT_TOKEN=$VAULT_TOKEN  \
    --name sitch_logstash \
    sitch/logstash \
    debug

Tag summary

Content type

Image

Digest

Size

298.3 MB

Last updated

about 9 years ago

docker pull sitch/logstash