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
This commit is contained in:
Antoine Cotten 2022-11-15 21:50:16 +01:00
parent 1943f25282
commit 74f5610f6d
No known key found for this signature in database
GPG Key ID: 94637E68D4A79DD0
1 changed files with 10 additions and 3 deletions

View File

@ -4,7 +4,7 @@
#
server.name: kibana
server.host: 0.0.0.0
elasticsearch.hosts: [ 'http://elasticsearch:9200' ]
elasticsearch.hosts: [ http://elasticsearch:9200 ]
monitoring.ui.container.elasticsearch.enabled: true
## X-Pack security credentials
@ -15,8 +15,15 @@ elasticsearch.password: ${KIBANA_SYSTEM_PASSWORD}
## Fleet
## https://www.elastic.co/guide/en/kibana/current/fleet-settings-kb.html
#
xpack.fleet.agents.fleet_server.hosts: [ 'http://fleet-server:8220' ]
xpack.fleet.agents.elasticsearch.hosts: [ 'http://elasticsearch:9200' ]
xpack.fleet.agents.fleet_server.hosts: [ http://fleet-server:8220 ]
xpack.fleet.outputs:
- id: fleet-default-output
name: default
type: elasticsearch
hosts: [ http://elasticsearch:9200 ]
is_default: true
is_default_monitoring: true
xpack.fleet.packages:
- name: fleet_server