Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[8.x] [Observability] Use Fleet's default data output when onboarding…
… integrations using auto-detect flow (elastic#201158) (elastic#201833) # Backport This will backport the following commits from `main` to `8.x`: - [[Observability] Use Fleet's default data output when onboarding integrations using auto-detect flow (elastic#201158)](elastic#201158) <!--- Backport version: 8.9.8 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sqren/backport) <!--BACKPORT [{"author":{"name":"Thom Heymann","email":"[email protected]"},"sourceCommit":{"committedDate":"2024-11-25T11:14:49Z","message":"[Observability] Use Fleet's default data output when onboarding integrations using auto-detect flow (elastic#201158)\n\nResolves elastic#199751\r\n\r\n## Summary\r\n\r\nUse Fleet's default data output when onboarding integrations using\r\nauto-detect flow.\r\n\r\n## Screenshot\r\n\r\n### Fleet output settings\r\n\r\n<img width=\"1411\" alt=\"Screenshot 2024-11-21 at 15 10 24\"\r\nsrc=\"https://github.com/user-attachments/assets/ac193552-7f18-4566-a84b-061df45c13f3\">\r\n\r\n### Generated Agent config\r\n\r\n```\r\n$ cat /Library/Elastic/Agent/elastic-agent.yml\r\n\r\noutputs:\r\n default:\r\n type: elasticsearch\r\n hosts:\r\n - https://192.168.1.73:9200\r\n ssl.ca_trusted_fingerprint: c48c98cdf7f85d7cc29f834704011c1002b5251d594fc0bb08e6177544fe304a\r\n api_key: b1BkR1Q1TUIyOUpfMWhaS2NCUXA6SS1Jb3dncGVReVNpcEdzOGpSVmlzQQ==\r\n preset: balanced\r\n```\r\n\r\n## Testing\r\n\r\n1. Go to Fleet > Settings > Outputs\r\n2. Edit the default output and enter dummy data into the \"Elasticsearch\r\nCA trusted fingerprint\" field\r\n3. Go through the auto-detect onboarding flow\r\n4. Inspect the `elastic-agent.yml` file written to disk. It should\r\ncontain the default output configured in Fleet including\r\n`ca_trusted_fingerprint` setting","sha":"845aa8c47c858a6ccf83390bb38f332424ce2221","branchLabelMapping":{"^v9.0.0$":"main","^v8.18.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","backport missing","Team:Fleet","v9.0.0","backport:prev-minor","ci:project-deploy-observability"],"number":201158,"url":"https://github.com/elastic/kibana/pull/201158","mergeCommit":{"message":"[Observability] Use Fleet's default data output when onboarding integrations using auto-detect flow (elastic#201158)\n\nResolves elastic#199751\r\n\r\n## Summary\r\n\r\nUse Fleet's default data output when onboarding integrations using\r\nauto-detect flow.\r\n\r\n## Screenshot\r\n\r\n### Fleet output settings\r\n\r\n<img width=\"1411\" alt=\"Screenshot 2024-11-21 at 15 10 24\"\r\nsrc=\"https://github.com/user-attachments/assets/ac193552-7f18-4566-a84b-061df45c13f3\">\r\n\r\n### Generated Agent config\r\n\r\n```\r\n$ cat /Library/Elastic/Agent/elastic-agent.yml\r\n\r\noutputs:\r\n default:\r\n type: elasticsearch\r\n hosts:\r\n - https://192.168.1.73:9200\r\n ssl.ca_trusted_fingerprint: c48c98cdf7f85d7cc29f834704011c1002b5251d594fc0bb08e6177544fe304a\r\n api_key: b1BkR1Q1TUIyOUpfMWhaS2NCUXA6SS1Jb3dncGVReVNpcEdzOGpSVmlzQQ==\r\n preset: balanced\r\n```\r\n\r\n## Testing\r\n\r\n1. Go to Fleet > Settings > Outputs\r\n2. Edit the default output and enter dummy data into the \"Elasticsearch\r\nCA trusted fingerprint\" field\r\n3. Go through the auto-detect onboarding flow\r\n4. Inspect the `elastic-agent.yml` file written to disk. It should\r\ncontain the default output configured in Fleet including\r\n`ca_trusted_fingerprint` setting","sha":"845aa8c47c858a6ccf83390bb38f332424ce2221"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","labelRegex":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/201158","number":201158,"mergeCommit":{"message":"[Observability] Use Fleet's default data output when onboarding integrations using auto-detect flow (elastic#201158)\n\nResolves elastic#199751\r\n\r\n## Summary\r\n\r\nUse Fleet's default data output when onboarding integrations using\r\nauto-detect flow.\r\n\r\n## Screenshot\r\n\r\n### Fleet output settings\r\n\r\n<img width=\"1411\" alt=\"Screenshot 2024-11-21 at 15 10 24\"\r\nsrc=\"https://github.com/user-attachments/assets/ac193552-7f18-4566-a84b-061df45c13f3\">\r\n\r\n### Generated Agent config\r\n\r\n```\r\n$ cat /Library/Elastic/Agent/elastic-agent.yml\r\n\r\noutputs:\r\n default:\r\n type: elasticsearch\r\n hosts:\r\n - https://192.168.1.73:9200\r\n ssl.ca_trusted_fingerprint: c48c98cdf7f85d7cc29f834704011c1002b5251d594fc0bb08e6177544fe304a\r\n api_key: b1BkR1Q1TUIyOUpfMWhaS2NCUXA6SS1Jb3dncGVReVNpcEdzOGpSVmlzQQ==\r\n preset: balanced\r\n```\r\n\r\n## Testing\r\n\r\n1. Go to Fleet > Settings > Outputs\r\n2. Edit the default output and enter dummy data into the \"Elasticsearch\r\nCA trusted fingerprint\" field\r\n3. Go through the auto-detect onboarding flow\r\n4. Inspect the `elastic-agent.yml` file written to disk. It should\r\ncontain the default output configured in Fleet including\r\n`ca_trusted_fingerprint` setting","sha":"845aa8c47c858a6ccf83390bb38f332424ce2221"}}]}] BACKPORT-->
- Loading branch information