Container with a basic configuration that parses syslog data in port 51415 and gelf in 12201/udp
50K+
This image starts a logstash container with a basic configuration that parses:
If you are using LOGSPOUT be sure that it ignores this container or you'll get an infinite loop of logging.
By default it tries to send the logs to the Elasticsearch on the address "elasticsearch:9200".
docker service create \
--name logstash \
-e LOGSPOUT=ignore \
basi/logstash
The default configuration assumes that the Elasticsearch server is in the address http://elasticsearch:9200, without user/pass.
This can be changed using the environment variables:
For example:
docker service create \
--name logstash \
-e DEBUG=false \
-e LOGSPOUT=ignore \
-e ELASTICSEARCH_SSL=true \
-e ELASTICSEARCH_USER=user \
-e ELASTICSEARCH_PASSWORD=password \
-e ELASTICSEARCH_ADDR=myelastic.example.com \
-e ELASTICSEARCH_PORT=9201 \
basi/logstash
Content type
Image
Digest
Size
291.2 MB
Last updated
over 8 years ago
docker pull basi/logstash