Commit Graph

8 Commits

Author SHA1 Message Date
Antoine Cotten a1b5e0b858
chore(setup): Mount scripts instead of baking into img
Allows switching between branches of compatible stack versions (e.g.
main <-> tls) without having to rebuild the setup image.
2022-11-17 21:44:00 +01:00
Antoine Cotten 54d3f71799
fix(setup): Ensure built-in users exist before proceeding
Fixes #786
2022-11-17 12:12:29 +01:00
Antoine Cotten f93dfe007e
feat: Log setup error in case of failed curl command 2022-06-21 15:57:56 +02:00
Antoine Cotten 82b1e653b0
fix(logstash): Adjust role for ECS compatibility
'ecs_compatibility' is now on by default, therefore Logstash indices are
created with the naming pattern "ecs-logstash-*" when data streams are
disabled ('data_stream => false').
2022-03-02 17:13:24 +01:00
Antoine Cotten 02dabf6fb1
fix(logstash): Allow managing "logstash" index
When data streams are disabled in Logstash's "elasticsearch" output
('data_stream => false'), Logstash falls back to managing "logstash-*"
indices and creates an index template with ILM enabled.
In this process, a write index for the alias "logstash" is created. This
step requires the "manage" privilege on the "logstash" alias.

Fixes #679
2022-03-02 17:13:16 +01:00
Antoine Cotten a204596be7
fix: Explicitly make entrypoint of 'setup' service executable
The existing executable permission might not be preserved when users
download docker-elk as a Zip file.

Fixes #676
2022-02-28 09:46:27 +01:00
Antoine Cotten eb1c6fa27e
chore: Rename ELK_VERSION to ELASTIC_VERSION
More appropriate name considering that extensions, which aren't part of
the "ELK" stack, also rely on this variable.
2022-02-28 09:10:30 +01:00
Antoine Cotten 9877b39900
Automate management of required roles and user passwords (#671) 2022-02-21 11:19:43 +01:00