ElasticSearch, Logstash, Kibana and Lumberjack (Logstash-Forwarder).
$ make
Before you run the following command, you may want to make sure that you have completed the security configurations steps below
$ make elk
Nginx listens to port 80 so accessing http://servername/ should just work.
Internally, Nginx will first try files from etc/nginx/html
, and if no files is found, it will fallback to kibana
container, and the then subsequently elasticsearch
container.
You have to generate your own selfsigned certs. log-courier
has prepared a simple tool for that purpose. The same certs and keys will be used for logstash
and logstash-forwarder
(a.k.a. lumberjack
)
$ cd vendor/log-courier
$ make selfsigned
$ cd -
$ mv vendor/log-courier/selfsigned.crt etc/ssl/certs/logstash-forwarder.crt
$ mv vendor/log-courier/selfsigned.key etc/ssl/private/logstash-forwarder.key
$ htpasswd -b etc/nginx/conf.d/.htpasswd username password