* wip: create embedded map component for explorer
* add embeddedMap component to explorer
* use geo_results
* remove charts callout when map is shown
* add translation, round geo coordinates
* create GEO_MAP chart type and move embedded map to charts area
* remove embedded map that is no longer used
* fix type and fail silently if plugin not available
* fix multiple type of jobs charts view
* fix tooltip function and remove single viewer link for latlong
* ensure diff types of jobs show correct charts. fix jest test
* show errorCallout if maps not enabled and is lat_long job
* use shared MlEmbeddedMapComponent in explorer
* ensure latLong jobs not viewable in single metric viewer
* update jest test
* Adding es query alert type to server with commented out executor
* Adding skeleton es query alert to client with JSON editor. Pulled out index popoover into component for reuse between index threshold and es query alert types
* Implementing alert executor that performs query and matches condition against doc count
* Added tests for server side alert type
* Updated alert executor to de-duplicate matches and create instance for every document if threshold is not defined
* Moving more index popover code out of index threshold and es query expression components
* Ability to remove threshold condition from es query alert
* Validation tests
* Adding ability to test out query. Need to add error handling and it looks ugly
* Fixing bug with creating alert with threshold and i18n
* wip
* Fixing tests
* Simplifying executor logic to only handle threshold and store hits in action context
* Adding functional test for es query alert
* Types
* Adding functional test for query testing
* Fixing unit test
* Adding link to ES docs. Cleaning up logger statements
* Adding docs
* Updating docs based on feedback
* PR fixes
* Using ES client typings
* Fixing unit test
* Fixing copy based on comments
* Fixing copy based on comments
* Fixing bug in index select popover
* Fixing unit tests
* Making track_total_hits configurable
* Fixing functional test
* PR fixes
* Added unit test
* Removing unused import
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
* cleaning up unused types and legacy logic
* added new relative age logic with unit tests
* initial implementation of timeline
* added custom infinity icon to timeline component
* added comment
* move timeline color bar comment
* fix nanoseconds and microsecnds bug
* added policy timeline heading, removed "at least" copy for now
* a few minor changes
- fix up copy
- fix up responsive/mobile first view of timeline
- adjust minimum size of a color bar
* minor refactor to css classnames and make trash can for delete more prominent
* added delete icon tooltip with rough first copy
* added smoke test for timeline and how it interacts with different policy states
* update test and copy
* added basic a11y tests for ILM policy list view and create/edit policy view
* remove unused import
* remove old svg file
* remove old _timeline.scss file
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
* [ML] Stabilize accessibility tests for data frame analytics pages
* [ML] Remove snapshot test after opening index pattern modal
* [ML] Remove snapshot test when index pattern modal opens
* [ML] Add back snapshot test at index pattern modal step
* [Alerts][Actions] Changed isESOUsingEphemeralEncryptionKey determination. Set ESO plugin as an optional dependancy for actions and alerts plugins.
* fixed faling typechecks
* fixed faling typechecks
* fixed health framework status message
* fixed due to comments
* fixed faling test
* changed approach
* fixed due to comments
* fixed due to comments
* fixed tests
* fixed tests
* fixed tests
* fixed wrong commit
* fixed lang issue
* Fixed to remove eso check
* Fixed tests
* Fixed due to comments.
* Create DocLinksService
* Set docLinks on app start
* Update routes modules to use service
* Update component and test to use service
* Remove legacy files
* Add comment
Co-authored-by: Constance <constancecchen@users.noreply.github.com>
* Add new line
Co-authored-by: Constance <constancecchen@users.noreply.github.com>
* Refactor test
* Rename class and remove extra route segments
* Update test names
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Constance <constancecchen@users.noreply.github.com>
* [Event Log] Added KQL queries support for Event Log API.
* refactored to use core.elasticsearch.client
* Fixed tests
* removed get index pattern for event log
* Fixed tests
* Fixed due to comments.
* Tinymath is now a Kibana package
* Rename to @kbn/tinymath
* Update import style
* Update README
* Use commonjs import syntax
* Fix to commonjs export
* More commonjs fixes
* Refactor Cancel button constant to shared
* Add i18n for DisplaySettings section
* Moves more shared constants to correct files
Also fixes duplicate text in ConnectInstance (was left alongside translated text below it)
* Add source overview i18n
* More refactoring of shared constants
* Add i18n to remaining shared sources components
* Fix failing test
* Fix duplicate i18n id
* Remove unused translations
* Remove ActionsConfigType due to being a duplicate
* Fix rejectUnauthorized not being configured
* Move proxySettings to configurationUtilities
* Fix isAxiosError check to code
* Add functional test
* Remove comment
* Close webhook server
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
This is a first step in attempting to address the over zealous shifting we've identified in TM.
It [turns out](https://github.com/elastic/elasticsearch/issues/63671) `version_conflicts` don't always count against `max_docs`, so in this PR we correct the `version_conflicts` returned by updateByQuery in TaskManager to only count the conflicts that _may_ have counted against `max_docs`.
This correction isn't necessarily accurate, but it will ensure we don't shift if we are in fact managing to claim tasks.
* [TSVB] get rid of vis_type_timeseries_enhanced
* add search strategy should be called from setup hook
* remove vis_type_timeseries_enhanced from CODEOWNERS
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
* [Maps] migrate maps, maps_file_upload, and maps_legacy_licensing to TS projects
* include types to avoid rison import errors
* add mappings to tsconfig include
After observing the conditions when this test fails, it appears that
some (but not all) signals are available. As these signals are generated by a
rule via a bulk create, the odds of us retrieving signals in the middle
of that bulk creation is very slim (but not impossible).
The crux of the error here was: we wait for signals to be generated, but
not the ones that we need. Specifically, we are waiting for a single
signal to be available, but since we are asserting on sequences of
signals, we need several to be available to us.
While not perfect (because the signals we receive are not technically
guaranteed to be sequence signals), increasing the number of signals
that we wait for before proceeding should be sufficient to prevent this
failure state. In debugging, it was observed that every test returning
9-10 signals succeeded, while it was possible for the test to return
only one signal and fail.
* [Alerts][Actions][Telemetry] Fix mappings for Kibana actions and alert types telemetry.
* fixed count_active_by_type for actions
* fixed tests
* Fixed due to comments.
* Fixed due to comments.
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
* Phases redesign
* Title and name field layout
* Active highlight wip
* Copy comments
* Updated data allocation dropdown
* Min age error message
* Fixed tests
* Fixed edit policy integration tests
* Fixed more tests
* Cleaned up test files
* Use hotProperty instead of a string
* Clean up in phase component
* Fixed i18n files
* Updated optional fields
* Updated aria attributes after running axe tests
* Added review suggestions
* Reversed data allocation field changes
* Fixed type error
* Reversed on/off label and prepend input label
* Deleted property consts from phases components
* Removed not needed i18n consts and added i18n where missing
* Fixed merge conflicts with master
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
* change from type:gauge to type:top_n in inventory models
* Add test for hostSystemOverview metric
* fix lint errors
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
* Enable v2 so migrations, disable in FTR tests
* Disable v2 migrations for ui_settings integration tests
* Disable v2 migrations for reporting without serucity api integration test