Commit Graph

381 Commits

Author SHA1 Message Date
Antoine Cotten 316df681d9
ci: Automate closing of context-less issues
Adds a GitHub Actions workflow that automatically communicates the
reasons for closing/locking an issue upon labeling it with 'bot:close'.
2022-11-27 14:51:04 +01:00
docker-elk-updater[bot] 67baf969b2
Update to v8.5.2 2022-11-27 00:27:43 +00:00
Antoine Cotten 0ebda1156f
doc(ext): Clarify purpose of exposed TCP ports 2022-11-22 14:48:12 +01:00
Antoine Cotten e202d6ba7c
doc(ext/entsearch): Simplify encryption key example 2022-11-22 14:33:37 +01:00
Antoine Cotten 87f5894f65
feat(ext/beats): Use unprivileged publish users 2022-11-22 11:37:50 +01:00
Antoine Cotten 141b38a083
feat(ext/metricbeat): Further drop perms for monitoring
The built-in 'remote_monitoring_user' has full permissions on monitoring
indices, which is more than Metricbeat needs to collect metrics from
remote components.
2022-11-18 21:47:46 +01:00
Antoine Cotten e7587965fd
doc: Describe how to re-execute the setup after init 2022-11-18 21:43:35 +01:00
Antoine Cotten 4961f99438
feat(ext/metricbeat): Add switch to disable monit modules 2022-11-18 19:20:46 +01:00
Antoine Cotten 0e7fa390b4
ci: Enable beats_system and remote_monitoring_user users 2022-11-18 17:27:15 +01:00
Antoine Cotten 654a18dcdb
feat(ext/beats): Monitor using unprivileged user
Both the collection and storage of monitoring data are now performed
using the unpriviliged built-in users 'remote_monitoring_user' and
'beats_system' respectively, instead of the 'elastic' superuser.
2022-11-18 17:10:20 +01:00
Antoine Cotten 595f42cc90
doc: Fix markdown linter warnings 2022-11-18 16:06:10 +01:00
Antoine Cotten 00e1964a2f
doc(ext/metricbeat): Add screenshots 2022-11-18 14:01:02 +01:00
Antoine Cotten 436f7076d7
doc(ext/fleet): Add screenshots 2022-11-18 14:01:02 +01:00
Antoine Cotten ac464b2d99
feat(ext/beats): Monitor via internal collectors 2022-11-18 14:01:02 +01:00
Antoine Cotten def0aa6665
feat(ext/metricbeat): Enable monitoring of Kibana 2022-11-18 14:01:02 +01:00
Antoine Cotten a150f6dc99
feat(ext/metricbeat): Enable monitoring of Logstash 2022-11-18 12:05:18 +01:00
Antoine Cotten 4f4767cb5a
feat(ext/metricbeat): Enable stack monitoring by default 2022-11-17 21:44:55 +01:00
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 a02b7a0d3a
feat: Give Elasticsearch an explicit node name 2022-11-17 21:24:48 +01:00
Antoine Cotten 9f674eca40
chore: Clean up config 2022-11-17 21:24:46 +01:00
Antoine Cotten eba8d3837d
ci: Use env file instead of deprecated workflow cmd
https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
2022-11-17 16:57:40 +01:00
Antoine Cotten 54d3f71799
fix(setup): Ensure built-in users exist before proceeding
Fixes #786
2022-11-17 12:12:29 +01:00
docker-elk-updater[bot] 384e50bfcd
Update to v8.5.1 2022-11-16 22:37:25 +00:00
Antoine Cotten 0fd8aae1c5
ci: Run auto-merge as update bot
Recently this workflow started failing with 'Resource not accessible by
integration' when using the default GitHub Actions access token.

Ref. ridedott/merge-me-action#1581
2022-11-16 17:54:41 +01:00
Antoine Cotten d11e281d91
ci: Relocate misplaced debug step 2022-11-16 17:31:53 +01:00
Antoine Cotten 347ef2bfd8
doc: Update description of tls branch 2022-11-16 16:36:50 +01:00
Antoine Cotten fdfd1eb71c
doc: Update link to Compose v2 2022-11-16 16:15:30 +01:00
Antoine Cotten c7ed1b56f2
doc: Remove mentions to X-Pack
X-Pack is no longer relevant. Most of its features have been included
free of charge in Elastic products since version 6.3 under the Elastic
License v2.

