forked from elastic/kibana
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Fleet] Add UI controls to setting/outputs to configure new shipper (e…
…lastic#145755) ## Summary Closes elastic#141508 ### Description Implements a form for the new Elastic Agent Shipper. **It only gets enabled only when the user explicitly enables it from the yaml editor.** - To enable the form, add to the yaml editor under outputs one of the following, save and then the new section should appear under "advanced options" ``` # Enables the shipper with default settings shipper: {} # Also enables the shipper shipper: enabled: true ``` I added the following new parameters to `Output` and to `ingest-outputs` SO as well: ``` shipper?: { disk_queue_enabled?: boolean; disk_queue_path?: string; disk_queue_max_size?: number; disk_queue_encryption_enabled?: boolean; disk_queue_compression_enabled?: boolean; compression_level?: number; loadbalance?: boolean; mem_queue_events?: number; queue_flush_timeout?: number; max_batch_bytes?: number; } ``` Note that another PR will likely follow to align with the structure defined in the new shipper (see [this comment](elastic#141508 (comment)) for further explanation) <details><summary>Screenshots</summary> <img width="745" alt="Screenshot 2022-11-23 at 12 35 38" src="https://user-images.githubusercontent.com/16084106/203537091-47ed64f8-bb13-4960-b1aa-5bc73fd2e37b.png"> <img width="720" alt="Screenshot 2022-11-23 at 12 35 06" src="https://user-images.githubusercontent.com/16084106/203537130-e5cfcf89-a88d-43a2-8348-2f79c324ff80.png"> Generated policy under "view policy": <img width="737" alt="Screenshot 2022-11-23 at 12 34 09" src="https://user-images.githubusercontent.com/16084106/203536868-2d11d236-5056-473d-97a0-edae327665fc.png"> </details> ### Checklist - [ ] [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 - [ ] Any UI touched in this PR is usable by keyboard only (learn more about [keyboard accessibility](https://webaim.org/techniques/keyboard/)) - [ ] Any UI touched in this PR does not create any new axe failures (run axe in browser: [FF](https://addons.mozilla.org/en-US/firefox/addon/axe-devtools/), [Chrome](https://chrome.google.com/webstore/detail/axe-web-accessibility-tes/lhdoppojpmngadmnindnejefpokejbdd?hl=en-US)) Co-authored-by: Kibana Machine <[email protected]> Co-authored-by: Christiane (Tina) Heiligers <[email protected]> Co-authored-by: Alejandro Fernández Haro <[email protected]> Co-authored-by: Nicolas Chaulet <[email protected]> Co-authored-by: nima <[email protected]> Co-authored-by: Josh Dover <[email protected]>
- Loading branch information
1 parent
5844ae8
commit 4190f1f
Showing
16 changed files
with
962 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.