* Various route URL updates
- Snake case Kibana routes
- Remove unnecessary extra subdirectory pathing
* Fix missing ability check
- There isn't currently a role that would fail the check, but since the nav link is wrapped in the role, we might as well copy it and look at our role checks in the 8.0 refactor
* fix test
Co-authored-by: Constance <constancecchen@users.noreply.github.com>
Missed sorting the columns ids based on populated fields. If not all fields are populated in all documents equally, this could result in not correctly sorted columns, also resulting in flaky tests.
* New flyout with event filters form
* Changes on event filters form to allow OS selector. Add new error on state for OS. Add created entry to the entries list
* Fixes typo
* Adds empty page with an add button that opens flyout. Alos added route and path management
* Fixes type and adds a TODO comment. Also removes ESlit rule for useCallback deps
* Fixes unit test. Adds consts for default page size and page index
* Fixes warning state update on an unmounted component
* Fixes infinite useEffect loop useFetchIndex hook because non memoized value
* Adds policy:all to eventFilter.tag and disables or button on exception builder
* Changes component name and simplify hook using useCallback without a custom callback
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
* [Visualize] Fixes K8 theme issues
* Fix ci
* Make it work for v7 too
* Fix
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
* do not restart Kibana server on integration tests writing logs
* unskip tests
* do not write to ended stream to avoid a race condition
* revert changes to the File appender
* fix race condition on the logging_system level
enforce buffer usage for all the logs created during disposal phase
# Conflicts:
# src/core/server/saved_objects/migrationsv2/integration_tests/rewriting_id.test.ts
* SOM: hide actions for hidden types (#98290)
* SOM: hide actions for hidden types
* fix FTR tests
* add and fix tests
* fix unit tests
* fix test types
* fix FTR test assertions
* add more FTR tests
* delete old file
* fix data set
The transform wizard can become very slow when used with indices with e.g. 1000+ fields.
This PR fixes it by prefetching 500 random documents to create a list of populated/used fields and passes those on to the data grid component instead of all available fields from the list derived via Kibana index patterns.
For example, for an out of the box metricbeat index, this reduces the list of passed on fields from 3000+ to ~120 fields. Previously, the page would freeze on load for tens of seconds and would freeze again on every rerender. With the applied update, the page loads almost instantly again and remains responsive.
Note this fix of reducing available fields is only applied to the data grid preview component. All fields are still available to create the configuration in the UI for groups and aggregations. These UI components, e.g. the virtualized dropdowns, can handle large lists of fields.
* [Connectors][API] Updated connectors with enabledAfterImport flag
* fixed functional tests
* added new field to connectors API docs
* added update unit test
* fixed test
* renamed enableAfterImport to isMissingSecrets
* removed onExport
* revert the logic of true/false for isMissingSecrets
* fixed test
* fixed tests
* added unit test
* fixed docs
* fixed import text and button labels
* fixed import text
* fixed text
* [Maps] convert FeaturesTooltip to TS
* tslint
* pass addFilters to method to keep not null check closer to check for undefined
* FeaturesTooltip
* convert test to ts
* fix snapshot
* clean up cast
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
* [Fleet] Add troubleshooting link to setup instructions
* Add troubleshooting link to Fleet Server instructions
Co-authored-by: Zacqary Adam Xeper <Zacqary@users.noreply.github.com>
* Add route to get source engines for meta engines
* New empty SourceEngines component
* Add SourceEngines to EngineRouter
* New SourceEnginesLogic file
* Hook up SourceEngines component to SourceEnginesLogic
* Update EngineNav link to manage source engines to point internally
* PR Feedback:
- Copy fixes
- Markup improvements
- Spleling erors
- Test improvements
* Move EnginesAPIResponse to shared types file
* Use existing mock for EngineLogic
* setSourceEngines -> onSourceEnginesFetch
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
# Conflicts:
# x-pack/plugins/enterprise_search/public/applications/app_search/components/engine/engine_router.test.tsx
# x-pack/plugins/enterprise_search/public/applications/app_search/components/engine/engine_router.tsx
Adds a link to discover from the transform list to the actions menu. Conditions for the link to be enabled:
- Kibana index pattern must be available
- Transform must have been started once and done some progress so there's the destination index available
Co-authored-by: Walter Rafelsberger <walter@rafelsberger.at>
* Fix widths of first columns
* clean up gutters
* Fix functional test
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Matthias Wilhelm <matthias.wilhelm@elastic.co>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Matthias Wilhelm <matthias.wilhelm@elastic.co>