New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ELK stack #510
Conversation
Sorry for not reviewing this earlier. this looks great, however: Logstash requires that you put config files in a folder. This describes what data sources logstash should import into elastic. I would recommend keeping the data volume, but adding in a host mounted directory for this folder. From my example in #360
These config files also often list the path to a metadata file (i.e.: last updated timestamp or last id), in my setup I have it as /etc/logstash/meta/table_last_update. |
@science695 I must have missed that part. Do you have an example of a logstash configuration file that I can actually try out? |
Logstash is quite flexible, with many many different configuration types, from sql to logfiles to elastic beats .... Here is Elastic's documentation on how to import apache access logs into an elastic index (very simple, almost too simple): https://www.elastic.co/guide/en/logstash/current/config-examples.html#_processing_apache_logs The file listed there would go in /etc/logstash/conf.d/apache-logs.conf But the idea for this would be that conf.d folder is exposed to the host so we could put our own configs in, possibly also the /etc/logstash/meta/ folder if you are using the jdbc (SQL) input plugin. |
ELK stack
Goal
Be able to use ELK stack (Elastic Search, Logstash and Kibana)
DESCRIPTION
This PR adds configurable Elastic Search, Logstash and Kibana container (known as ELK stack) to the Devilbox.