Commit Graph

315 Commits

Author SHA1 Message Date
docker-elk-updater[bot] 5d844f3c91
Update to v8.1.3 2022-04-24 00:23:56 +00:00
docker-elk-updater[bot] d9d43c2a40
Update to v8.1.2 2022-04-03 00:21:55 +00:00
docker-elk-updater[bot] 2ec05d65b2
Update to v8.1.1 2022-03-27 00:22:47 +00:00
docker-elk-updater[bot] 0f5dcf1d70
Update to v8.1.0 2022-03-13 08:10:50 +00:00
Antoine Cotten 1f26484b61
doc: Mention support for Compose V2
Closes #684
2022-03-12 17:25:20 +01:00
Antoine Cotten 12dc0a4b74
Revert "ci: Pin Compose version to v2.2.3"
This reverts commit 897720fa91.

A new version of Compose was released, with a fix for the issue we were
encountering.
2022-03-09 01:57:19 +01:00
Antoine Cotten 4fe6f68339
ci: Update list of auto-mergeable branch names 2022-03-06 11:07:29 +01:00
Antoine Cotten 488a88b4ca
doc: Revert in-paragraph string replacement by update bot 2022-03-06 11:02:29 +01:00
docker-elk-updater[bot] 21aa0ce9af
Update to v8.0.1 2022-03-06 10:00:13 +00:00
Antoine Cotten 897720fa91
ci: Pin Compose version to v2.2.3
v2.3.0 introduced a regression which causes the test CI workflow to
fail: https://github.com/docker/compose/issues/9234
2022-03-06 10:28:48 +01: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 159c934ad2
doc: Bump minimum Compose version requirement to 1.26.0
Prior to this version, surrounding quotes (single and double) were
preserved in values coming from the '.env' file, which is counter
intuitive and goes against the recommended practice of quoting values
containing special characters, such as passwords.

Closes #677
2022-02-28 15:33:50 +01:00
Antoine Cotten 9a52c6cf5f
chore: Update animated demo for v8.0.0 2022-02-28 12:03:18 +01:00
Antoine Cotten 924a1e5987
chore: Update Compose file version to 3.7
Allows enabling the 'init' option in the 'setup' service.

