Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Fleet] Preset output backfill fails on preconfigured outputs #173081

Closed
kpollich opened this issue Dec 11, 2023 · 1 comment · Fixed by #173088
Closed

[Fleet] Preset output backfill fails on preconfigured outputs #173081

kpollich opened this issue Dec 11, 2023 · 1 comment · Fixed by #173088
Assignees
Labels
Team:Fleet Team label for Observability Data Collection Fleet team

Comments

@kpollich
Copy link
Member

image

When Fleet attempts to backfill the preset field on an existing preconfigured output, it throws an error and Fleet setup fails.

@kpollich kpollich added the Team:Fleet Team label for Observability Data Collection Fleet team label Dec 11, 2023
@kpollich kpollich self-assigned this Dec 11, 2023
@elasticmachine
Copy link
Contributor

Pinging @elastic/fleet (Team:Fleet)

kpollich added a commit that referenced this issue Dec 11, 2023
## Summary

Closes #173081 

Fixes output backfill for existing preconfigured outputs. 

### Checklist

- [x] [Unit or functional
tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)
were updated or added to match the most common scenarios

---------

Co-authored-by: Nicolas Chaulet <[email protected]>
kibanamachine pushed a commit to kibanamachine/kibana that referenced this issue Dec 11, 2023
## Summary

Closes elastic#173081

Fixes output backfill for existing preconfigured outputs.

### Checklist

- [x] [Unit or functional
tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)
were updated or added to match the most common scenarios

---------

Co-authored-by: Nicolas Chaulet <[email protected]>
(cherry picked from commit 61b413e)
kibanamachine added a commit that referenced this issue Dec 11, 2023
#173118)

# Backport

This will backport the following commits from `main` to `8.12`:
- [[Fleet] Fix output backfill for preconfigured outputs
(#173088)](#173088)

<!--- Backport version: 8.9.7 -->

### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sqren/backport)

<!--BACKPORT [{"author":{"name":"Kyle
Pollich","email":"[email protected]"},"sourceCommit":{"committedDate":"2023-12-11T21:16:34Z","message":"[Fleet]
Fix output backfill for preconfigured outputs (#173088)\n\n##
Summary\r\n\r\nCloses #173081 \r\n\r\nFixes output backfill for existing
preconfigured outputs. \r\n\r\n### Checklist\r\n\r\n- [x] [Unit or
functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere
updated or added to match the most common
scenarios\r\n\r\n---------\r\n\r\nCo-authored-by: Nicolas Chaulet
<[email protected]>","sha":"61b413ea05734b94c82cd07cef048f281deda3bd","branchLabelMapping":{"^v8.13.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","Team:Fleet","backport:prev-minor","v8.13.0"],"number":173088,"url":"https://github.com/elastic/kibana/pull/173088","mergeCommit":{"message":"[Fleet]
Fix output backfill for preconfigured outputs (#173088)\n\n##
Summary\r\n\r\nCloses #173081 \r\n\r\nFixes output backfill for existing
preconfigured outputs. \r\n\r\n### Checklist\r\n\r\n- [x] [Unit or
functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere
updated or added to match the most common
scenarios\r\n\r\n---------\r\n\r\nCo-authored-by: Nicolas Chaulet
<[email protected]>","sha":"61b413ea05734b94c82cd07cef048f281deda3bd"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v8.13.0","labelRegex":"^v8.13.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/173088","number":173088,"mergeCommit":{"message":"[Fleet]
Fix output backfill for preconfigured outputs (#173088)\n\n##
Summary\r\n\r\nCloses #173081 \r\n\r\nFixes output backfill for existing
preconfigured outputs. \r\n\r\n### Checklist\r\n\r\n- [x] [Unit or
functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere
updated or added to match the most common
scenarios\r\n\r\n---------\r\n\r\nCo-authored-by: Nicolas Chaulet
<[email protected]>","sha":"61b413ea05734b94c82cd07cef048f281deda3bd"}}]}]
BACKPORT-->

Co-authored-by: Kyle Pollich <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Team:Fleet Team label for Observability Data Collection Fleet team
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants