Skip to content

Commit 48ecdf7

Browse files
Merge branch 'master' into flash1293/local-application-service
2 parents 1bd6b3b + cd8c708 commit 48ecdf7

File tree

705 files changed

+26725
-11989
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

705 files changed

+26725
-11989
lines changed
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
2+
3+
[Home](./index.md) &gt; [kibana-plugin-public](./kibana-plugin-public.md) &gt; [HttpServiceBase](./kibana-plugin-public.httpservicebase.md) &gt; [anonymousPaths](./kibana-plugin-public.httpservicebase.anonymouspaths.md)
4+
5+
## HttpServiceBase.anonymousPaths property
6+
7+
APIs for denoting certain paths for not requiring authentication
8+
9+
<b>Signature:</b>
10+
11+
```typescript
12+
anonymousPaths: IAnonymousPaths;
13+
```

docs/development/core/public/kibana-plugin-public.httpservicebase.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ export interface HttpServiceBase
1515

1616
| Property | Type | Description |
1717
| --- | --- | --- |
18+
| [anonymousPaths](./kibana-plugin-public.httpservicebase.anonymouspaths.md) | <code>IAnonymousPaths</code> | APIs for denoting certain paths for not requiring authentication |
1819
| [basePath](./kibana-plugin-public.httpservicebase.basepath.md) | <code>IBasePath</code> | APIs for manipulating the basePath on URL segments. |
1920
| [delete](./kibana-plugin-public.httpservicebase.delete.md) | <code>HttpHandler</code> | Makes an HTTP request with the DELETE method. See [HttpHandler](./kibana-plugin-public.httphandler.md) for options. |
2021
| [fetch](./kibana-plugin-public.httpservicebase.fetch.md) | <code>HttpHandler</code> | Makes an HTTP request. Defaults to a GET request unless overriden. See [HttpHandler](./kibana-plugin-public.httphandler.md) for options. |
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
2+
3+
[Home](./index.md) &gt; [kibana-plugin-public](./kibana-plugin-public.md) &gt; [IAnonymousPaths](./kibana-plugin-public.ianonymouspaths.md) &gt; [isAnonymous](./kibana-plugin-public.ianonymouspaths.isanonymous.md)
4+
5+
## IAnonymousPaths.isAnonymous() method
6+
7+
Determines whether the provided path doesn't require authentication
8+
9+
<b>Signature:</b>
10+
11+
```typescript
12+
isAnonymous(path: string): boolean;
13+
```
14+
15+
## Parameters
16+
17+
| Parameter | Type | Description |
18+
| --- | --- | --- |
19+
| path | <code>string</code> | |
20+
21+
<b>Returns:</b>
22+
23+
`boolean`
24+
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
2+
3+
[Home](./index.md) &gt; [kibana-plugin-public](./kibana-plugin-public.md) &gt; [IAnonymousPaths](./kibana-plugin-public.ianonymouspaths.md)
4+
5+
## IAnonymousPaths interface
6+
7+
APIs for denoting paths as not requiring authentication
8+
9+
<b>Signature:</b>
10+
11+
```typescript
12+
export interface IAnonymousPaths
13+
```
14+
15+
## Methods
16+
17+
| Method | Description |
18+
| --- | --- |
19+
| [isAnonymous(path)](./kibana-plugin-public.ianonymouspaths.isanonymous.md) | Determines whether the provided path doesn't require authentication |
20+
| [register(path)](./kibana-plugin-public.ianonymouspaths.register.md) | Register <code>path</code> as not requiring authentication |
21+
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
2+
3+
[Home](./index.md) &gt; [kibana-plugin-public](./kibana-plugin-public.md) &gt; [IAnonymousPaths](./kibana-plugin-public.ianonymouspaths.md) &gt; [register](./kibana-plugin-public.ianonymouspaths.register.md)
4+
5+
## IAnonymousPaths.register() method
6+
7+
Register `path` as not requiring authentication
8+
9+
<b>Signature:</b>
10+
11+
```typescript
12+
register(path: string): void;
13+
```
14+
15+
## Parameters
16+
17+
| Parameter | Type | Description |
18+
| --- | --- | --- |
19+
| path | <code>string</code> | |
20+
21+
<b>Returns:</b>
22+
23+
`void`
24+

