* [DOCS] Removed ss above spatial references * Removed above from n numeral formatting page
This commit is contained in:
parent
8ed96a0c0d
commit
88e6d24d77
|
@ -5,7 +5,7 @@ When querying in the APM app, you're simply searching and selecting data from fi
|
|||
Queries entered into the query bar are also added as parameters to the URL,
|
||||
so it's easy to share a specific query or view with others.
|
||||
|
||||
In the screenshot below, you can begin to see some of the transaction fields available for filtering on:
|
||||
In the screenshot below, you can begin to see some of the transaction fields available for filtering on:
|
||||
|
||||
[role="screenshot"]
|
||||
image::apm/images/apm-query-bar.png[Example of the Kibana Query bar in APM app in Kibana]
|
||||
|
@ -25,7 +25,7 @@ TIP: Read the {kibana-ref}/kuery-query.html[Kibana Query Language Enhancements]
|
|||
|
||||
It may also be helpful to view your APM data in the {kibana-ref}/discover.html[Discover app].
|
||||
Querying documents in Discover works the same way as querying in the APM app,
|
||||
and all of the example queries listed above can also be used in the Discover app.
|
||||
and all of the example APM app queries can also be used in the Discover app.
|
||||
|
||||
[float]
|
||||
==== Example Discover app query
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -18,8 +18,8 @@ NOTE: You are unable to interact with the REST API of {kib} with the Console.
|
|||
[[console-api]]
|
||||
=== Write requests
|
||||
|
||||
Console understands commands in a cURL-like syntax.
|
||||
For example, the following is a `GET` request to the {es} `_search` API.
|
||||
Console understands commands in a cURL-like syntax.
|
||||
For example, the following is a `GET` request to the {es} `_search` API.
|
||||
|
||||
[source,js]
|
||||
----------------------------------
|
||||
|
@ -43,23 +43,23 @@ curl -XGET "http://localhost:9200/_search" -d'
|
|||
}'
|
||||
----------------------------------
|
||||
|
||||
If you paste the above command into Console, {kib} automatically converts it
|
||||
When you paste the command into Console, {kib} automatically converts it
|
||||
to Console syntax. Alternatively, if you want to want to see Console syntax in cURL,
|
||||
click the action icon (image:dev-tools/console/images/wrench.png[]) and select *Copy as cURL*.
|
||||
click the action icon (image:dev-tools/console/images/wrench.png[]) and select *Copy as cURL*.
|
||||
|
||||
[float]
|
||||
[[console-autocomplete]]
|
||||
==== Autocomplete
|
||||
|
||||
When you're typing a command, Console makes context-sensitive suggestions.
|
||||
These suggestions show you the parameters for each API and speed up your typing.
|
||||
To configure your preferences for autocomplete, go to
|
||||
<<configuring-console, Settings>>.
|
||||
These suggestions show you the parameters for each API and speed up your typing.
|
||||
To configure your preferences for autocomplete, go to
|
||||
<<configuring-console, Settings>>.
|
||||
|
||||
[float]
|
||||
[[auto-formatting]]
|
||||
==== Auto-formatting
|
||||
The auto-formatting
|
||||
The auto-formatting
|
||||
capability can help you format requests. Select one or more requests that you
|
||||
want to format, click the action icon (image:dev-tools/console/images/wrench.png[]),
|
||||
and then select *Auto indent*.
|
||||
|
@ -69,27 +69,27 @@ For example, you might have a request formatted like this:
|
|||
[role="screenshot"]
|
||||
image::dev-tools/console/images/copy-curl.png["Console close-up"]
|
||||
|
||||
Console adjusts the JSON body of the request to apply the indents.
|
||||
Console adjusts the JSON body of the request to apply the indents.
|
||||
|
||||
[role="screenshot"]
|
||||
image::dev-tools/console/images/request.png["Console close-up"]
|
||||
|
||||
If you select *Auto indent* on a request that is already well formatted,
|
||||
Console collapses the request body to a single line per document.
|
||||
If you select *Auto indent* on a request that is already well formatted,
|
||||
Console collapses the request body to a single line per document.
|
||||
This is helpful when working with the {es} {ref}/docs-bulk.html[bulk APIs].
|
||||
|
||||
|
||||
|
||||
[float]
|
||||
[[console-request]]
|
||||
=== Submit requests
|
||||
=== Submit requests
|
||||
|
||||
When you're ready to submit the request to {es}, click the
|
||||
When you're ready to submit the request to {es}, click the
|
||||
green triangle.
|
||||
|
||||
You can select multiple requests and submit them together.
|
||||
Console sends the requests to {es} one by one and shows the output
|
||||
in the response pane. Submitting multiple request is helpful when you're debugging an issue or trying query
|
||||
Console sends the requests to {es} one by one and shows the output
|
||||
in the response pane. Submitting multiple request is helpful when you're debugging an issue or trying query
|
||||
combinations in multiple scenarios.
|
||||
|
||||
|
||||
|
@ -105,7 +105,7 @@ the action icon (image:dev-tools/console/images/wrench.png[]) and select
|
|||
[[console-history]]
|
||||
=== Get your request history
|
||||
|
||||
Console maintains a list of the last 500 requests that {es} successfully executed.
|
||||
Console maintains a list of the last 500 requests that {es} successfully executed.
|
||||
To view your most recent requests, click *History*. If you select a request
|
||||
and click *Apply*, {kib} adds it to the editor at the current cursor position.
|
||||
|
||||
|
@ -113,7 +113,7 @@ and click *Apply*, {kib} adds it to the editor at the current cursor position.
|
|||
[[configuring-console]]
|
||||
=== Configure Console settings
|
||||
|
||||
You can configure the Console font size, JSON syntax,
|
||||
You can configure the Console font size, JSON syntax,
|
||||
and autocomplete suggestions in *Settings*.
|
||||
|
||||
[role="screenshot"]
|
||||
|
@ -130,9 +130,7 @@ shortcuts, click *Help*.
|
|||
[[console-settings]]
|
||||
=== Disable Console
|
||||
|
||||
If you don’t want to use Console, you can disable it by setting `console.enabled`
|
||||
to `false` in your `kibana.yml` configuration file. Changing this setting
|
||||
causes the server to regenerate assets on the next startup,
|
||||
If you don’t want to use Console, you can disable it by setting `console.enabled`
|
||||
to `false` in your `kibana.yml` configuration file. Changing this setting
|
||||
causes the server to regenerate assets on the next startup,
|
||||
which might cause a delay before pages start being served.
|
||||
|
||||
|
||||
|
|
|
@ -25,7 +25,7 @@ POST test/_bulk
|
|||
// CONSOLE
|
||||
--
|
||||
|
||||
. From the {searchprofiler}, enter "test" in the Index field above the query editor to restrict profiled
|
||||
. From the {searchprofiler}, enter "test" in the *Index* field to restrict profiled
|
||||
queries to the `test` index.
|
||||
|
||||
. Replace the default `match_all` query in the query editor with a query that has two sub-query
|
||||
|
@ -66,7 +66,7 @@ components and includes a simple aggregation, like the example below.
|
|||
// NOTCONSOLE
|
||||
--
|
||||
|
||||
. Click *Profile* to profile the query and visualize the results.
|
||||
. Click *Profile* to profile the query and visualize the results.
|
||||
. Select the shard to view the query details.
|
||||
+
|
||||
[role="screenshot"]
|
||||
|
@ -100,5 +100,5 @@ Select the name of the shard to view the aggregation details and timing breakdow
|
|||
image::dev-tools/searchprofiler/images/gs10.png["Drilling into the first shard's details"]
|
||||
|
||||
For more information about how the {searchprofiler} works, how timings are calculated, and
|
||||
how to interpret various results, see
|
||||
how to interpret various results, see
|
||||
{ref}/search-profile.html#profiling-queries[Profiling queries].
|
||||
|
|
|
@ -96,8 +96,8 @@ module.exports = window.angular;
|
|||
|
||||
What this shim does is fairly simple if you go line by line:
|
||||
|
||||
. makes sure that jQuery is loaded before angular (which actually runs the shim above)
|
||||
. makes sure that jQuery is loaded before angular (which actually runs the shim)
|
||||
. load the angular.js file from the node_modules directory
|
||||
. load the angular-elastic plugin, a plugin we want to always be included whenever we import angular
|
||||
. use the `ui/modules` module to add the module exported by angular-elastic as a dependency to the `kibana` angular module
|
||||
. finally, export the window.angular variable. This means that writing `import angular from 'angular';` will properly set the angular variable to the angular library, rather than undefined which is the default behavior.
|
||||
. finally, export the window.angular variable. This means that writing `import angular from 'angular';` will properly set the angular variable to the angular library, rather than undefined which is the default behavior.
|
||||
|
|
|
@ -20,7 +20,7 @@ certain components. Here is a breakdown of those modules:
|
|||
the required modules and import them were they are actually necessary.
|
||||
|
||||
- *`import 'ui/autoload/all'`*
|
||||
Imports all of the above modules
|
||||
Imports all of the modules
|
||||
|
||||
[float]
|
||||
==== Resolving Require Paths
|
||||
|
@ -60,4 +60,4 @@ Here is how import/require statements are resolved to a file:
|
|||
** path/index + '.js'
|
||||
** path/index + '.json'
|
||||
** path/index
|
||||
* if none of the above paths matches then an error is thrown
|
||||
* if none of the paths matches then an error is thrown
|
||||
|
|
|
@ -175,7 +175,7 @@ init(server) {
|
|||
}
|
||||
-----------
|
||||
|
||||
Unlike the Canvas example above, Dev Tools does not require access to any saved objects to function. Dev Tools does specify an API endpoint, however. When this is configured, the Security plugin will automatically authorize access to any server API route that is tagged with `access:console`, similar to the following:
|
||||
Unlike the Canvas example, Dev Tools does not require access to any saved objects to function. Dev Tools does specify an API endpoint, however. When this is configured, the Security plugin will automatically authorize access to any server API route that is tagged with `access:console`, similar to the following:
|
||||
|
||||
["source","javascript"]
|
||||
-----------
|
||||
|
|
|
@ -68,7 +68,7 @@ This outputs a `en.json` file inside the `translations` directory. To localize o
|
|||
Checking i18n does the following:
|
||||
|
||||
* Checks all existing labels for violations.
|
||||
* Takes translations from `.i18nrc.json` and compares them to the messages extracted and validated at the step above and:
|
||||
* Takes translations from `.i18nrc.json` and compares them to the messages extracted and validated.
|
||||
** Checks for unused translations. If you remove a label that has a corresponding translation, you must also remove the label from the translations file.
|
||||
** Checks for incompatible translations. If you add or remove a new parameter from an existing string, you must also remove the label from the translations file.
|
||||
|
||||
|
@ -86,7 +86,7 @@ node scripts/i18n_check --fix --include-config ../kibana-extra/myPlugin/.i18nrc.
|
|||
Kibana relies on several UI frameworks (ReactJS and AngularJS) and
|
||||
requires localization in different environments (browser and NodeJS).
|
||||
The internationalization engine is framework agnostic and consumable in
|
||||
all parts of Kibana (ReactJS, AngularJS and NodeJS).
|
||||
all parts of Kibana (ReactJS, AngularJS and NodeJS).
|
||||
|
||||
To simplify
|
||||
internationalization in UI frameworks, additional abstractions are
|
||||
|
@ -112,7 +112,7 @@ export const HELLO_WORLD = i18n.translate('hello.wonderful.world', {
|
|||
Full details are {repo}tree/master/packages/kbn-i18n#vanilla-js[here].
|
||||
|
||||
[float]
|
||||
===== i18n for React
|
||||
===== i18n for React
|
||||
|
||||
To localize strings in React, use either `FormattedMessage` or `i18n.translate`.
|
||||
|
||||
|
@ -138,7 +138,7 @@ Full details are {repo}tree/master/packages/kbn-i18n#react[here].
|
|||
|
||||
|
||||
[float]
|
||||
===== i18n for Angular
|
||||
===== i18n for Angular
|
||||
|
||||
You are encouraged to use `i18n.translate()` by statically importing `i18n` from `@kbn/i18n` wherever possible in your Angular code. Angular wrappers use the translation `service` with the i18n engine under the hood.
|
||||
|
||||
|
|
|
@ -67,7 +67,7 @@ Enhancements are pretty much always going to have extensive unit tests as a base
|
|||
[float]
|
||||
=== Product level review
|
||||
|
||||
Reviewers are not simply evaluating the code itself, they are also evaluating the quality of the user-facing change in the product. This generally means they need to check out the branch locally and "play around" with it. In addition to the "do we want this change in the product" details from above, the reviewer should be looking for bugs and evaluating how approachable and useful the feature is as implemented. Special attention should be given to error scenarios and edge cases to ensure they are all handled well within the product.
|
||||
Reviewers are not simply evaluating the code itself, they are also evaluating the quality of the user-facing change in the product. This generally means they need to check out the branch locally and "play around" with it. In addition to the "do we want this change in the product" details, the reviewer should be looking for bugs and evaluating how approachable and useful the feature is as implemented. Special attention should be given to error scenarios and edge cases to ensure they are all handled well within the product.
|
||||
|
||||
|
||||
[float]
|
||||
|
@ -107,7 +107,7 @@ Conflicting opinions between reviewers and authors happen, and sometimes it is h
|
|||
|
||||
Whether or not a bit of feedback is appropriate for a pull request is often dependent on the motivation for giving the feedback in the first place.
|
||||
|
||||
_Demanding_ an author make changes based primarily on the mindset of "how would I write this code?" isn't appropriate. The reviewer didn't write the code, and their critical purpose in the review process is not to craft the contribution into a form that is simply whatever they would have written if they had. If a reviewer wants to provide this type of feedback, they should qualify it as a "nit" as mentioned in the nitpicking section above to make it clear that the author can take it or leave it.
|
||||
_Demanding_ an author make changes based primarily on the mindset of "how would I write this code?" isn't appropriate. The reviewer didn't write the code, and their critical purpose in the review process is not to craft the contribution into a form that is simply whatever they would have written if they had. If a reviewer wants to provide this type of feedback, they should qualify it as a "nit" as mentioned in the nitpicking section to make it clear that the author can take it or leave it.
|
||||
|
||||
Inflammatory feedback such as "this is crap" isn't feedback at all. It's both mean and unhelpful, and it is never appropriate.
|
||||
|
||||
|
|
|
@ -44,7 +44,7 @@ In this step we'll leave the aggregation dropdown set to *Average* but you can t
|
|||
|
||||
4. In the *graph per* dropdown, enter `host.name` and select this field.
|
||||
You will see a separate graph for each host you are monitoring.
|
||||
If you are collecting metrics for multiple hosts, you will see something like the screenshot above.
|
||||
If you are collecting metrics for multiple hosts, multiple graphics are displayed.
|
||||
If you only have metrics for a single host, you will see a single graph.
|
||||
Congratulations! Either way, you've explored your first metric.
|
||||
|
||||
|
|
|
@ -31,9 +31,7 @@ If so, <<xpack-logs-configuring, configure the logs source data>> to change the
|
|||
|
||||
Click image:images/time-filter-calendar.png[time filter calendar], then choose the time range for the logs.
|
||||
|
||||
Log entries for the specified time appear in the middle of the page, with the earlier entries above and the later entries below.
|
||||
|
||||
To quickly jump to a nearby point in time, click the minimap timeline to the right.
|
||||
Log entries for the specified time appear in the middle of the page. To quickly jump to a nearby point in time, click the minimap timeline to the right.
|
||||
// ++ what's this thing called? It's minimap in the UI. Would timeline be better?
|
||||
|
||||
[float]
|
||||
|
|
|
@ -145,7 +145,7 @@ with multiple forms, such as German.
|
|||
[float]
|
||||
=== Complete number pattern reference
|
||||
|
||||
These number formats, combined with the patterns described above,
|
||||
These number formats, combined with the previously described patterns,
|
||||
produce the complete set of options for numeral formatting.
|
||||
The output here is all for the `en` locale.
|
||||
|
||||
|
@ -180,5 +180,3 @@ The output here is all for the `en` locale.
|
|||
| 1e-27 | 000 | 1e-27
|
||||
| -1e-27 | 000 | -1e-27
|
||||
|===
|
||||
|
||||
|
||||
|
|
|
@ -128,7 +128,7 @@ rollup index, or you can remove or archive it using <<creating-index-lifecycle-p
|
|||
Your next step is to visualize your rolled up data in a vertical bar chart.
|
||||
Most visualizations support rolled up data, with the exception of Timelion, TSVB, and Vega visualizations.
|
||||
|
||||
Using the information from the example rollup configuration described above,
|
||||
Using the information from the example rollup configuration,
|
||||
you can use `rollup_logstash` to match the rolled up index pattern,
|
||||
and `kibana_sample_data_logs` to match the index pattern for raw data.
|
||||
The notation for a combination index pattern with both raw and rolled up data
|
||||
|
|
|
@ -19,7 +19,7 @@ EMS requests are made to the following domains:
|
|||
To connect to EMS when your Kibana server and browser are in an internal network:
|
||||
|
||||
. Set `map.proxyElasticMapsServiceInMaps` to `true` in your <<settings, kibana.yml>> file to proxy EMS requests through the Kibana server.
|
||||
. Update your firewall rules to whitelist connections from your Kibana server to the EMS domains listed above.
|
||||
. Update your firewall rules to whitelist connections from your Kibana server to the EMS domains.
|
||||
|
||||
NOTE: Coordinate map and region map visualizations do not support `map.proxyElasticMapsServiceInMaps` and will not proxy EMS requests through the Kibana server.
|
||||
|
||||
|
|
|
@ -7,11 +7,11 @@ A list of all published Docker images and tags is available at
|
|||
https://www.docker.elastic.co[www.docker.elastic.co]. The source code is in
|
||||
https://github.com/elastic/dockerfiles/tree/{branch}/kibana[GitHub].
|
||||
|
||||
These images are free to use under the Elastic license. They contain open source
|
||||
and free commercial features and access to paid commercial features.
|
||||
{stack-ov}/license-management.html[Start a 30-day trial] to try out all of the
|
||||
paid commercial features. See the
|
||||
https://www.elastic.co/subscriptions[Subscriptions] page for information about
|
||||
These images are free to use under the Elastic license. They contain open source
|
||||
and free commercial features and access to paid commercial features.
|
||||
{stack-ov}/license-management.html[Start a 30-day trial] to try out all of the
|
||||
paid commercial features. See the
|
||||
https://www.elastic.co/subscriptions[Subscriptions] page for information about
|
||||
Elastic license levels.
|
||||
|
||||
[float]
|
||||
|
@ -35,8 +35,8 @@ ifeval::["{release-state}"!="unreleased"]
|
|||
docker pull {docker-repo}:{version}
|
||||
--------------------------------------------
|
||||
|
||||
Alternatively, you can download other Docker images that contain only features
|
||||
available under the Apache 2.0 license. To download the images, go to
|
||||
Alternatively, you can download other Docker images that contain only features
|
||||
available under the Apache 2.0 license. To download the images, go to
|
||||
https://www.docker.elastic.co[www.docker.elastic.co].
|
||||
|
||||
[float]
|
||||
|
@ -96,7 +96,7 @@ Some example translations are shown here:
|
|||
`KIBANA_DEFAULTAPPID`:: `kibana.defaultAppId`
|
||||
`XPACK_MONITORING_ENABLED`:: `xpack.monitoring.enabled`
|
||||
|
||||
In general, any setting listed in <<settings>> can be
|
||||
In general, any setting listed in <<settings>> can be
|
||||
configured with this technique.
|
||||
|
||||
These variables can be set with +docker-compose+ like this:
|
||||
|
@ -135,5 +135,5 @@ with a <<bind-mount-config,custom `kibana.yml`>> or via
|
|||
<<environment-variable-config,environment variables>>.
|
||||
|
||||
IMPORTANT: If replacing `kibana.yml` with a custom version, be sure to copy the
|
||||
above defaults to the custom file if you want to retain them. If not, they will
|
||||
defaults to the custom file if you want to retain them. If not, they will
|
||||
be "masked" by the new file.
|
||||
|
|
|
@ -240,8 +240,9 @@ object points to an external vector file that contains a geojson
|
|||
FeatureCollection. The file must use the
|
||||
https://en.wikipedia.org/wiki/World_Geodetic_System[WGS84 coordinate reference system (ESPG:4326)]
|
||||
and only include polygons. If the file is hosted on a separate domain from
|
||||
{kib}, the server needs to be CORS-enabled so {kib} can download the file. The
|
||||
following example shows a valid region map configuration.
|
||||
Kibana, the server needs to be CORS-enabled so Kibana can download the file.
|
||||
[[region-map-configuration-example]]
|
||||
The following example shows a valid region map configuration.
|
||||
+
|
||||
--
|
||||
map
|
||||
|
@ -268,7 +269,7 @@ References the originating source of the geojson file. Supported on {ece}.
|
|||
|
||||
[[regionmap-fields]]`map.regionmap.layers[].fields[]:`:: Mandatory. Each layer
|
||||
can contain multiple fields to indicate what properties from the geojson
|
||||
features you wish to expose. The example above shows how to define multiple
|
||||
features you wish to expose. This <<region-map-configuration-example,region map example>> shows how to define multiple
|
||||
properties. Supported on {ece}.
|
||||
|
||||
[[regionmap-field-description]]`map.regionmap.layers[].fields[].description:`::
|
||||
|
|
|
@ -85,7 +85,7 @@ image::images/intro-dashboard.png[]
|
|||
|
||||
* <<visualize, Visualize>> allows you to display your data in
|
||||
line charts, bar graphs, pie charts, histograms, and tables
|
||||
(just to name a few). It's also home to *Lens*, mentioned above.
|
||||
(just to name a few). It's also home to *Lens*, the drag-and-drop interface.
|
||||
*Visualize* supports the ability to add interactive
|
||||
controls to your dashboard, and filter dashboard content in real time.
|
||||
|
||||
|
|
|
@ -51,8 +51,7 @@ should have their screenshot taken and when the Visualizations are done renderin
|
|||
|
||||
The print layout takes a screenshot of every element with the `data-shared-item` attribute and includes the
|
||||
individual screenshots in the PDF. The print layout also uses the `data-title` and `data-description`
|
||||
attributes on the same HTMLElement as the `data-shared-item` to specify the title and description
|
||||
that appears right above the individual screenshots.
|
||||
attributes on the same HTMLElement as the `data-shared-item` to specify the title and description.
|
||||
|
||||
The preserve layout takes a screenshot of the element with the `data-shared-items-container` attribute. Additionally,
|
||||
reporting will resize the element with the `data-shared-items-container` to be the size specified in the layout dimensions.
|
||||
|
@ -63,4 +62,4 @@ Reporting needs to determine when all of the visualizations have completed rende
|
|||
If there are multiple visualizations, the `data-shared-items-count` attribute should be specified to let Reporting know how
|
||||
many Visualizations to look for. Reporting will look at every element with the `data-shared-item` attribute and use the corresponding
|
||||
`data-render-complete` attribute and `renderComplete` events to listen for rendering to complete. When rendering is complete for a visualization
|
||||
the `data-render-complete` attribute should be set to "true" and it should dispatch a custom DOM `renderComplete` event.
|
||||
the `data-render-complete` attribute should be set to "true" and it should dispatch a custom DOM `renderComplete` event.
|
||||
|
|
|
@ -63,7 +63,7 @@ you have hostname verification enabled on {es}.
|
|||
--
|
||||
{es} needs the appropriate CA certificate chain to properly establish trust when receiving connections from {kib}.
|
||||
|
||||
If you followed the instructions above to generate a client certificate, then you will have a PKCS#12 file for {kib}. You can extract the CA
|
||||
If you followed the instructions to generate a client certificate, then you will have a PKCS#12 file for {kib}. You can extract the CA
|
||||
certificate chain from this file. For example:
|
||||
|
||||
[source,sh]
|
||||
|
@ -165,6 +165,6 @@ attempt to use them to authenticate to {es} via the native realm.
|
|||
|
||||
. Restart {kib}.
|
||||
|
||||
NOTE: The steps above enable {kib} to authenticate to {es} using a certificate. However, end users will only be able to authenticate to
|
||||
These steps enable {kib} to authenticate to {es} using a certificate. However, end users will only be able to authenticate to
|
||||
{kib} with a username and password. To allow end users to authenticate to {kib} using a client certificate, see <<pki-authentication,{kib}
|
||||
PKI authentication>>.
|
||||
|
|
|
@ -150,7 +150,7 @@ elasticsearch.ssl.certificateAuthorities: ["/path/to/elasticsearch-ca.pem"]
|
|||
+
|
||||
--
|
||||
WARNING: You should not use a PKCS#12 file that contains a private key. This is an unnecessary security risk. If you only have a PKCS#12
|
||||
file that contains a private key, a safer approach is to extract the CA certificate chain in PEM format as described above.
|
||||
file that contains a private key, a safer approach is to extract the CA certificate chain in PEM format.
|
||||
|
||||
Specify your PKCS#12 file in `kibana.yml`:
|
||||
|
||||
|
@ -188,5 +188,5 @@ verification. For more information about this setting, see <<settings,{kib} conf
|
|||
--
|
||||
|
||||
If the Elastic {monitor-features} are enabled and you have set up a separate {es} monitoring cluster, you can also configure {kib} to
|
||||
connect to the monitoring cluster via HTTPS. The steps are the same as above, but each setting is prefixed by `xpack.monitoring.`. For
|
||||
connect to the monitoring cluster via HTTPS. The steps are the same, but each setting is prefixed by `xpack.monitoring.`. For
|
||||
example, `xpack.monitoring.elasticsearch.hosts`, `xpack.monitoring.elasticsearch.ssl.truststore.path`, etc.
|
||||
|
|
|
@ -86,7 +86,7 @@ xpack.security.session.lifespan: "8h"
|
|||
--------------------------------------------------------------------------------
|
||||
--
|
||||
|
||||
. Optional: <<configuring-tls,Configure {kib} to encrypt communications>>.
|
||||
. Optional: <<configuring-tls,Configure {kib} to encrypt communications>>.
|
||||
|
||||
. Optional: <<elasticsearch-mutual-tls,Configure {kib} to authenticate to {es} with a client certificate>>.
|
||||
|
||||
|
@ -103,8 +103,8 @@ You can manage privileges on the *Management / Security / Roles* page in {kib}.
|
|||
|
||||
If you're using the native realm with Basic Authentication, you can assign roles
|
||||
using the *Management / Security / Users* page in {kib} or the
|
||||
{ref}/security-api.html#security-user-apis[user management APIs]. For example,
|
||||
the following creates a user named `jacknich` and assigns it the `kibana_admin`
|
||||
{ref}/security-api.html#security-user-apis[user management APIs]. For example,
|
||||
the following creates a user named `jacknich` and assigns it the `kibana_admin`
|
||||
role:
|
||||
|
||||
[source,js]
|
||||
|
@ -131,8 +131,8 @@ on specific index patterns. For more information, see
|
|||
|
||||
. Verify that you can log in as a user. If you are running
|
||||
{kib} locally, go to `https://localhost:5601` and enter the credentials for a
|
||||
user you've assigned a {kib} user role. For example, you could log in as the
|
||||
`jacknich` user created above.
|
||||
user you've assigned a {kib} user role. For example, you could log in as the user
|
||||
`jacknich`.
|
||||
+
|
||||
--
|
||||
|
||||
|
|
|
@ -18,47 +18,47 @@ NOTE: In Vega it is possible to load data dynamically, e.g. by setting signals a
|
|||
|
||||
* To experiment using sample data, first click the {kib} logo in the upper left hand corner
|
||||
and then click the link next to *Sample Data*.
|
||||
* Once you have data loaded, go to *Visualize*, click *+*, and select *Vega* to see an example graph.
|
||||
*Note*: The default graph is written in Vega-Lite, but you can build visualizations
|
||||
in either language. See <<vega-vs-vegalite, Vega vs. Vega-Lite>> for more information.
|
||||
* Once you have data loaded, go to *Visualize*, click *+*, and select *Vega* to see an example graph.
|
||||
*Note*: The default graph is written in Vega-Lite, but you can build visualizations
|
||||
in either language. See <<vega-vs-vegalite, Vega vs. Vega-Lite>> for more information.
|
||||
* Try changing `mark` from `line` to `point`, `area`, `bar`, `circle`,
|
||||
or `square`. Check out the
|
||||
or `square`. Check out the
|
||||
https://vega.github.io/vega-lite/docs/mark.html#mark-def[Vega-Lite docs] for more information.
|
||||
* Explore other available https://vega.github.io/vega/examples/[Vega] or
|
||||
https://vega.github.io/vega-lite/examples/[Vega-Lite] visualizations.
|
||||
https://vega.github.io/vega-lite/examples/[Vega-Lite] visualizations.
|
||||
*Note*: You might need to make URLs absolute, for example, replace
|
||||
`"url": "data/world-110m.json"` with
|
||||
`"url": "https://vega.github.io/editor/data/world-110m.json"`.
|
||||
`"url": "https://vega.github.io/editor/data/world-110m.json"`.
|
||||
See <<vega-using-vega-and-vegalite-examples, Vega and Vega-Lite examples>>.
|
||||
* For more information on getting started, check out this https://www.elastic.co/blog/getting-started-with-vega-visualizations-in-kibana[blog post].
|
||||
* For more information on getting started, check out this https://www.elastic.co/blog/getting-started-with-vega-visualizations-in-kibana[blog post].
|
||||
|
||||
|
||||
[[vega-vs-vegalite]]
|
||||
=== Vega vs Vega-Lite
|
||||
|
||||
The Vega visualization in {kib} supports both Vega and Vega-Lite. You can use the
|
||||
`schema` value to define which language you would like to use and its minimum
|
||||
The Vega visualization in {kib} supports both Vega and Vega-Lite. You can use the
|
||||
`schema` value to define which language you would like to use and its minimum
|
||||
required version.
|
||||
|
||||
For example:
|
||||
|
||||
For example:
|
||||
|
||||
* Vega-Lite v2: `$schema: https://vega.github.io/schema/vega-lite/v2.json`
|
||||
* Vega v4: `$schema: https://vega.github.io/schema/vega/v4.json`
|
||||
|
||||
|
||||
The `schema` URL is only used for identification, and does not need to be accessible by {kib}.
|
||||
|
||||
Vega-Lite is a simplified version of Vega; it automates some constructions and has
|
||||
much shorter specifications than Vega. Vega-Lite is automatically converted into
|
||||
Vega-Lite is a simplified version of Vega; it automates some constructions and has
|
||||
much shorter specifications than Vega. Vega-Lite is automatically converted into
|
||||
Vega before rendering, but it has some limitations, and there are some visualizations
|
||||
that can be expressed in Vega that cannot be expressed in Vega-Lite. You can learn more
|
||||
in the https://vega.github.io/vega-lite/[Vega-Lite documentation].
|
||||
|
||||
You can use https://vega.github.io/editor/[this editor] to convert Vega-Lite into
|
||||
Vega.
|
||||
Vega.
|
||||
|
||||
When you create a Vega visualization in {kib}, you can edit the `schema`
|
||||
value in the dev tools to the left of the graph to define which of the two expression
|
||||
languages you would like to use (see examples above).
|
||||
When you create a Vega visualization in {kib}, you can edit the `schema`
|
||||
value in the dev tools to the left of the graph to define which of the two expression
|
||||
languages you would like to use.
|
||||
|
||||
|
||||
[[vega-querying-elasticsearch]]
|
||||
|
@ -176,7 +176,7 @@ except that the timerange is shifted back by 10 minutes:
|
|||
----
|
||||
|
||||
The `"%timefilter%"` can also be used to specify a single min or max
|
||||
value. As shown above, the date_histogram's `extended_bounds` can be set
|
||||
value. The date_histogram's `extended_bounds` can be set
|
||||
with two values - min and max. Instead of hardcoding a value, you may
|
||||
use `"min": {"%timefilter%": "min"}`, which will be replaced with the
|
||||
beginning of the current time range. The `shift` and `unit` values are
|
||||
|
@ -234,7 +234,7 @@ the graph must specify `type=map` in the host configuration:
|
|||
// defaults to true, shows +/- buttons to zoom in/out
|
||||
"zoomControl": false,
|
||||
|
||||
// Defaults to 'false', disables mouse wheel zoom. If set to
|
||||
// Defaults to 'false', disables mouse wheel zoom. If set to
|
||||
// 'true', map may zoom unexpectedly while scrolling dashboard
|
||||
"scrollWheelZoom": false,
|
||||
|
||||
|
@ -295,7 +295,7 @@ to your kibana.yml file.
|
|||
=== Useful Links
|
||||
|
||||
==== Vega Editor
|
||||
The https://vega.github.io/editor/[Vega Editor] includes examples for Vega & Vega-Lite, but does not support any
|
||||
The https://vega.github.io/editor/[Vega Editor] includes examples for Vega & Vega-Lite, but does not support any
|
||||
{kib}-specific features like {es} requests and interactive base maps.
|
||||
|
||||
==== Vega-Lite resources
|
||||
|
@ -303,14 +303,14 @@ The https://vega.github.io/editor/[Vega Editor] includes examples for Vega & Veg
|
|||
* https://vega.github.io/vega-lite/docs/[Docs]
|
||||
* https://vega.github.io/vega-lite/examples/[Examples]
|
||||
|
||||
==== Vega resources
|
||||
==== Vega resources
|
||||
* https://vega.github.io/vega/tutorials/[Tutorials]
|
||||
* https://vega.github.io/vega/docs/[Docs]
|
||||
* https://vega.github.io/vega/examples/[Examples]
|
||||
|
||||
==== Elastic blog posts
|
||||
* https://www.elastic.co/blog/getting-started-with-vega-visualizations-in-kibana[Getting Started with Vega Visualizations in Kibana]
|
||||
* https://www.elastic.co/blog/custom-vega-visualizations-in-kibana[Custom Vega Visualizations in Kibana]
|
||||
* https://www.elastic.co/blog/custom-vega-visualizations-in-kibana[Custom Vega Visualizations in Kibana]
|
||||
* https://www.elastic.co/blog/sankey-visualization-with-vega-in-kibana[Sankey Visualization with Vega in Kibana]
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue