* Add deprecation message to coordinate map and region map
* clean up text
* add default distro link and view in maps link
* move url generation into onClick handler
* create tile map layer descritor
* set metrics and color and scaling
* lazy load createTileMapLayerDescriptor
* tslint fixes
* tslint cleanup for OSS code
* add region map deprecation message
* tslint cleanup
* consolidate logic into LegacyMapDeprecationMessage
* fix jest test
* fix tile-map and region_map in OSS distro
* tslint fixes
* assert urlGenerator exists
* update message text
* ensure legacy-ids get correctly evaluated (#37)
* handle 6.x region map saved objects
* turn off field meta
* fix type
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
Co-authored-by: Thomas Neirynck <thomas@elastic.co>
* Update tutorial-discovering.asciidoc
Adds alt text to images in doc.
* Update docs/getting-started/tutorial-discovering.asciidoc
* Update docs/getting-started/tutorial-discovering.asciidoc
Co-authored-by: Kaarina Tungseth <kaarina.tungseth@elastic.co>
* Update tutorial-define-index.asciidoc
Forgot to update alt text in previous pr. Additionally, it is unclear in the image where the "time field" dropdown is located.
* Update docs/getting-started/tutorial-define-index.asciidoc
Co-authored-by: Kaarina Tungseth <kaarina.tungseth@elastic.co>
The PagerDuty Action currently defaults to a dedupKey that's shared between all action executions of the same connector.
To ensure we don't group unrelated executions together this PR avoids setting a default, which means each execution will result in its own incident in PD.
As part of this change we've also made the `dedupKey` a required field whenever a `resolve` or `acknowledge` event_action is chosen. This ensure we don't try to resolve without a dedupKey, which would result in an error in PD.
A migration has been introduced to migrate existing alerts which might not have a `dedupKey` configured.
* First stab at developer-focussed saved objects docs
* Don't introduce spelling mistakes
* Add docs for SO migrations
* Link to HTTP API documentation
* Grammar fixes
* Rendering fixes
* Migrations should be tested, remove nested migration docs for now
* Drop subtitle field in migration, add notes about migration version, behaviour for corrupt documents and emphasize testing
Co-authored-by: Josh Dover <me@joshdover.com>
* first shot of the apm configuration loader
* revert changes to kibana config
* remove test files for now
* remove `?.` usages
* use lazy config init to avoid crashing integration test runner
* loader improvements
* add config value override via cli args
* add tests for utils package
* add prod/dev config handling + loader tests
* add tests for config
* address josh's comments
* nit on doc
* Implement toExpressionAst for tagcloud
* Implement tagcloud vis renderer
* Use resize observer
* Use common no data message
* Update build_pipeline.test
* Update tag cloud tests
* Revert "Use common no data message"
This reverts commit fddf019575.
* Update interpreter functional tests
* Add tests for toExpressionAst fn
* Use throttled chart update
* Update renderer
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
* adding alert to service page
* sending on alert per service environment and transaction type
* addressing PR comment
* addressing PR comment
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
* First draft of EQL rules in detection engine
* Reorganize functions to separate files
* Start adding eventCategoryOverride option for EQL rules
* Add building block alerts for each event within sequence
* Use eql instead of eql_query for rule type
* Remove unused imports
* Fix tests
* Add basic tests for buildEqlSearchRequest
* Add rulesSchema tests for eql
* Add buildSignalFromSequence test
* Add threat rule fields to buildRuleWithoutOverrides
* Fix buildSignalFromSequence typecheck error
* Add more tests
* Add tests for wrapBuildingBlock and generateSignalId
* Use isEqlRule function and fix import error
* delete frank
* Move sequence interface to types.ts
* Fix import
* Remove EQL execution placeholder, add back language to eql rule type
* allow no indices for eql search
* Fix unit tests for language update
* Fix buildEqlSearchRequest tests
* Replace signal.child with signal.group
* remove unused import
* Move sequence signal group building to separate testable function
* Unbork the merge conflict resolution
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
* Add support for runtime field types to mappings editor.
* Add tests for getTypeLabelFromField util.
* Refine callout appearance in term vector and alias parameters.
* First stab at some internal telemetry
* Add missing files
* mbCount telemetry
* Include more data
* Remove unused field
* This file isn't used
* Mock in tests
* Add schema
* Store schema
* Use sample cluster instead
* Fix telemetry schema
* Fix type issues
* Updates
* Fix schema and tests
* Add tests
* Add tests
* Go back to using an array
* Fix schema
* Add page view data
* Remove debug
* Handle loading scenario here
* Add delay tracking too
* Add clicks for setup mode
* Add clicks for setup mode
* Fix beats/apm page views
* Fix typings
* Added 2 new functions to DAL, adjusted old one to use new API
* update mocks to work with interface
* change to optional params
Co-authored-by: oatkiller <robert.austin@elastic.co>
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
* Add new/simpler externalUrl helper and initialize it on renderApp
- This uses a simple JS obj to store the enterpriseSearchUrl reference (once on plugin init)
- This is vs. a class, which needs to be instantiated and passed around - the new obj can be imported flatly at any time
- I also opted to not convert this into a Kea logic file - after some deliberation I decided against it because it felt really weird as one. It's not storing "state" per se that ever needs to be updated, it's simply a one-time set obj that contains helper functions.
- There's also some hope that we might eventually not need this helper after the full migration, so the simpler it is to delete the better
- Uses a getter & setter to ensure that we don't accidentally mutate said obj after initialization
* Update all components using get*SearchUrl helpers
* Update tests for updated components
- Mostly just consists of mocking externalUrl and importing that mock
* Remove old ExternalUrl class/context
TODO in next commit: Address kibana_header_actions
* Update Workplace Search Header Actions to use new externalUrl helper
NOTE: this requires a temporary workaround of initializing externalUrl.enterpriseSearch in plugin.ts rather than in renderApp, because renderApp loads *after* the header app does.
I plan on fixing this in a future PR so that setHeaderActionMenu is called AFTER renderApp has done loading (to ensure all the state in headerActions we need is available).