* Updating the version of the elasticsearch-js Client
* ES Client methods aren't implicitly bound to the Client anymore
* Adjusting mocks to work with prototypical inheritance
* Fixing effects of ping returning a Boolean, now.
* Updating @elastic/elasticsearch to 7.9.1
* Responding to @restrry's feedback
* Now with destructuring...
This adds dataset-specific categorization warnings for the categorization module. The warnings are displayed in call-outs on the relevant tabs as well as the job setup screens if a prior job with warnings exists. To that end this also changes the categorization job configuration to enable the partitioned categorization mode.
Co-authored-by: Alejandro Fernández Gómez <antarticonorte@gmail.com>
* wip, issues with use fields getting cleared somehow
* New drag and drop text list component
- updated use array to add its own field so that we hook into form
- added new drag and drop list component
- wip on validation (empty lists validate immediately, which it should not)
* remove box shadow from editor fields
* Style grok patterns based on drag and drop in component templates
- still have the issue with validation
- need to get some design review at this point
* fix i18n
* update use_array - maintain the same API though
* Grok processor should use the new use array interface
- also fix the documentation using links in the processor type
description. react was unhappy about hook order changing
* fix patterns field validation to check validity of pattern entires
* fix drag item styling
* fix use of form in use effect and update behaviour of submit button
* added smoke test for grok component
* fix i18n
* Implement PR feedback
* Implemented design feedback
- decreased spacing between list items and button
- fixed a11y issue between label and first text field
- moved help text to under label
- refactored all of the field layout logic into drag and drop
text list component.
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
* Closes#78135 by implementing node grouping on service map data before it's rendered in the Cytoscape.
* Truncates resource list items and updates api test snapshot
* Added type for ConnectionElement rather using an ad hoc type, removed some unneeded ts-ignores
* major wip
* major wip
* fix worker creation leak
* just copy the file over for now
* Remove xjson from static and from es_ui_shared entirely
- moved expand and collapse logic back to es_ui_shared. It has
nothing to do with ace
- refactor the useXJson hook which bundled XJsonMode with it.
This was convenient but ultimately inflates the amount of code
Kibana needs to first load up in the client. Users will need to
import XJsonMode and instantiate it when they want to use it.
Updated existing usage.
- Cleaned up Monaco namespace from es_ui_shared because of how
useXJsonMode was refactored -- no longer exporting an editor
specific instance means this code does not know about anything
to do with code editors so it is decoupled from ace and monaco.
* fix export of collapse and expand string literals
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
* Add conditional button text
- Only shows error connectign if host is set
- Removes conditional rendering of cards
- Changes the action text from “Launch” to “Setup”
* Add setup guide
* Extract ProductSelector to component
* Update index and add routes
* Change setup guide text
* Fix imports
* Add missing mock
* Update x-pack/plugins/enterprise_search/public/applications/enterprise_search/index.test.tsx
Co-authored-by: Jason Stoltzfus <jastoltz24@gmail.com>
* Remove Literals
Co-authored-by: Constance <constancecchen@users.noreply.github.com>
* Remove Literals II - The Force Awakens
Co-authored-by: Constance <constancecchen@users.noreply.github.com>
* Add back access checks
* Remove hard-coded props 🤦🏼♂️
* Remove data-test-subj attr
* Reafactor access check variables
* Remove unused beforeEach
Co-authored-by: Constance <constancecchen@users.noreply.github.com>
* Add newline
Co-authored-by: Constance <constancecchen@users.noreply.github.com>
* Update image to compressed
* Remove unused things
* Update to new way of using lodash things 🤷🏽♀️
Co-authored-by: Jason Stoltzfus <jastoltz24@gmail.com>
Co-authored-by: Constance <constancecchen@users.noreply.github.com>
* at agents/agent-id/upgrade endpoint
* handle upgrade ack
* let upgrade endpoint accept url and version
* wrap action data in data prop
* decrypt data of actions
* type upgrade action and decrypt data in ack
* error if trying to update to diff version of kibana
* add some integration tests
* untype
* fix test
* update integration test
* reset upgraded_at when upgrading
* use defaultIngestErrorHandler
* use ack_data instead of data
* copy data to ack_data
* init commit
* lots of cleanup
* starting on tests... problems
* Ready for review
* remove sample data
* remove comment and fix type
* pr changes
* fix type
* scratchy
* sourcerer in timeline
* sourcerer in timeline
* wip
* moving to redux
* working on types
* fixed
* more adjustments, tests fixed
* FF off
* pr ready
* renaming
* url state working, hoc not working
* url state working for timeline and default scope
* script to build fields for beat doc
* refactor sourcerer
* refactor host to useSourcerer
* refactor network to useSourcerer
* refactor overview to useSourcerer
* refactor detections to useSourcerer
* wip for timelines to remove all useSource
* wip indexes timeline
* do component tests
* start container tests
* start container tests
* update selection widget of index patterns + remove last useWithSource
* add indexeNames in network kpi
* fix type errors
* fix type
* missing merge master
* get existing index from config file
* fixing broken tests
* add saving button to avoid to many queries to be aborted
* reducer timeline tests broke
* need to rewind
* much better
* timeline saving index names + clean up url state to only manage default
* more test fixing
* more test changes
* remove all the useWithSource + deprecated the graphql until we delete it in a new PR + delete all the beat doc
* default timeline to all index when creation + filter index patterns to make sure you do not add one who we do not know
* fix types
* test for stateful timeline render
* we should not have change that
* no chnages + snapshot
* fix test + bugs from review
* fix uncommon processes indexNames
* review III
* change design for main page of the sourcerer from design
* bug fixes when opening old timeline + implementation of new design
* fix circular deps
* remove unused attributes for event details
* design cleanup
* fix api integration test with the new search strategy
* add reset + manage accordion state
* fix bugs + types issues
* cleanup
* update docs
* review -> remove tooltip when popover is open
* cypress fixing
* fix for ml_condition_links and url_state cypress tests
* add cy wait for race condition in pagination tests
* missing plumbing kpi host
Co-authored-by: Steph Milovic <stephanie.milovic@elastic.co>
Co-authored-by: Patryk Kopycinski <contact@patrykkopycinski.com>
* Fix licensing to use start service + refactor
- I noticed my IDE complaining that we were using LicensingPluginSetup (deprecated) instead of LicensingPluginStart, and decided to factor plugin.ts to DRY out / ensure all the dependencies we were passing on app mount were start services and not setup
- The number of args we were passing to renderApp was getting a little ridiculous, so I created small helpers to group them up by type (Kibana's args (dependencies/services) vs our plugin's args (data, config, etc.)
+ bonus remove unused CoreStart type/arg
* Add LicensingLogic + mount
- replaces useObservable with a manual subscription that updates the license value/state
- moves hasXLicense checks to selectors vs helper functions
* Update components w/ license checks to use LicensingLogic
* Update tests for components now calling LicensingLogic
- Add mockLicensingValues to basic kea mock
- Minor comment update to mockAllValues obj that I forgot to add in a previous PR
* 🔥 Remove old LicensingContext
* adds metrics ml integration
* Add ability to create ml jobs from inventory
* Fix i18n stuff
* Fix typecheck
* renames jobs, updates datafeeds
* adds allow_no_indices: true for datafeeds
* Revert "[Metrics UI] Replace Snapshot API with Metrics API (#76253)"
This reverts commit 0ca647286a.
* Add ability to fetch anomalies
* Fix typecheck
* Fix typecheck
* Fix i18n
* Fix lint, use the right partition field
* Delete log files
* Fix merge
* Fix merge issues
* Update name of jobs
* Remove CPU job
* [Metrics UI] Replace Snapshot API with Metrics API (#76253)
- Remove server/lib/snapshot
- Replace backend for /api/infra/snapshot with data from Metrics API
- Fixing tests with updates to the snapshot node
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
* Add links back to ML for anomalies and manage jobs
* Fix typecheck
* Remove unecessary validation
Co-authored-by: Michael Hirsch <michaelahirsch@gmail.com>
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
Co-authored-by: Chris Cowan <chris@chriscowan.us>
* Removed delete confirmation timeout to avoid flaky failing because deletion to be a little slower on CI
* Changed delete flow to close confim dialog immediately and set data to the loading state