-
Notifications
You must be signed in to change notification settings - Fork 8.2k
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] ES output presets config keyword should be changed #175892
Comments
Pinging @elastic/fleet (Team:Fleet) |
@amolnater-qasource Could you please update your tests cases according to this change? |
## Summary Fixes #175892 Updates reserved keywords that trigger the `Custom` preset for the Elasticsearch output. https://github.com/elastic/kibana/assets/6766512/dda60f6c-d77e-4e98-946b-2c389660074b Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
…175901) ## Summary Fixes elastic#175892 Updates reserved keywords that trigger the `Custom` preset for the Elasticsearch output. https://github.com/elastic/kibana/assets/6766512/dda60f6c-d77e-4e98-946b-2c389660074b Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com> (cherry picked from commit 0c93180) # Conflicts: # x-pack/plugins/fleet/cypress/e2e/fleet_settings_outputs.cy.ts
…175901) (#175915) # Backport This will backport the following commits from `main` to `8.12`: - [[Fleet] Fix reserved keys for Elasticsearch output YAML box (#175901)](#175901) <!--- Backport version: 8.9.8 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sqren/backport) <!--BACKPORT [{"author":{"name":"Kyle Pollich","email":"kyle.pollich@elastic.co"},"sourceCommit":{"committedDate":"2024-01-30T16:30:36Z","message":"[Fleet] Fix reserved keys for Elasticsearch output YAML box (#175901)\n\n## Summary\r\n\r\nFixes #175892\r\n\r\nUpdates reserved keywords that trigger the `Custom` preset for the\r\nElasticsearch output.\r\n\r\n\r\n\r\nhttps://github.com/elastic/kibana/assets/6766512/dda60f6c-d77e-4e98-946b-2c389660074b\r\n\r\nCo-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>","sha":"0c9318043902474f27d4bbf9739de70994e58cf8","branchLabelMapping":{"^v8.13.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:fix","Team:Fleet","backport:prev-minor","v8.13.0"],"number":175901,"url":"https://github.com/elastic/kibana/pull/175901","mergeCommit":{"message":"[Fleet] Fix reserved keys for Elasticsearch output YAML box (#175901)\n\n## Summary\r\n\r\nFixes #175892\r\n\r\nUpdates reserved keywords that trigger the `Custom` preset for the\r\nElasticsearch output.\r\n\r\n\r\n\r\nhttps://github.com/elastic/kibana/assets/6766512/dda60f6c-d77e-4e98-946b-2c389660074b\r\n\r\nCo-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>","sha":"0c9318043902474f27d4bbf9739de70994e58cf8"}},"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/175901","number":175901,"mergeCommit":{"message":"[Fleet] Fix reserved keys for Elasticsearch output YAML box (#175901)\n\n## Summary\r\n\r\nFixes #175892\r\n\r\nUpdates reserved keywords that trigger the `Custom` preset for the\r\nElasticsearch output.\r\n\r\n\r\n\r\nhttps://github.com/elastic/kibana/assets/6766512/dda60f6c-d77e-4e98-946b-2c389660074b\r\n\r\nCo-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>","sha":"0c9318043902474f27d4bbf9739de70994e58cf8"}}]}] BACKPORT-->
Hi @jlind23 Thank you for the update. We have updated 02 testcases for this feature under testrail at links:
Further we will revalidate this once latest Snapshot build is available. Please let us know if anything else is required from our end. |
…175901) ## Summary Fixes elastic#175892 Updates reserved keywords that trigger the `Custom` preset for the Elasticsearch output. https://github.com/elastic/kibana/assets/6766512/dda60f6c-d77e-4e98-946b-2c389660074b Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Hi @jlind23 We have revalidated these changes on latest 8.12.1 BC1 kibana cloud environment and found it working fine now. Observations:
Screen Recording: Settings.-.Fleet.-.Elastic.-.Google.Chrome.2024-02-02.11-25-31.mp4Build details: Hence we are marking this as QA:Validated. Please let us know if anything else is required from our end. |
…175901) ## Summary Fixes elastic#175892 Updates reserved keywords that trigger the `Custom` preset for the Elasticsearch output. https://github.com/elastic/kibana/assets/6766512/dda60f6c-d77e-4e98-946b-2c389660074b Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
…175901) ## Summary Fixes elastic#175892 Updates reserved keywords that trigger the `Custom` preset for the Elasticsearch output. https://github.com/elastic/kibana/assets/6766512/dda60f6c-d77e-4e98-946b-2c389660074b Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
…175901) ## Summary Fixes elastic#175892 Updates reserved keywords that trigger the `Custom` preset for the Elasticsearch output. https://github.com/elastic/kibana/assets/6766512/dda60f6c-d77e-4e98-946b-2c389660074b Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
…175901) ## Summary Fixes elastic#175892 Updates reserved keywords that trigger the `Custom` preset for the Elasticsearch output. https://github.com/elastic/kibana/assets/6766512/dda60f6c-d77e-4e98-946b-2c389660074b Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
…175901) ## Summary Fixes elastic#175892 Updates reserved keywords that trigger the `Custom` preset for the Elasticsearch output. https://github.com/elastic/kibana/assets/6766512/dda60f6c-d77e-4e98-946b-2c389660074b Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
When we introduced the ES output presets, we also make sure that the reserved keys were looked at when added to the custom yaml box and then fallback to the
custom
option.While adding them we introduced an issue as we shortened their name instead of using the full ones.
queue.mem
presets forflush.min_events
andflush.timeout
idle_timeout
should beconnection_idle_timeout
compression
should becompression_level
Here are the settings:
kibana/x-pack/plugins/fleet/common/constants/output.ts
Line 123 in 6fea1ac
This change should be back ported to 8.12
cc @kpollich @jen-huang
The text was updated successfully, but these errors were encountered: