# Backport
This will backport the following commits from `main` to `8.3`:
- [[Maps] Update asset tracking tutorial with production consideration
for rule check interval
(#158664)](https://github.com/elastic/kibana/pull/158664)
<!--- Backport version: 8.9.7 -->
### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sqren/backport)
<!--BACKPORT [{"author":{"name":"Nick
Peihl","email":"nick.peihl@elastic.co"},"sourceCommit":{"committedDate":"2023-05-31T17:38:41Z","message":"[Maps]
Update asset tracking tutorial with production consideration for rule
check interval (#158664)\n\nFixes #127289\r\n\r\n##
Summary\r\n\r\nUpdates the asset tracking tutorial docs with
considerations for running\r\nin production.\r\n\r\nFor a better demo
experience the tutorial uses a 5 second interval for\r\nrule checking,
but a very low interval can be problematic for running
in\r\nproduction.\r\n\r\nI'm suggesting backporting these doc changes to
8.3 which the first\r\nrelease to have a **Circuit breakers** section
in\r\nhttps://www.elastic.co/guide/en/kibana/8.3/alerting-production-considerations.html\r\nthat
is most relevant to the added note in this
PR.\r\n\r\n---------\r\n\r\nCo-authored-by: gchaps
<33642766+gchaps@users.noreply.github.com>","sha":"9d7d6f92133d100efee9eefd80fed9e097427f8d","branchLabelMapping":{"^v8.9.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Team:Presentation","release_note:skip","docs","Feature:Maps","v8.3.4","v8.4.4","v8.5.4","v8.6.3","v8.7.2","v8.9.0","v8.8.1"],"number":158664,"url":"https://github.com/elastic/kibana/pull/158664","mergeCommit":{"message":"[Maps]
Update asset tracking tutorial with production consideration for rule
check interval (#158664)\n\nFixes #127289\r\n\r\n##
Summary\r\n\r\nUpdates the asset tracking tutorial docs with
considerations for running\r\nin production.\r\n\r\nFor a better demo
experience the tutorial uses a 5 second interval for\r\nrule checking,
but a very low interval can be problematic for running
in\r\nproduction.\r\n\r\nI'm suggesting backporting these doc changes to
8.3 which the first\r\nrelease to have a **Circuit breakers** section
in\r\nhttps://www.elastic.co/guide/en/kibana/8.3/alerting-production-considerations.html\r\nthat
is most relevant to the added note in this
PR.\r\n\r\n---------\r\n\r\nCo-authored-by: gchaps
<33642766+gchaps@users.noreply.github.com>","sha":"9d7d6f92133d100efee9eefd80fed9e097427f8d"}},"sourceBranch":"main","suggestedTargetBranches":["8.3","8.4","8.5","8.6","8.7","8.8"],"targetPullRequestStates":[{"branch":"8.3","label":"v8.3.4","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"8.4","label":"v8.4.4","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"8.5","label":"v8.5.4","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"8.6","label":"v8.6.3","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"8.7","label":"v8.7.2","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v8.9.0","labelRegex":"^v8.9.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/158664","number":158664,"mergeCommit":{"message":"[Maps]
Update asset tracking tutorial with production consideration for rule
check interval (#158664)\n\nFixes #127289\r\n\r\n##
Summary\r\n\r\nUpdates the asset tracking tutorial docs with
considerations for running\r\nin production.\r\n\r\nFor a better demo
experience the tutorial uses a 5 second interval for\r\nrule checking,
but a very low interval can be problematic for running
in\r\nproduction.\r\n\r\nI'm suggesting backporting these doc changes to
8.3 which the first\r\nrelease to have a **Circuit breakers** section
in\r\nhttps://www.elastic.co/guide/en/kibana/8.3/alerting-production-considerations.html\r\nthat
is most relevant to the added note in this
PR.\r\n\r\n---------\r\n\r\nCo-authored-by: gchaps
<33642766+gchaps@users.noreply.github.com>","sha":"9d7d6f92133d100efee9eefd80fed9e097427f8d"}},{"branch":"8.8","label":"v8.8.1","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->
Co-authored-by: Nick Peihl <nick.peihl@elastic.co>
# Backport
This will backport the following commits from `main` to `8.3`:
- [Updated tracks tutorial to support Agent
(#143414)](https://github.com/elastic/kibana/pull/143414)
<!--- Backport version: 8.9.7 -->
### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sqren/backport)
<!--BACKPORT [{"author":{"name":"James
Garside","email":"james@jgarside.co.uk"},"sourceCommit":{"committedDate":"2022-11-16T21:15:55Z","message":"Updated
tracks tutorial to support Agent (#143414)\n\n* Updated for Human
readable dataview names\r\n\r\n* Updated tutorial to support Elastic
Agent","sha":"b589297beef876dc84469c7fe328a3849e46d7cb","branchLabelMapping":{"^v8.7.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["[Deprecated-Use
Team:Presentation]Team:Geo","release_note:skip","docs","v8.3.0","v8.4.0","v8.5.0","v8.7.0"],"number":143414,"url":"https://github.com/elastic/kibana/pull/143414","mergeCommit":{"message":"Updated
tracks tutorial to support Agent (#143414)\n\n* Updated for Human
readable dataview names\r\n\r\n* Updated tutorial to support Elastic
Agent","sha":"b589297beef876dc84469c7fe328a3849e46d7cb"}},"sourceBranch":"main","suggestedTargetBranches":["8.3","8.4","8.5"],"targetPullRequestStates":[{"branch":"8.3","label":"v8.3.0","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"8.4","label":"v8.4.0","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"8.5","label":"v8.5.0","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v8.7.0","labelRegex":"^v8.7.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/143414","number":143414,"mergeCommit":{"message":"Updated
tracks tutorial to support Agent (#143414)\n\n* Updated for Human
readable dataview names\r\n\r\n* Updated tutorial to support Elastic
Agent","sha":"b589297beef876dc84469c7fe328a3849e46d7cb"}}]}] BACKPORT-->
Co-authored-by: James Garside <james@jgarside.co.uk>
* updated tutorial to use Filebeat and Datastreams rather than Logstash and a static index
* Fixed pipeline issue when inCongestion is null the pipeline fails. Now if null its set as false
* Fixed pipeline issue when inCongestion is null the pipeline fails. Now if null its set as false
* Corrected minor mistakes in docs
* Changed trimet.vehicleID from int to keyword
* Update docs/maps/asset-tracking-tutorial.asciidoc
Co-authored-by: Nick Peihl <nick.peihl@elastic.co>
* Update docs/maps/asset-tracking-tutorial.asciidoc
Co-authored-by: Nick Peihl <nick.peihl@elastic.co>
* Update docs/maps/asset-tracking-tutorial.asciidoc
Co-authored-by: Nick Peihl <nick.peihl@elastic.co>
* Update docs/maps/asset-tracking-tutorial.asciidoc
Co-authored-by: Nick Peihl <nick.peihl@elastic.co>
Co-authored-by: Nick Peihl <nick.peihl@elastic.co>
* updated tutorial to use Filebeat and Datastreams rather than Logstash and a static index
* Fixed pipeline issue when inCongestion is null the pipeline fails. Now if null its set as false
* Fixed pipeline issue when inCongestion is null the pipeline fails. Now if null its set as false
* Corrected minor mistakes in docs
* Update docs/maps/asset-tracking-tutorial.asciidoc
Co-authored-by: gchaps <33642766+gchaps@users.noreply.github.com>
* Update docs/maps/asset-tracking-tutorial.asciidoc
Co-authored-by: gchaps <33642766+gchaps@users.noreply.github.com>
* Update docs/maps/asset-tracking-tutorial.asciidoc
Co-authored-by: gchaps <33642766+gchaps@users.noreply.github.com>
* Update docs/maps/asset-tracking-tutorial.asciidoc
Co-authored-by: gchaps <33642766+gchaps@users.noreply.github.com>
* Update docs/maps/asset-tracking-tutorial.asciidoc
Co-authored-by: gchaps <33642766+gchaps@users.noreply.github.com>
* Update docs/maps/asset-tracking-tutorial.asciidoc
Co-authored-by: gchaps <33642766+gchaps@users.noreply.github.com>
* Update docs/maps/asset-tracking-tutorial.asciidoc
Co-authored-by: gchaps <33642766+gchaps@users.noreply.github.com>
* Update docs/maps/asset-tracking-tutorial.asciidoc
Co-authored-by: gchaps <33642766+gchaps@users.noreply.github.com>
* Update docs/maps/asset-tracking-tutorial.asciidoc
Co-authored-by: gchaps <33642766+gchaps@users.noreply.github.com>
* Update docs/maps/asset-tracking-tutorial.asciidoc
* Update docs/maps/asset-tracking-tutorial.asciidoc
* Update docs/maps/asset-tracking-tutorial.asciidoc
Co-authored-by: gchaps <33642766+gchaps@users.noreply.github.com>
* [maps] Vector tile inspector adapter
* empty prompt
* add layer select
* tile request view
* show gridTile es path and body
* show error message
* hits request
* tab with editor
* clean up
* open in console
* do not track same tile multiple times
* remove layer from vector tile inspector when layer is removed
* refactor tile request generation
* show path in inspector
* requests view callout
* remove duplicated server side code
* remove unused files
* fix map_actions test
* open requests view when getting requests from inspector
* only show view when adapter is present
* fix open in console link not matching tile request
* tslint
* fix search sessions functional test
* update trouble shooting docs
* use bold in docs
* fix tiles at zoom level 0
* revert changes to mb_map
* include path when copying to clipboard
* clear inspector when layer type changes
* tslint fix
* clean-up
* update callout copy
* empty prompt copy
* copy updates
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Adds support for users to upload their own SVG icons for styling geo_points or clusters in Elastic Maps.
Because Elastic Maps uses WebGL, dynamic styling requires rendering SVG icons as monochromatic PNGs using a Signed Distance Function algorithm. As a result, highly detailed designs and any color definitions in SVGs uploaded to Maps are not retained. Monochromatic SVG icons work best.
Custom icons are appended to the map saved object and are not accessible in other maps. Using the custom icon in another map requires creating a copy of the existing map or uploading the icon to the new map. Custom icons can be added, edited, or deleted in Map Settings. Custom icons can also be added from within the Icon select menu.
* [maps] shapefile importer
* render importer editor
* shapefile_editor
* break geojson_importer into abstract class
* start shapefile_importer _readNext
* parse shapefile
* getProgress
* comments
* set table row count
* hide shapefile editor once all files selected
* i18n fixes
* validate sidecar file names match .shp name
* rename JsonUploadAndParse to GeoUploadWizard
* eslint
* tslint
* fix getFileNameWithoutExt
* backout i18n changes
* reset i18n files to main
* revert to main zh-CN.json
* i18n updates
* use geoJsonCleanAndValidate to clean features from all geo importers
* update docs
* doc refinement
* tslint fix for loaders
* eslint
* shapefile upload functional test
* geoFileUploadPageObject
* add geojson functional test with geoFileUpload page object
* replace old workflow functional tests with new ones based on geoFileUplad page object
* tslint and eslint
* eslint
* fix jest test
* use smaller chunks to avoid timeout in CI
* try without geojson test
* try small geojson file in CI
* point.json
* do not use copy to clipboard, does not work in CI
* eslint
* more linting
* add retry
* one more thing for functional tests
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
* [DOCS] Fixes inconsistency with role management link
* Update docs/redirects.asciidoc
Co-authored-by: Lisa Cawley <lcawley@elastic.co>
Co-authored-by: Lisa Cawley <lcawley@elastic.co>
* tmp
* tmp
* tmp
* tmp
* tmp
* use es naming
* typo
* organize files for clarity
* plugin for hits
* tmp
* initial styling
* more boilerplate
* tmp
* temp
* add size support
* remove junk
* tooltip
* edits
* too many features
* rename for clarity
* typing
* tooltip improvements
* icon
* callouts
* align count handling
* typechecks
* i18n
* tmp
* type fixes
* linting
* convert to ts and disable option
* readd test dependencies
* typescheck
* update yarn lock
* fix typecheck
* update snapshot
* fix snapshot
* fix snapshot
* fix snapshot
* fix snapshot
* fix test
* fix tests
* fix test
* add key
* fix integration test
* move test
* use centroid placement
* more text fixes
* more test fixes
* Remove top terms aggregations when switching to super fine resolution (#114667)
* [Maps] MVT metrics
* remove js file
* updateSourceProps
* i18n cleanup
* mvt labels
* remove isPointsOnly from IVectorSource interface
* move get_centroid_featues to vector_layer since its no longer used in server
* labels
* warn users when selecting scaling type that does not support term joins
* clean up scaling_form
* remove IField.isCountable method
* move pluck code from common to dynamic_style_property
* move convert_to_geojson to es_geo_grid_source folder
* remove getMbFeatureIdPropertyName from IVectorLayer
* clean up cleanTooltipStateForLayer
* use euiWarningColor for too many features outline
* update jest snapshots and eslint fixes
* update docs for incomplete data changes
* move tooManyFeatures MB layer definition from VectorLayer to TiledVectorLayer, clean up VectorSource interface
* remove commented out filter in tooltip_control add api docs for getMbLayerIds and getMbTooltipLayerIds
* revert changing getSourceTooltipContent to getSourceTooltipConfigFromGeoJson
* replace DEFAULT_MAX_RESULT_WINDOW with loading maxResultWindow as data request
* clean up
* eslint
* remove unused constants from Kibana MVT implemenation and tooManyFeaturesImage
* add better should method for tiled_vector_layer.getCustomIconAndTooltipContent jest test
* fix tooltips not being displayed for super-fine clusters and grids
* fix check in getFeatureId for es_Search_sources only
* eslint, remove __kbn_metadata_feature__ filter from mapbox style expects
* remove geoFieldType paramter for tile API
* remove searchSessionId from MVT url since its no longer used
* tslint
* vector tile scaling option copy update
* fix getTile and getGridTile API integration tests
* remove size from _mvt request body, size provided in query
* eslint, fix test expect
* stablize jest test
* track total hits for _mvt request
* track total hits take 2
* align vector tile copy
* eslint
* revert change to EsSearchSource._loadTooltipProperties with regards to handling undefined _index. MVT now provides _index
* clean up
* only send metric aggregations to mvt/getGridTile endpoint
* update snapshot, update getGridTile URLs in tests
* update request URL for getGridTile
* eslint
Co-authored-by: Nathan Reese <reese.nathan@gmail.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
* [Maps] Update search docs to clarify how to disable global search, global time filter, and global refresh for layers
* clean up
* make timeslider icon smaller
* use more common headers
* clean up
* review feedback
* global time consistency
* remove links
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
* [sample data] update web log geo.src field to match country code of geo.coordinates
* fix functional tests
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
* [Sample data] Use Lens in Logs sample data
* Fix accidental inclusions and add new images
* Fix test
* link proper ID
* changing the copy for 400s and 500s
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Marta Bondyra <marta.bondyra@elastic.co>
* [maps] Top hits per entity--change to title to use recent, minor edits
* Updated TopHitsPerEntity title and description to use the term relevant
* updating top hits per entity topic to new title
Co-authored-by: Kent Marten <kmartastic@users.noreply.github.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>