Docker image based on digitalwonderland/base
To connect to Elasticsearch Logstashs elasticsearch_http
output is used (this allows for greater flexibility regarding the compatible Elasticsearch versions). Hostname and port can be configured via the ELASTICSEARCH_PORT_9200_TCP_ADDR
and ELASTICSEARCH_PORT_9200_TCP_PORT
environment variables. They default to elasticsearch
and 9200
respectively.
The following inputs are enabled:
- logstash-forwarder on port
5043
& certificates being available in a volume bellow/mnt/logstash-forwarder
. - tcp on port
3333
- syslog on port
1514
. You might want to map that to514
on the host (it had to be above 1024 since logstash is not running as root)