This is million12/logstash docker image with logstash server. It's based on CentOS-7 official docker image.
Default: SERVER_CN=server.com
For your own server canonical name, simply edit it.
Default: none
Space divided names of user specified plugins. See Elastic website for complete list
docker run \
-d \
--name logstash \
-p 5000:5000 \
million12/logstash
User can provide config (logstash.conf
) file by sharing it from host os.
Run example (assuming your logstash.conf
is located in /etc/logstash/logstash.conf
on host os):
docker run \
-d \
--name logstash \
-p 5000:5000 \
-v /etc/logstash:/etc/logstash \
-e SERVER_CN="domain.com" \
-e INSTALL_PLUGINS="logstash-input-beats logstash-input-lumberjack" \
million12/logstash
Certificates will be created on the first run and kept in /etc/logstash/ssl
directory.
If you run docker image with -v /etc/logstash:/etc/logstash
certificates will accessible on host os in: /etc/logstash/ssl/*
For pushing your logs into Logstash make sure you have copied certificated to your logged machine and set up logstash-forwarder accourdigly to it's manual.
Author: Marcin Ryzycki ([email protected])
Author: Przemyslaw Ozgo ([email protected])
Sponsored by Typostrap.io - the new prototyping tool for building highly-interactive prototypes of your website or web app. Built on top of TYPO3 Neos CMS and Zurb Foundation framework.