Commit Graph

7 Commits

Author SHA1 Message Date
Antoine Cotten 9877b39900
Automate management of required roles and user passwords (#671) 2022-02-21 11:19:43 +01:00
Antoine Cotten 6704d9f1d7
Update to v8.0.0 (#544)
List of changes impacting docker-elk:

- [logstash]: The output to Elasticsearch is handled as a data stream.

  Starting with v8.0.0, the `elasticsearch` output for Logstash sends
  log data to a data stream instead of `logstash-*` indices by default.
  The name of the default data stream is `logs-generic-default`.
  docker-elk remains unopinionated and simply uses Elastic's defaults
  like it always has, so users who prefer to retain the old behaviour
  need to explicitly opt-out of data streams in their Logstash
  pipelines.

  Refs:
  - https://www.elastic.co/guide/en/elasticsearch/reference/current/data-streams.html
  - https://www.elastic.co/guide/en/logstash/current/plugins-outputs-elasticsearch.html#plugins-outputs-elasticsearch-data-streams

- [logstash]: The (legacy) monitoring data collection is now disabled.

  This feature was deprecated since v7.9.0, and removed in v8.0.0.

  Ref: https://www.elastic.co/guide/en/logstash/current/monitoring-internal-collection-legacy.html

- [kibana]: An index pattern for `logs-*` indices is automatically
  created.

  It used to be required to manually create an index pattern for indices
  managed by Logstash, even when using the default Logstash indices.
  This is no longer the case since the output data is now being handled
  as a data stream, and Kibana automatically creates index patterns for
  these.

- [elasticsearch]: The command line tool `elasticsearch-setup-passwords`
  was deprecated in favour of a new `elasticsearch-reset-password` tool.

  Passwords for built-in users must now be generated one by one.

  Ref: https://www.elastic.co/guide/en/elasticsearch/reference/current/setup-passwords.html

- [enterprise-search]: Kibana is now the new management interface, and
  the only one available moving forward.

  The old standalone Enterprise Search interface was removed in v8.0.0.

  Ref: https://www.elastic.co/guide/en/enterprise-search/current/user-interfaces.html
2022-02-10 17:19:04 +01:00
Antoine Cotten 43c23374a3
logstash: Explicitly set ecs_compatibility to "disabled"
Since v7.10, Logstash prints the following warning message when this
setting is not defined:

[deprecation.logstash.outputs.elasticsearch] Relying on default value of
`pipeline.ecs_compatibility`, which may change in a future major release
of Logstash. To avoid unexpected changes when upgrading Logstash, please
explicitly declare your desired ECS Compatibility mode.

Ref: https://www.elastic.co/guide/en/logstash/7.10/plugins-outputs-elasticsearch.html#plugins-outputs-elasticsearch-ecs_compatibility
2020-11-12 15:46:27 +01:00
Antoine Cotten a4f4e8fd39
Enable Logstash's Beats input by default
The configuration from the official Docker image includes it by default:
https://github.com/elastic/logstash/blob/7.9/docker/data/logstash/pipeline/default.conf

More information about the Beats input plugin:
https://www.elastic.co/guide/en/logstash/current/plugins-inputs-beats.html
2020-10-18 11:48:25 +02:00
Antoine Cotten e8c473ea67
Quote strings in Logstash pipeline config
Closes #408
2019-06-28 23:28:46 +02:00
Antoine Cotten e8e238f00c
Enable Stack Features (X-Pack) and trial by default (#387)
Co-authored-by: Willian Soares <willian@unidesk.com.br>
2019-05-06 23:51:40 +02:00
Antoine Cotten 6cd82cf47a Use new official images (#96) 2017-03-01 15:16:01 +01:00