Commit graph

137 commits

Author SHA1 Message Date
Kibana Machine
d5321204bd
[8.9] [DOCS] Remove outdated Maps video (#161991) (#162468)
# Backport

This will backport the following commits from `main` to `8.9`:
- [[DOCS] Remove outdated Maps video
(#161991)](https://github.com/elastic/kibana/pull/161991)

<!--- Backport version: 8.9.7 -->

### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sqren/backport)

<!--BACKPORT [{"author":{"name":"James
Rodewig","email":"james.rodewig@elastic.co"},"sourceCommit":{"committedDate":"2023-07-25T10:08:21Z","message":"[DOCS]
Remove outdated Maps video (#161991)\n\n- Removes a video from the
[Maps](https://www.elastic.co/guide/en/kibana/current/maps.html) docs.
The video's UI is outdated. There are no current plans to update the
video.\r\n- Adds a comment to the [Make dashboards
interactive](https://www.elastic.co/guide/en/kibana/current/drilldowns.html).
This video is slightly outdated, but we're leaving it in at the request
of the dev team.\r\n\r\nCloses
https://github.com/elastic/platform-docs-team/issues/131","sha":"1c3f4a8543ab24c994dbc1d061e047a9c7e9bef3","branchLabelMapping":{"^v8.10.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Team:Docs","Team:Presentation","release_note:skip","docs","Feature:Maps","v8.8.2","v8.10.0","v8.9.1"],"number":161991,"url":"https://github.com/elastic/kibana/pull/161991","mergeCommit":{"message":"[DOCS]
Remove outdated Maps video (#161991)\n\n- Removes a video from the
[Maps](https://www.elastic.co/guide/en/kibana/current/maps.html) docs.
The video's UI is outdated. There are no current plans to update the
video.\r\n- Adds a comment to the [Make dashboards
interactive](https://www.elastic.co/guide/en/kibana/current/drilldowns.html).
This video is slightly outdated, but we're leaving it in at the request
of the dev team.\r\n\r\nCloses
https://github.com/elastic/platform-docs-team/issues/131","sha":"1c3f4a8543ab24c994dbc1d061e047a9c7e9bef3"}},"sourceBranch":"main","suggestedTargetBranches":["8.8","8.9"],"targetPullRequestStates":[{"branch":"8.8","label":"v8.8.2","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v8.10.0","labelRegex":"^v8.10.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/161991","number":161991,"mergeCommit":{"message":"[DOCS]
Remove outdated Maps video (#161991)\n\n- Removes a video from the
[Maps](https://www.elastic.co/guide/en/kibana/current/maps.html) docs.
The video's UI is outdated. There are no current plans to update the
video.\r\n- Adds a comment to the [Make dashboards
interactive](https://www.elastic.co/guide/en/kibana/current/drilldowns.html).
This video is slightly outdated, but we're leaving it in at the request
of the dev team.\r\n\r\nCloses
https://github.com/elastic/platform-docs-team/issues/131","sha":"1c3f4a8543ab24c994dbc1d061e047a9c7e9bef3"}},{"branch":"8.9","label":"v8.9.1","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->

Co-authored-by: James Rodewig <james.rodewig@elastic.co>
2023-07-25 06:33:00 -04:00
Kibana Machine
e007bd02b7
[8.9] [Docs] Try to make it clear drilldows only available in dashboard (#161469) (#161662)
# Backport

This will backport the following commits from `main` to `8.9`:
- [[Docs] Try to make it clear drilldows only available in dashboard
(#161469)](https://github.com/elastic/kibana/pull/161469)

<!--- Backport version: 8.9.7 -->

### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sqren/backport)

<!--BACKPORT
[{"author":{"name":"amyjtechwriter","email":"61687663+amyjtechwriter@users.noreply.github.com"},"sourceCommit":{"committedDate":"2023-07-11T14:08:31Z","message":"[Docs]
Try to make it clear drilldows only available in dashboard
(#161469)\n\n## Summary\r\n\r\nIssue [raised
on\r\nSlack](https://elastic.slack.com/archives/C0D8P2XK5/p1688661541837369)\r\nthat
it was a bit unclear on our
[docs\r\npage](https://www.elastic.co/guide/en/kibana/8.8/maps-create-filter-from-map.html#maps-spatial-filters)\r\nthat
to use drilldowns you had to embed your map in Dashboard, and
can't\r\nbe used from the Maps application.\r\n\r\nOriginal:\r\n<img
width=\"808\" alt=\"Screenshot 2023-07-07 at 15 32
27\"\r\nsrc=\"176e7f22-1bb3-4dd0-95d5-4a601487aa6b\">\r\n\r\nUpdated:\r\n<img
width=\"843\" alt=\"Screenshot 2023-07-07 at 11 47
45\"\r\nsrc=\"4d33a39f-2cee-4097-b730-3b24d613c498\">\r\n\r\n---------\r\n\r\nCo-authored-by:
David Kilfoyle
<41695641+kilfoyle@users.noreply.github.com>","sha":"811fb7c4fdc2de23ebf3c5c24117fd69d263875d","branchLabelMapping":{"^v8.10.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Team:Docs","v8.0.0","release_note:skip","docs","v7.14.0","v7.15.0","v7.16.0","v8.1.0","v7.17.0","v8.2.0","v8.3.0","v8.4.0","v8.5.0","v8.6.0","v8.7.0","v8.8.0","v8.9.0","v8.10.0"],"number":161469,"url":"https://github.com/elastic/kibana/pull/161469","mergeCommit":{"message":"[Docs]
Try to make it clear drilldows only available in dashboard
(#161469)\n\n## Summary\r\n\r\nIssue [raised
on\r\nSlack](https://elastic.slack.com/archives/C0D8P2XK5/p1688661541837369)\r\nthat
it was a bit unclear on our
[docs\r\npage](https://www.elastic.co/guide/en/kibana/8.8/maps-create-filter-from-map.html#maps-spatial-filters)\r\nthat
to use drilldowns you had to embed your map in Dashboard, and
can't\r\nbe used from the Maps application.\r\n\r\nOriginal:\r\n<img
width=\"808\" alt=\"Screenshot 2023-07-07 at 15 32
27\"\r\nsrc=\"176e7f22-1bb3-4dd0-95d5-4a601487aa6b\">\r\n\r\nUpdated:\r\n<img
width=\"843\" alt=\"Screenshot 2023-07-07 at 11 47
45\"\r\nsrc=\"4d33a39f-2cee-4097-b730-3b24d613c498\">\r\n\r\n---------\r\n\r\nCo-authored-by:
David Kilfoyle
<41695641+kilfoyle@users.noreply.github.com>","sha":"811fb7c4fdc2de23ebf3c5c24117fd69d263875d"}},"sourceBranch":"main","suggestedTargetBranches":["8.0","7.14","7.15","7.16","8.1","7.17","8.2","8.3","8.4","8.5","8.6","8.7","8.8","8.9"],"targetPullRequestStates":[{"branch":"8.0","label":"v8.0.0","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"7.14","label":"v7.14.0","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"7.15","label":"v7.15.0","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"7.16","label":"v7.16.0","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"8.1","label":"v8.1.0","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"7.17","label":"v7.17.0","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"8.2","label":"v8.2.0","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"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":"8.6","label":"v8.6.0","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"8.7","label":"v8.7.0","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"8.8","label":"v8.8.0","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"8.9","label":"v8.9.0","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v8.10.0","labelRegex":"^v8.10.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/161469","number":161469,"mergeCommit":{"message":"[Docs]
Try to make it clear drilldows only available in dashboard
(#161469)\n\n## Summary\r\n\r\nIssue [raised
on\r\nSlack](https://elastic.slack.com/archives/C0D8P2XK5/p1688661541837369)\r\nthat
it was a bit unclear on our
[docs\r\npage](https://www.elastic.co/guide/en/kibana/8.8/maps-create-filter-from-map.html#maps-spatial-filters)\r\nthat
to use drilldowns you had to embed your map in Dashboard, and
can't\r\nbe used from the Maps application.\r\n\r\nOriginal:\r\n<img
width=\"808\" alt=\"Screenshot 2023-07-07 at 15 32
27\"\r\nsrc=\"176e7f22-1bb3-4dd0-95d5-4a601487aa6b\">\r\n\r\nUpdated:\r\n<img
width=\"843\" alt=\"Screenshot 2023-07-07 at 11 47
45\"\r\nsrc=\"4d33a39f-2cee-4097-b730-3b24d613c498\">\r\n\r\n---------\r\n\r\nCo-authored-by:
David Kilfoyle
<41695641+kilfoyle@users.noreply.github.com>","sha":"811fb7c4fdc2de23ebf3c5c24117fd69d263875d"}}]}]
BACKPORT-->

Co-authored-by: amyjtechwriter <61687663+amyjtechwriter@users.noreply.github.com>
2023-07-11 10:34:31 -04:00
Nick Peihl
9d7d6f9213
[Maps] Update asset tracking tutorial with production consideration for rule check interval (#158664)
Fixes #127289

## Summary

Updates the asset tracking tutorial docs with considerations for running
in production.

For a better demo experience the tutorial uses a 5 second interval for
rule checking, but a very low interval can be problematic for running in
production.

I'm suggesting backporting these doc changes to 8.3 which the first
release to have a **Circuit breakers** section in
https://www.elastic.co/guide/en/kibana/8.3/alerting-production-considerations.html
that is most relevant to the added note in this PR.

---------

Co-authored-by: gchaps <33642766+gchaps@users.noreply.github.com>
2023-05-31 13:38:41 -04:00
Lisa Cawley
5120d692c8
[DOCS] Remove or move book-scoped attributes (#155210) 2023-04-20 09:12:09 -07:00
Nathan Reese
f4efe1b70b
[Maps] layer work flow usability (#154102)
All this dashboard usability work as sparked some ideas to make better
work flows in Maps

### Adding layer
Enhance "Add layer" work flow by allowing users to exit wizard after
layer is added instead of forcing users to continue wizard even if they
do not have any additional configuration changes to make.

Old
<img width="300" alt="Screen Shot 2023-03-30 at 2 56 56 PM"
src="https://user-images.githubusercontent.com/373691/228962788-397e77fe-81b5-438a-a45c-3210101be336.png">


New
<img width="300" alt="Screen Shot 2023-03-30 at 2 22 44 PM"
src="https://user-images.githubusercontent.com/373691/228962403-ed18f8dc-c518-473d-8dd1-f889f7e51684.png">

### Editing layer
"Save" language in layer editor is poor choice since layer changes are
not persisted until user clicks "Save" button in top chrome to save
entire map. Updated copy to better reflect action.

Old
<img width="300" alt="Screen Shot 2023-03-30 at 2 57 16 PM"
src="https://user-images.githubusercontent.com/373691/228962822-d923978f-71c4-4c7f-96f9-b003ededfbbe.png">


New
<img width="300" alt="Screen Shot 2023-03-30 at 2 49 57 PM"
src="https://user-images.githubusercontent.com/373691/228962420-4bd9d554-97ae-4c37-b677-84cd762e3f39.png">

### Other changes
"Map settings" => "Settings"

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
2023-04-04 11:48:21 -06:00
Nathan Reese
7473ab5deb
[lens][maps] log warning when unable to fetch EMS boundaries for lens region map (#152762)
Fixes https://github.com/elastic/kibana/issues/152495

<img width="500" alt="Screen Shot 2023-03-06 at 12 46 41 PM"
src="https://user-images.githubusercontent.com/373691/223216940-0b41a775-cbf4-424d-ab89-6c1a3b8a4c14.png">


Running Kibana in an offline environment without setting
`map.includeElasticMapsService: false` is an anti-pattern and leads to
lens and maps visualizations delaying initialization while waiting for
EMS connection. This PR ensures there is proper console notification.
Better messaging should point users to the correct resolution of setting
`map.includeElasticMapsService: false`.

The PR does not resolve the timeout issue. Not going to resolve the
timeout issue since running in an offline environment without setting
`map.includeElasticMapsService: false` is not supported.

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
2023-03-07 10:05:02 -07:00
Johannes Mahne
75c2cfdd22
Adding clarification to the use of the environment variable in the Ma… (#145847)
…p Service

Adding some text to help clear out confusion by users reading the
`EMS_PATH_CONF` env variable as a host env var, instead of a env
variable inside the docker container. Also, mentioning the `-e` docker
flag that can be used on the docker command to start up the service.

## Summary

Summarize your PR. If it involves visual changes include a screenshot or
gif.


### Checklist

Delete any items that are not applicable to this PR.

- [ ] Any text added follows [EUI's writing
guidelines](https://elastic.github.io/eui/#/guidelines/writing), uses
sentence case text and includes [i18n
support](https://github.com/elastic/kibana/blob/main/packages/kbn-i18n/README.md)
- [ ]
[Documentation](https://www.elastic.co/guide/en/kibana/master/development-documentation.html)
was added for features that require explanation or tutorials
- [ ] [Unit or functional
tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)
were updated or added to match the most common scenarios
- [ ] Any UI touched in this PR is usable by keyboard only (learn more
about [keyboard accessibility](https://webaim.org/techniques/keyboard/))
- [ ] Any UI touched in this PR does not create any new axe failures
(run axe in browser:
[FF](https://addons.mozilla.org/en-US/firefox/addon/axe-devtools/),
[Chrome](https://chrome.google.com/webstore/detail/axe-web-accessibility-tes/lhdoppojpmngadmnindnejefpokejbdd?hl=en-US))
- [ ] If a plugin configuration key changed, check if it needs to be
allowlisted in the cloud and added to the [docker
list](https://github.com/elastic/kibana/blob/main/src/dev/build/tasks/os_packages/docker_generator/resources/base/bin/kibana-docker)
- [ ] This renders correctly on smaller devices using a responsive
layout. (You can test this [in your
browser](https://www.browserstack.com/guide/responsive-testing-on-local-server))
- [ ] This was checked for [cross-browser
compatibility](https://www.elastic.co/support/matrix#matrix_browsers)


### Risk Matrix

Delete this section if it is not applicable to this PR.

Before closing this PR, invite QA, stakeholders, and other developers to
identify risks that should be tested prior to the change/feature
release.

When forming the risk matrix, consider some of the following examples
and how they may potentially impact the change:

| Risk | Probability | Severity | Mitigation/Notes |

|---------------------------|-------------|----------|-------------------------|
| Multiple Spaces&mdash;unexpected behavior in non-default Kibana Space.
| Low | High | Integration tests will verify that all features are still
supported in non-default Kibana Space and when user switches between
spaces. |
| Multiple nodes&mdash;Elasticsearch polling might have race conditions
when multiple Kibana nodes are polling for the same tasks. | High | Low
| Tasks are idempotent, so executing them multiple times will not result
in logical error, but will degrade performance. To test for this case we
add plenty of unit tests around this logic and document manual testing
procedure. |
| Code should gracefully handle cases when feature X or plugin Y are
disabled. | Medium | High | Unit tests will verify that any feature flag
or plugin combination still results in our service operational. |
| [See more potential risk
examples](https://github.com/elastic/kibana/blob/main/RISK_MATRIX.mdx) |


### For maintainers

- [ ] This was checked for breaking API changes and was [labeled
appropriately](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)
2023-01-17 11:28:03 -07:00
Nathan Reese
04360839cd
[maps] Ability to offset point labels on maps (#145773)
Resolves https://github.com/elastic/kibana/issues/143677

PR adds "Label position" style setting allowing users to position labels
at top, center, or bottom.

<img width="800" alt="Screen Shot 2022-11-18 at 12 55 44 PM"
src="https://user-images.githubusercontent.com/373691/202792466-b899df1a-60b2-4967-91c3-03c59a8e448a.png">

<img width="800" alt="Screen Shot 2022-11-18 at 12 55 32 PM"
src="https://user-images.githubusercontent.com/373691/202792501-ec0c24da-699d-4394-a7b2-6e2fbd340073.png">

<img width="800" alt="Screen Shot 2022-11-18 at 12 55 14 PM"
src="https://user-images.githubusercontent.com/373691/202792533-28e1a18a-d7c8-48dc-90ca-e67f42a6f9d3.png">

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2022-11-29 09:08:54 -07:00
Jorge Sanz
3cf200254e
[DOCS] [Maps] Fix the list of EMS supported prococols (#146313)
## Summary

Removes `1.3` from the list of TLS supported protocols for Elastic Maps
Service server.
2022-11-28 11:36:20 -05:00
Lisa Cawley
03b78fc80a
[DOCS] Remove screenshot from maps tutorial (#146030) 2022-11-22 14:55:25 -08:00
Lisa Cawley
8086e99478
[DOCS] Fix Rules and Connectors app labels (#145660) 2022-11-22 09:14:31 -08:00
James Garside
b589297bee
Updated tracks tutorial to support Agent (#143414)
* Updated for Human readable dataview names

* Updated tutorial to support Elastic Agent
2022-11-16 16:15:55 -05:00
Abdon Pijpelink
faa10dc727
Restore link to spatial relation operator (#144032) 2022-10-26 16:08:08 +02:00
Abdon Pijpelink
a0d237b62c
Temporarily remove broken link (#143965) 2022-10-25 18:34:34 +02:00
James Garside
d4fad94368
Updated for Human readable Dataview names (#139308)
* Updated for Human readable dataview names

* 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

Co-authored-by: gchaps <33642766+gchaps@users.noreply.github.com>
2022-08-23 14:47:46 -07:00
gchaps
fa5b622c84
[DOCS] Updates maps reverse geocoding tutorial (#139058)
* [DOCS] Updates maps reverse geocoding tutorial

* [DOCS] Adds name of file to download

* [DOCS] Updates images and code for tutorial

* Update docs/maps/reverse-geocoding-tutorial.asciidoc

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2022-08-22 08:34:08 -07:00
gchaps
fabbd42451
[DOCS] Fixes typo in maps tutorial (#139138) 2022-08-18 12:53:29 -07:00
gchaps
89d8802571
[DOCS] Updates getting started for Maps (#139050)
* [DOCS] Updates getting started for Maps

* [DOCS] Updates images as per review comments
2022-08-18 10:56:32 -07:00
Nathan Reese
8bedc3c980
[Maps] label zoom range style property (#136690)
* [Maps] label visibility style property

* add slider

* set label zoom range

* rename

* fix jest test

* tslint

* fix jest tests

* update jest expects

* [CI] Auto-commit changed files from 'node scripts/eslint --no-cache --fix'

* doc updates and change 'Label zoom range' to 'Label visibility'

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2022-07-25 10:04:11 -06:00
Nathan Reese
63335d8e37
[maps] clean-up filter by map bounds action (#136045)
* [maps] clean-up filter by map bounds action

* modal

* [CI] Auto-commit changed files from 'node scripts/precommit_hook.js --ref HEAD~1..HEAD --fix'

* update docs

* fix warning in generated filter pill

* fix functional test

* fix jest test

* review feedback

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
2022-07-13 07:51:23 -06:00
James Garside
956703a71f
Updated trimet.vehicleID from Integer to Keyword (#132425)
* 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>
2022-05-18 10:20:57 -04:00
James Garside
d38e836ab3
Updated tutorial to use Filebeat and Datastreams rather than Logstash… (#132052)
* 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>
2022-05-12 10:02:51 +01:00
Nathan Reese
72ec630f91
[maps] vector tile inspector (#131565)
* [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>
2022-05-11 15:04:33 -06:00
James Garside
9f992c2b12
Updated logstash script to drop the original event field as it contained the entire unsplit response from the trimet api (#131853) 2022-05-10 15:48:03 +01:00
Max Kovalev
a2acfe5117
[Maps] allow feature editing for document layers with "applyGlobalTime", "applyGlobalQuery", and joins (#124803)
* #124061 - feature editing updated logic for documents layer

* 124061 - updates for disabling joins

* 124061 - refactoring; Excluding filtering from when enabling editing mode

* 124061 - fixes for failed tests

* 124061 - fixed test for JoinEditor

* 124061 - global time checkbox message fix

* 124071 - updated snapshot for JoinEditor

* 124061 - excluded applyGlobalQuery/applyGlobalTime from es_source in case of editing layer active

* 124061 - refactoring

* 124061 - fix for test

* 124061 - refactoring; Added message for disabled filter

* 124061 - replacing variables

* 124061 - fixed test; refactoring

* 124061 - refactoring; fixed tests

* 124061 - refactoring; fixed tests

* 124061 - refactoring; removed reuse isFeatureEditorOpenForLayer

* 124061 - fixed tests

* 124061 - removed isFeatureEditorOpenForLayer property

* 124061 - buildVectorRequestMeta updates

* 124061 - fixes for CI checks

* 124061 - refactoring

* 124061 - fixed test

* 124061 - refactoring; fixed conflict

* 124061 - syncDataLLayer called inside updateEditLayer

* 124061 - reverting changes for Join editor

* 124061 - removing unused isFeatureEditorOpenForLayer

* 124061 - updating snap

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2022-04-29 09:27:07 -06:00
Nick Peihl
f32faab84d
[DOCS] [Maps] Add documentation for custom icons (#129530) 2022-04-11 13:13:43 -04:00
Nathan Reese
093d6499b0
[maps] clarify how layer filters are applied to term joins (#128502)
* [maps] clarify how layer filters are applied to term joins

* typo

* clean up

* change to present tense

* fix typo

* Update docs/maps/search.asciidoc

Co-authored-by: gchaps <33642766+gchaps@users.noreply.github.com>

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: gchaps <33642766+gchaps@users.noreply.github.com>
2022-03-31 13:17:51 -06:00
Nathan Reese
89fdb9afd6
[maps] fix formatting in import geospatail data (#129072) 2022-03-31 12:38:29 -06:00
Nick Peihl
118321fff9
[Maps] Support custom icons in maps (#113144)
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.
2022-03-29 21:17:55 -07:00
Nathan Reese
75f8ac424e
[Maps] Add support for geohex_grid aggregation (#127170)
* [Maps] hex bin gridding

* remove console.log

* disable hexbins for license and geo_shape

* fix jest tests

* copy cleanup

* label

* update clusters SVG with hexbins

* show as tooltip

* documenation updates

* copy updates

* add API test for hex

* test cleanup

* eslint

* eslint and functional test fixes

* eslint, copy updates, and more doc updates

* fix i18n error

* consolidate isMvt logic

* copy review feedback

* use 3 stop scale for hexs

* jest snapshot updates

* Update x-pack/plugins/maps/public/classes/sources/es_geo_grid_source/es_geo_grid_source.tsx

Co-authored-by: Nick Peihl <nickpeihl@gmail.com>

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Nick Peihl <nickpeihl@gmail.com>
2022-03-23 08:20:10 -06:00
Max Kovalev
0cd251ec4d
[Maps][File upload] Remove usage of max file size advanced setting 1GB limit in geo file upload (#127639)
* #93261 - Usage of maxFileSize in geo upload form is removed

* 93261 - refactoring

* 93261 - fixed translation checks

* 93261 - documentation updates

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2022-03-16 15:25:07 -06:00
Lisa Cawley
e72dafc038
[DOCS] Add anomaly layer in Maps (#126397) 2022-03-01 07:43:46 -08:00
Lisa Cawley
c90043da02
[DOCS] Refresh screenshots in Maps tutorial (#126520) 2022-03-01 07:35:33 -08:00
Nathan Reese
790089e18f
[maps] shapefile import (#123764)
* [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>
2022-02-01 11:06:49 -07:00
Nathan Reese
b6a0a23747
[Maps] drawing layer documentation (#123373)
* [Maps] drawing layer documentation

* fix formatting

* more formating fixes

* text changes

* Update docs/maps/import-geospatial-data.asciidoc

Co-authored-by: gchaps <33642766+gchaps@users.noreply.github.com>

* Update docs/maps/import-geospatial-data.asciidoc

Co-authored-by: gchaps <33642766+gchaps@users.noreply.github.com>

* Update docs/maps/import-geospatial-data.asciidoc

Co-authored-by: gchaps <33642766+gchaps@users.noreply.github.com>

* Update docs/maps/import-geospatial-data.asciidoc

Co-authored-by: gchaps <33642766+gchaps@users.noreply.github.com>

* Update docs/maps/import-geospatial-data.asciidoc

Co-authored-by: gchaps <33642766+gchaps@users.noreply.github.com>

* Update docs/maps/import-geospatial-data.asciidoc

Co-authored-by: gchaps <33642766+gchaps@users.noreply.github.com>

* review feedback

* Update docs/maps/import-geospatial-data.asciidoc

Co-authored-by: gchaps <33642766+gchaps@users.noreply.github.com>

* fix formatting of nested bullet

Co-authored-by: gchaps <33642766+gchaps@users.noreply.github.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2022-02-01 07:07:49 -07:00
gchaps
1e12a39cd2
[DOCS] Fixes inconsistency with role management link (#121351)
* [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>
2021-12-15 14:45:23 -08:00
Nathan Reese
11341ffe0e
[Maps] update docs for index pattern -> data view rename (#117400)
* [Maps] update docs for index pattern -> data view rename

* Update docs/maps/reverse-geocoding-tutorial.asciidoc

Co-authored-by: gchaps <33642766+gchaps@users.noreply.github.com>

Co-authored-by: gchaps <33642766+gchaps@users.noreply.github.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-11-04 12:04:05 -06:00
Matthew Kime
e53771df2d
[docs] index pattern => data view (#110421) (#115497)
* [user docs - index patterns] index pattern => data view (#110421)
2021-11-02 11:34:59 -05:00
Thomas Neirynck
33fd1bdff0
[Maps] Use ES mvt (#114553)
* 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>
2021-10-25 10:41:04 -06:00
garanews
58f6d9002a
Fix typos in docs & dev_docs (#113746) 2021-10-07 14:30:32 -04:00
Nathan Reese
6579ade1e3
[Maps] Update search docs to clarify how to disable global search, global time filter, and global refresh for layers (#111625)
* [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>
2021-09-16 14:08:08 -06:00
Nathan Reese
daf860c701
[sample data] update web log geo.src field to match country code of geo.coordinates (#110885)
* [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>
2021-09-07 10:40:46 -06:00
Nathan Reese
84be1c500e
[maps] remove xpack.maps.showMapVisualizationTypes (#105979)
* [maps] remove xpack.maps.showMapVisualizationTypes

* remove settings from xpack_plugins

* eslint

* new telemetry_check parser features

* remove xpack.maps.showMapVisualizationTypes from functional test config

* remove unused const destruct

* update expect for functional test

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Ahmad Bamieh <ahmadbamieh@gmail.com>
2021-08-24 10:46:40 -06:00
Nathan Reese
dc9da8ebe0
[Maps][Docs]Reverse geocoding tutorial (#108712)
* [Maps] reverse geocoding tutorial

* reverse geocoding step

* add final step

* use dash delemiter instead of underscore in file name

* add float to step 3 so its on the same page

* add into to step 3

* update csa URL to point to elastic/examples repo

* Update docs/maps/reverse-geocoding-tutorial.asciidoc

Co-authored-by: gchaps <33642766+gchaps@users.noreply.github.com>

* Update docs/maps/reverse-geocoding-tutorial.asciidoc

Co-authored-by: gchaps <33642766+gchaps@users.noreply.github.com>

* Update docs/maps/reverse-geocoding-tutorial.asciidoc

Co-authored-by: gchaps <33642766+gchaps@users.noreply.github.com>

* Update docs/maps/reverse-geocoding-tutorial.asciidoc

Co-authored-by: gchaps <33642766+gchaps@users.noreply.github.com>

* Update docs/maps/reverse-geocoding-tutorial.asciidoc

Co-authored-by: gchaps <33642766+gchaps@users.noreply.github.com>

* Update docs/maps/reverse-geocoding-tutorial.asciidoc

Co-authored-by: gchaps <33642766+gchaps@users.noreply.github.com>

* Update docs/maps/reverse-geocoding-tutorial.asciidoc

Co-authored-by: gchaps <33642766+gchaps@users.noreply.github.com>

* Update docs/maps/reverse-geocoding-tutorial.asciidoc

Co-authored-by: gchaps <33642766+gchaps@users.noreply.github.com>

* Update docs/maps/reverse-geocoding-tutorial.asciidoc

Co-authored-by: gchaps <33642766+gchaps@users.noreply.github.com>

* review feedback

* Update docs/maps/reverse-geocoding-tutorial.asciidoc

Co-authored-by: gchaps <33642766+gchaps@users.noreply.github.com>

* Update docs/maps/reverse-geocoding-tutorial.asciidoc

Co-authored-by: gchaps <33642766+gchaps@users.noreply.github.com>

* Update docs/maps/reverse-geocoding-tutorial.asciidoc

Co-authored-by: gchaps <33642766+gchaps@users.noreply.github.com>

* add sentence about not needing geoip

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: gchaps <33642766+gchaps@users.noreply.github.com>
2021-08-24 09:15:53 -06:00
Luke Elmers
57e395540d
[docs] Update Maps docs based on 7.14 UI. (#104762) 2021-08-13 10:51:38 -06:00
Lisa Cawley
4f7e62fff3
[DOCS] Updates file upload details for geospatial data (#107985) 2021-08-10 10:06:11 -07:00
Nathan Reese
500905c2b1
[maps] asset tracking tutorial (#104552)
* [maps] asset tracking tutoral

* fix image link

* fix link to tutorial in index.asciidoc

* use ref link for ece-cloud-id link

* use ece link

* fix code blocks

* fix screenshot

* finish part 1

* add tracks layer

* top hits step

* clean up part 2

* clean up part 2

* draw construction zones

* fix image name

* create alert

* add alerts to map

* add newline after code blocks

* remove to get build working again

* add back part 3 with header fix

* use server log connector

* 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>

* review feedback for part 1

* add Console

* part 2 feedback

* 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>

* part 3 review feedback

* one more fix

* intro paragraphs

* intro paragraph review feedback

* 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>

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: gchaps <33642766+gchaps@users.noreply.github.com>
2021-08-05 13:27:25 -06:00
Wylie Conlon
ce89235713
[Sample data] Use Lens in Logs sample data (#106486)
* [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>
2021-07-29 07:58:54 +02:00
Nathan Reese
70758da0e8
[maps][docs] refresh screenshots for 7.14 (#105601) 2021-07-14 09:42:46 -06:00
Aaron Caldwell
c02cdd85fe
Format numbers in TOC pop-up and add layer menu to locale (#105165)
* Format numbers in TOC pop-up and add layer menu to locale

* Review feedback + format a couple other counts

* Update jest test
2021-07-13 10:17:53 -04:00