docs/development/core/public/kibana-plugin-public.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@ The plugin integrates with the core system via lifecycle events: `setup`<!-- -->
5757
| [HttpResponse](./kibana-plugin-public.httpresponse.md) | |
5858
| [HttpServiceBase](./kibana-plugin-public.httpservicebase.md) | |
5959
| [I18nStart](./kibana-plugin-public.i18nstart.md) | I18nStart.Context is required by any localizable React component from @<!-- -->kbn/i18n and @<!-- -->elastic/eui packages and is supposed to be used as the topmost component for any i18n-compatible React tree. |
60+
| [IAnonymousPaths](./kibana-plugin-public.ianonymouspaths.md) | APIs for denoting paths as not requiring authentication |
6061
| [IBasePath](./kibana-plugin-public.ibasepath.md) | APIs for manipulating the basePath on URL segments. |
6162
| [IContextContainer](./kibana-plugin-public.icontextcontainer.md) | An object that handles registration of context providers and configuring handlers with context. |
6263
| [IHttpFetchError](./kibana-plugin-public.ihttpfetcherror.md) | |

docs/maps/geojson-upload.asciidoc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ for example, in visualizations and Canvas workpads.
99
[float]
1010
=== Why GeoJSON?
1111
GeoJSON is an open-standard file format for storing geospatial vector data.
12-
Although many vector data formats are available in the GIS community,
12+
Although many vector data formats are available in the GIS community,
1313
GeoJSON is the most commonly used and flexible option.
1414
[float]
1515

@@ -18,14 +18,14 @@ Follow the instructions below to upload a GeoJSON data file, or try the
1818
<<indexing-geojson-data-tutorial, end-to-end integrated example>>.
1919

2020
. Open *Elastic Maps*, and then click *Add layer*.
21-
. Click *Upload GeoJSON vector file*.
21+
. Click *Uploaded GeoJSON*.
2222
+
2323
[role="screenshot"]
2424
image::maps/images/fu_gs_select_source_file_upload.png[]
2525