Refs.
 - https://www.elastic.co/what-is/open-x-pack
 - https://www.elastic.co/pricing/faq/licensing
2022-11-16 16:03:39 +01:00
Antoine Cotten 32bf9423ed
feat(ext/fleet): Add example of APM Server agent 2022-11-16 14:39:22 +01:00
Antoine Cotten 74f5610f6d
chore(kibana): Switch to fleet.outputs schema
The undocumented fields are showcased in the unit tests[0] and
schemas[1].

[0]: https://github.com/elastic/kibana/blob/v8.5.0/src/plugins/interactive_setup/server/kibana_config_writer.test.ts#L202
[1]: https://github.com/elastic/kibana/blob/v8.5.0/x-pack/plugins/fleet/common/openapi/components/schemas/output.yaml
2022-11-15 21:50:16 +01:00
Antoine Cotten 1943f25282
feat(ext/fleet): Store state in a volume
Prevents duplicate enrollments when the fleet-server container is
re-created.
2022-11-15 15:48:35 +01:00
Antoine Cotten d0b97082cf
ci(ext/fleet): Probe status endpoint for readiness 2022-11-15 14:49:24 +01:00
Antoine Cotten 7d95a3f7fa
chore(ext/fleet): Delegate Kibana init to Elastic Agent
Ref. https://github.com/elastic/elastic-agent/blob/v8.5.0/internal/pkg/agent/cmd/container.go#L105-L116
2022-11-15 14:39:20 +01:00
docker-elk-updater[bot] 5247df5787
Update to v8.5.0 2022-11-06 07:52:36 +01:00
Yang Jaeho 1aff32b438
fix(ext/fleet): wrong server hostname in Kibana config (#772) 2022-10-24 15:08:52 +02:00
Antoine Cotten 58613c2dcb
fix(ext/fleet): Restart on failure
It is expected that Elastic Agent fails when Kibana is not ready. To
simplify the ergonomics of this extension, and avoid having to wait
before starting it, restart the Fleet Server service (container)
automatically on failures.

Closes #763
2022-10-19 18:09:59 +02:00
docker-elk-updater[bot] 8d99ebbe3f
Update to v8.4.3 2022-10-09 00:31:32 +00:00
Antoine Cotten 30cb8cb484
feat: Add Fleet extension, remove standalone APM Server (#760)
The preferred way to run APM Server is via the APM integration of the
Elastic Agent.

Ref. https://www.elastic.co/guide/en/apm/guide/8.4/legacy-apm-overview.html
2022-10-06 11:58:02 +02:00
docker-elk-updater[bot] fd33e7ccbb
Update to v8.4.2 2022-09-25 06:22:08 +00:00
Antoine Cotten b11cc1cd7c
fix(doc): Update branch in links to Elastic repos 2022-09-20 16:22:57 +02:00
Daniel Abbatt 0f93372ea4
fix(doc): Typo in link label 2022-09-01 08:04:33 +02:00
docker-elk-updater[bot] 0dfc4bb99e
Update to v8.4.1 2022-08-30 16:56:10 +00:00
docker-elk-updater[bot] 5b939e457e
Update to v8.4.0 2022-08-25 09:33:50 +00:00
Antoine Cotten 52df39e3cc
fix(ci): Image names with underscores in search queries
GitHub updated their Ubuntu 22.04 runner image to 20220821.1, which
bumped Compose from v2.6.1 to v2.9.0.
Compose v2.8.0 introduced a breaking change where the name of certain
resources — such as images — are created with hyphens '-' instead of
underscores '_'.

Ref. https://docs.docker.com/compose/release-notes/#280
2022-08-25 11:11:35 +02:00
docker-elk-updater[bot] fff0c8fc98
Update to v8.3.3 2022-07-31 00:25:25 +00:00
Evan b6eb747a4a
fix: Logstash TCP input uses IANA registered port 5000 2022-07-17 00:00:38 +02:00
docker-elk-updater[bot] b64709602b
Update to v8.3.2 2022-07-10 00:28:03 +00:00
docker-elk-updater[bot] 6f73c4f528
Update to v8.3.1 2022-07-03 00:27:08 +00:00
Antoine Cotten f93dfe007e
feat: Log setup error in case of failed curl command 2022-06-21 15:57:56 +02:00
Antoine Cotten f7204daaee
feat: Set explicit setup dependency on Elasticsearch 2022-06-21 14:05:55 +02:00