Requires Docker 18.06.0 and Compose 1.22.0.
2022-02-28 09:50:52 +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 0a9c3ebd2c
doc: Update "Philosophy" section to reflect latest changes
We do use a small amount of custom setup automation now.
2022-02-28 09:02:44 +01:00
Antoine Cotten 9877b39900
Automate management of required roles and user passwords (#671) 2022-02-21 11:19:43 +01:00
Antoine Cotten 641290c20a
Apply SELinux options to bind mounts
https://docs.docker.com/storage/bind-mounts/

Related to #639
Closes #661
2022-02-11 20:11:22 +01:00
Antoine Cotten a82e95d94e
doc: Provide examples of config overrides via env vars 2022-02-11 19:51:43 +01:00
Antoine Cotten ca98168da1
Quote passwords to prevent interpreting leading special chars
Closes #667
2022-02-11 19:10:58 +01:00
Antoine Cotten b77b7fb66a
fix: Swap flag with service name in Compose command
Related to #667
2022-02-11 19:10:58 +01:00
Antoine Cotten 370ebbfaf4
doc: Update "Initial Setup" section for v8.0.0
Starting with Elastic v8.0.0, it is no longer possible to run Kibana
using the bootstraped privileged `elastic` user.

Closes #666
2022-02-11 14:48:00 +01:00
Antoine Cotten 33a96e571a
es: Remove deprecated monitoring setting 2022-02-10 19:56:19 +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 3882ce97e1
doc: Update links to Legacy APM Server Reference 2022-02-04 15:44:55 +01:00
docker-elk-updater[bot] 1a30af6e11
Update to v7.17.0 2022-02-04 14:37:42 +00:00
docker-elk-updater[bot] ff35064836
Update to v7.16.3 2022-01-16 00:20:34 +00:00
Antoine Cotten 3ce7fc0ae3
ci: Fix race condition while checking container IP
Be resilient and recheck the container's status if its IP address
couldn't be determined on the first attempt.
2021-12-28 20:16:54 +01:00
docker-elk-updater[bot] 691ffd8764
Update to v7.16.2 2021-12-20 16:01:32 +00:00
docker-elk-updater[bot] c7f4a8eac0
Update to v7.16.1 2021-12-13 16:18:54 +00:00
docker-elk-updater[bot] 4e6c8712fe
Update to v7.16.0 2021-12-12 11:30:14 +00:00
Antoine Cotten 1815972838
Add Filebeat extension 2021-12-04 02:17:41 +01:00
Yuri Pereira Constante 01a0cf94d5
Podman and SELinux compatible volume declaration (#639) 2021-11-29 09:28:17 +01:00
Antoine Cotten e6f9ec49d2
ci: Delete branch after successful Elastic update merge 2021-11-11 19:08:42 +01:00
docker-elk-updater[bot] 8055143d52
Update to v7.15.2 2021-11-11 14:36:47 +00:00
Antoine Cotten 9a523626ef
ci: Automatically merge bot PRs for Elastic updates
Merges pull requests from docker-elk-updater[bot] if CI checks pass.
2021-11-09 02:54:27 +01:00
Antoine Cotten 6f8117e2d8
doc: Increase resolution of animated demo, compress GIF 2021-11-07 11:46:55 +01:00
Antoine Cotten e8d16db9b6
doc: Add animated demo to README 2021-11-06 20:38:49 +01:00
Antoine Cotten b826d7bbdf
ci: Always use _search API instead of _count
Makes it easier to troubleshoot returned documents by inspecting the
logs of CI runs.
2021-11-06 12:06:31 +01:00
Antoine Cotten e9903fecf6
ci: Run tests using latest Compose V2 release 2021-11-06 10:38:41 +01:00
Antoine Cotten 233c4e0b8c
ci: Use token from GitHub App in auto-update workflow 2021-11-03 14:37:26 +01:00
Antoine Cotten 5ffa296608
doc: Add note about cancelling an ongoing trial 2021-10-30 18:55:06 +02:00
Antoine Cotten 9fde1ac351
ci(core): Retry sending data over TCP in case of error
The first attempt occasionally fails, probably due to a race with the
listener's startup.

Additionally, perform minor adjustments to the output written to stderr
to ensure it is properly flushed in the CI environment.
2021-10-28 17:56:39 +02:00
Antoine Cotten c3cc7ae15c
ci: Check for readiness of Logstash in Logspout test
Since we restart Logstash to enable the UDP input prior to running this
test, we should also ensure it has successfully come back, otherwise we
start searching for the expected documents in Elasticsearch way too
early and often run into timeouts.
2021-10-28 15:05:17 +02:00
Antoine Cotten 29d105e663
ci(update): Checkout repo after running Node.js steps
Ensures the workspace is clean before attempting to update any file.
Removes the need for explicitly ignoring Node.js artifacts in Git, since
they get cleaned up by the 'checkout' action before fetching.
2021-10-26 23:48:47 +02:00
Antoine Cotten c8f5f01b7f
ci: Update all release series from single workflow
Run the update job for each currently supported release series, so that
automated updates can be orchestrated from the main branch via a single
scheduled workflow.
2021-10-26 23:08:40 +02:00
github-actions[bot] b2e2aa792c
Update to v7.15.1 (#631)
Co-authored-by: antoineco <antoineco@users.noreply.github.com>
2021-10-26 19:41:15 +02:00
Antoine Cotten 04fdb981eb
Restore "Send automated PR upon new stack release"
This reverts commit 9016e00e7b and updates
the 'latest' version detection logic to iterate over releases and pick
the latest matching semver, instead of relying on GitHub's
'/releases/latest' API.
2021-10-26 19:39:01 +02:00