2626
. Use the file chooser to select a valid GeoJSON file. The file will load
2727
a preview of the data on the map.
28-
. Use the default *Index type* of {ref}/geo-point.html[geo_point] for point data,
28+
. Use the default *Index type* of {ref}/geo-point.html[geo_point] for point data,
2929
or override it and select {ref}/geo-shape.html[geo_shape].
3030
All other shapes will default to a type of `geo_shape`.
3131
. Leave the default *Index name* and *Index pattern* names (the name of the uploaded

docs/maps/indexing-geojson-data-tutorial.asciidoc

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
[[indexing-geojson-data-tutorial]]
33
== Indexing GeoJSON data tutorial
44

5-
In this tutorial, you'll build a customized map that shows the flight path between
5+
In this tutorial, you'll build a customized map that shows the flight path between
66
two airports, and the lightning hot spots on that route. You'll learn to:
77

88
* Import GeoJSON files into Kibana
@@ -15,15 +15,15 @@ two airports, and the lightning hot spots on that route. You'll learn to:
1515
This tutorial requires you to download the following GeoJSON sample data files.
1616
These files are good examples of the types
1717
of vector data that you can upload to Kibana and index in
18-
Elasticsearch for display in *Elastic Maps*.
18+
Elasticsearch for display in *Elastic Maps*.
1919

2020
* https://raw.githubusercontent.com/elastic/examples/master/Maps/Getting%20Started%20Examples/geojson_upload_and_styling/logan_international_airport.geojson[Logan International Airport]
2121
* https://raw.githubusercontent.com/elastic/examples/master/Maps/Getting%20Started%20Examples/geojson_upload_and_styling/bangor_international_airport.geojson[Bangor International Airport]
2222
* https://raw.githubusercontent.com/elastic/examples/master/Maps/Getting%20Started%20Examples/geojson_upload_and_styling/lightning_detected.geojson[Lightning detected]
2323
* https://raw.githubusercontent.com/elastic/examples/master/Maps/Getting%20Started%20Examples/geojson_upload_and_styling/original_flight_path.geojson[Original flight path]
2424
* https://raw.githubusercontent.com/elastic/examples/master/Maps/Getting%20Started%20Examples/geojson_upload_and_styling/modified_flight_path.geojson[Modified flight path]
2525

26-
The data represents two real airports, two fictitious flight routes, and
26+
The data represents two real airports, two fictitious flight routes, and
2727
fictitious lightning reports. You don't need to use all of
2828
these files. Feel free to work with as many files as you'd like, or use valid GeoJSON
2929
files of your own.
@@ -47,20 +47,20 @@ image::maps/images/fu_gs_new_england_map.png[]
4747
For each GeoJSON file you downloaded, complete the following steps:
4848

4949
. Below the map legend, click *Add layer*.
50-
. From the list of layer types, click *Upload GeoJSON vector file*.
50+
. From the list of layer types, click *Uploaded GeoJSON*.
5151
. Using the File Picker, upload the GeoJSON file.
5252
+
53-
Depending on the geometry type of your features, this will
53+
Depending on the geometry type of your features, this will
5454
auto-populate *Index type* with either {ref}/geo-point.html[geo_point] or
55-
{ref}/geo-shape.html[geo_shape] and *Index name* with
55+
{ref}/geo-shape.html[geo_shape] and *Index name* with
5656
`<file name>`.
5757

5858
. Click *Import file* in the lower right.
5959
+
6060
You'll see activity as the GeoJSON Upload utility creates a new index
6161
and index pattern for the data set. When the process is complete, you should
6262
receive messages that the creation of the new index and index pattern
63-
were successful.
63+
were successful.
6464

6565
. Click *Add layer* in the bottom right.
6666

@@ -69,7 +69,7 @@ were successful.
6969
. Once you've added all of the sample files,
7070
<<maps-save, save your map>>.
7171
+
72-
At this point, you could consider the map complete,
72+
At this point, you could consider the map complete,
7373
but there are a few additions and tweaks that you can make to tell a
7474
better story with your data.
7575
+
@@ -80,34 +80,34 @@ image::maps/images/fu_gs_flight_paths.png[]
8080
=== Add a heatmap aggregation layer
8181

8282
Looking at the `Lightning detected` layer, it's clear where lightning has
83-
struck. What's less clear, is if there have been more lightning
84-
strikes in some areas than others, in other words, where the lightning
83+
struck. What's less clear, is if there have been more lightning
84+
strikes in some areas than others, in other words, where the lightning
8585
hot spots are. An advantage of having indexed
86-
{ref}/geo-point.html[geo_point] data for the
87-
lightning strikes is that you can perform aggregations on the data.
86+
{ref}/geo-point.html[geo_point] data for the
87+
lightning strikes is that you can perform aggregations on the data.
8888

8989
. Below the map legend, click *Add layer*.
9090
. From the list of layer types, click *Grid aggregation*.
9191
+
92-
Because you indexed `lightning_detected.geojson` using the index name and
92+
Because you indexed `lightning_detected.geojson` using the index name and
9393
pattern `lightning_detected`, that data is available as a {ref}/geo-point.html[geo_point]
94-
aggregation.
94+
aggregation.
9595

9696
. Select `lightning_detected`.
9797
. Click *Show as* and select `heat map`.
9898
. Click *Add layer* to add the heat map layer
9999
"Lightning intensity".
100100
+
101101
The remaining default settings are good, but there are a couple of
102-
settings that you might want to change.
102+
settings that you might want to change.
103103

104-
. Under *Source settings* > *Grid resolution*, select from the different heat map resolutions.
104+
. Under *Source settings* > *Grid resolution*, select from the different heat map resolutions.
105105
+
106106
The default "Coarse" looks
107107
good, but feel free to select a different resolution.
108108

109109
. Play around with the *Layer Style* >
110-
*Color range* setting.
110+
*Color range* setting.
111111
+
112112
Again the default looks good, but feel free to choose a
113113
different color range.
@@ -125,14 +125,14 @@ image::maps/images/fu_gs_lightning_intensity.png[]
125125
=== Organize the layers
126126

127127
Consider ways you might improve the appearance of the final map.
128-
Small changes in how and when layers are shown can help tell a
128+
Small changes in how and when layers are shown can help tell a
129129
better story with your data. Here are a few final tweaks
130130
you might make:
131131

132132
* Update layer names
133133
* Adjust styles for each layer
134134
* Adjust the layer order
135-
* Decide which layers to show at different zoom levels
135+
* Decide which layers to show at different zoom levels
136136

137137
When you've finished, again be sure to <<maps-save, save your work >>.
138138

docs/maps/maps-getting-started.asciidoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ and lighter shades symbolize countries with less traffic.
6565
==== Add a vector layer from the Elastic Maps Service source
6666

6767
. In the map legend, click *Add layer*.
68-
. Click the *Vector shapes* data source.
68+
. Click the *EMS Boundaries* data source.
6969
. From the *Layer* dropdown menu, select *World Countries*.
7070
. Click the *Add layer* button.
7171
. Set *Layer name* to `Total Requests by Country`.

docs/user/ml/index.asciidoc

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,16 @@ image::user/ml/images/ml-data-visualizer-sample.jpg[Data Visualizer for sample f
1818

1919
experimental[] You can also upload a CSV, NDJSON, or log file (up to 100 MB in
2020
size). The *Data Visualizer* identifies the file format and field mappings. You
21-
can then optionally import that data into an {es} index.
21+
can then optionally import that data into an {es} index.
22+
23+
You need the following permissions to use the Data Visualizer with file upload:
24+
25+
* cluster privileges: `monitor`, `manage_index_pipelines`
26+
* index privileges: `read`, `manage`, `index`
27+
28+
For more information, see {ref}/security-privileges.html[Security privileges]
29+
and {ref}/built-in-roles.html[Built-in roles].
30+
2231

2332
[float]
2433
[[xpack-ml-anomalies]]

0 commit comments

Comments
 (0)