Commit Graph

417 Commits

Author SHA1 Message Date
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
docker-elk-updater[bot] 384e3320e2
Update to v8.2.3 2022-06-19 11:37:38 +00:00
Antoine Cotten e980a542e7
ci: Clean up orphan containers in each extension test 2022-06-08 10:05:07 +02:00
Antoine Cotten 29df29f808
feat(ext): Add Heartbeat extension
Closes #672
2022-06-03 17:33:15 +02:00
Antoine Cotten 003b94d565
doc: Mention known incompatibilities with Compose < 1.26
Closes #698
2022-06-03 11:18:14 +02:00
Antoine Cotten f808ff31cf
ci: Auto-update Elastic version on tls branch 2022-05-29 11:24:38 +02:00
dependabot[bot] 94d6273524
chore(deps): Bump actions/checkout from 2 to 3 (#721) 2022-05-29 08:22:02 +00:00
dependabot[bot] 84e37a221f
chore(deps): Bump peter-evans/create-pull-request from 3 to 4 (#718) 2022-05-29 08:17:12 +00:00
dependabot[bot] de90bd06b4
chore(deps): Bump actions/setup-node from 2 to 3 (#719) 2022-05-29 08:17:09 +00:00
dependabot[bot] 0319b7e128
chore(deps): Bump actions/github-script from 5 to 6 (#720) 2022-05-29 08:17:07 +00:00
Antoine Cotten 66ff963e0a
ci: Let Dependabot update GitHub actions 2022-05-29 10:08:19 +02:00
docker-elk-updater[bot] 3e2230e09a
Update to v8.2.2 2022-05-29 00:24:41 +00:00
Antoine Cotten 9fd8a09f0d
ci: Use GitHub runner based on Ubuntu 22.04
Includes Compose v2. See the full list of included software at
https://github.com/actions/virtual-environments/blob/ubuntu22/20220522.1/images/linux/Ubuntu2204-Readme.md
2022-05-25 22:35:55 +02:00
Antoine Cotten 1557e27bff
doc: Render notes and warnings using GitHub admonitions
https://github.com/github/feedback/discussions/16925
2022-05-21 12:14:56 +02:00
Antoine Cotten 4319be7cd0
fix: Revert removal of -Xms JVM option
Logstash has '-Xms1g' set inside 'config/jvm.options', so either -Xms
must be set, or -Xmx must be greater than 1g (which is too high of a
default for docker-elk).

Elastic explicitly recommends setting -Xms and -Xmx to the same value
for Elasticsearch:
  https://www.elastic.co/guide/en/elasticsearch/reference/8.2/advanced-configuration.html#set-jvm-heap-size
2022-05-16 21:29:08 +02:00