-
Notifications
You must be signed in to change notification settings - Fork 8.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into geo_shape_query
- Loading branch information
Showing
1,357 changed files
with
33,496 additions
and
28,457 deletions.
There are no files selected for viewing
Validating CODEOWNERS rules …
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,97 @@ | ||
[role="xpack"] | ||
[[apm-alerts]] | ||
=== Create an alert | ||
|
||
beta::[] | ||
|
||
The APM app is integrated with Kibana's {kibana-ref}/alerting-getting-started.html[alerting and actions] feature. | ||
It provides a set of built-in **actions** and APM specific threshold **alerts** for you to use, | ||
and allows all alerts to be centrally managed from <<management,Kibana Management>>. | ||
|
||
[role="screenshot"] | ||
image::apm/images/apm-alert.png[Create an alert in the APM app] | ||
|
||
There are two different types of threshold alerts: transaction duration, and error rate. | ||
Below, we'll create one of each. | ||
|
||
[float] | ||
[[apm-create-transaction-alert]] | ||
=== Create a transaction duration alert | ||
|
||
This guide creates an alert for the `opbeans-java` service based on the following criteria: | ||
|
||
* Transaction type: `transaction.type:request` | ||
* Average request is above `1500ms` for the last 5 minutes | ||
* Check every 10 minutes, and repeat the alert every 30 minutes | ||
* Send the alert via Slack | ||
|
||
From the APM app, navigate to the `opbeans-java` service and select | ||
**Alerts** > **Create threshold alert** > **Transaction duration**. | ||
|
||
The name of your alert will automatically be set as `Transaction duration | opbeans-java`, | ||
and the alert will be tagged with `apm` and `service.name:opbeans-java`. | ||
Feel free to edit either of these defaults. | ||
|
||
Based on the alert criteria, define the following alert details: | ||
|
||
* **Check every** - `10 minutes` | ||
* **Notify every** - `30 minutes` | ||
* **TYPE** - `request` | ||
* **WHEN** - `avg` | ||
* **IS ABOVE** - `1500ms` | ||
* **FOR THE LAST** - `5 minutes` | ||
|
||
Select an action type. | ||
Multiple action types can be selected, but in this example we want to post to a slack channel. | ||
Select **Slack** > **Create a connector**. | ||
Enter a name for the connector, | ||
and paste the webhook URL. | ||
See Slack's webhook documentation if you need to create one. | ||
|
||
Select **Save**. The alert has been created and is now active! | ||
|
||
[float] | ||
[[apm-create-error-alert]] | ||
=== Create an error rate alert | ||
|
||
This guide creates an alert for the `opbeans-python` service based on the following criteria: | ||
|
||
* Error rate is above 25 for the last minute | ||
* Check every 1 minute, and repeat the alert every 10 minutes | ||
* Send the alert via email to the `opbeans-python` team | ||
|
||
From the APM app, navigate to the `opbeans-python` service and select | ||
**Alerts** > **Create threshold alert** > **Error rate**. | ||
|
||
The name of your alert will automatically be set as `Error rate | opbeans-python`, | ||
and the alert will be tagged with `apm` and `service.name:opbeans-python`. | ||
Feel free to edit either of these defaults. | ||
|
||
Based on the alert criteria, define the following alert details: | ||
|
||
* **Check every** - `1 minute` | ||
* **Notify every** - `10 minutes` | ||
* **IS ABOVE** - `25 errors` | ||
* **FOR THE LAST** - `1 minute` | ||
|
||
Select the **Email** action type and click **Create a connector**. | ||
Fill out the required details: sender, host, port, etc., and click **save**. | ||
|
||
Select **Save**. The alert has been created and is now active! | ||
|
||
[float] | ||
[[apm-alert-manage]] | ||
=== Manage alerts and actions | ||
|
||
From the APM app, select **Alerts** > **View active alerts** to be taken to the Kibana alerts and actions management page. | ||
From this page, you can create, edit, disable, mute, and delete alerts, and create, edit, and disable connectors. | ||
|
||
[float] | ||
[[apm-alert-more-info]] | ||
=== More information | ||
|
||
See {kibana-ref}/alerting-getting-started.html[alerting and actions] for more information. | ||
|
||
NOTE: If you are using an **on-premise** Elastic Stack deployment with security, | ||
TLS must be configured for communication between Elasticsearch and Kibana. | ||
More information is in the alerting {kibana-ref}/alerting-getting-started.html#alerting-setup-prerequisites[prerequisites]. |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
[role="xpack"] | ||
[[painlesslab]] | ||
== Painless Lab | ||
|
||
beta::[] | ||
|
||
The Painless Lab is an interactive code editor that lets you test and | ||
debug {ref}/modules-scripting-painless.html[Painless scripts] in real-time. | ||
You can use the Painless scripting | ||
language to create <<scripted-fields, {kib} scripted fields>>, | ||
process {ref}/docs-reindex.html[reindexed data], define complex | ||
<<watcher-create-advanced-watch, Watcher conditions>>, | ||
and work with data in other contexts. | ||
|
||
To get started, go to *Dev Tools > Painless Lab*. | ||
|
||
image::dev-tools/painlesslab/images/painless-lab.png[Painless Lab] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
13 changes: 13 additions & 0 deletions
13
docs/development/core/public/kibana-plugin-core-public.savedobject.namespaces.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
<!-- Do not edit this file. It is automatically generated by API Documenter. --> | ||
|
||
[Home](./index.md) > [kibana-plugin-core-public](./kibana-plugin-core-public.md) > [SavedObject](./kibana-plugin-core-public.savedobject.md) > [namespaces](./kibana-plugin-core-public.savedobject.namespaces.md) | ||
|
||
## SavedObject.namespaces property | ||
|
||
Namespace(s) that this saved object exists in. This attribute is only used for multi-namespace saved object types. | ||
|
||
<b>Signature:</b> | ||
|
||
```typescript | ||
namespaces?: string[]; | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
13 changes: 13 additions & 0 deletions
13
docs/development/core/server/kibana-plugin-core-server.coresetup.status.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
<!-- Do not edit this file. It is automatically generated by API Documenter. --> | ||
|
||
[Home](./index.md) > [kibana-plugin-core-server](./kibana-plugin-core-server.md) > [CoreSetup](./kibana-plugin-core-server.coresetup.md) > [status](./kibana-plugin-core-server.coresetup.status.md) | ||
|
||
## CoreSetup.status property | ||
|
||
[StatusServiceSetup](./kibana-plugin-core-server.statusservicesetup.md) | ||
|
||
<b>Signature:</b> | ||
|
||
```typescript | ||
status: StatusServiceSetup; | ||
``` |
11 changes: 11 additions & 0 deletions
11
docs/development/core/server/kibana-plugin-core-server.corestatus.elasticsearch.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
<!-- Do not edit this file. It is automatically generated by API Documenter. --> | ||
|
||
[Home](./index.md) > [kibana-plugin-core-server](./kibana-plugin-core-server.md) > [CoreStatus](./kibana-plugin-core-server.corestatus.md) > [elasticsearch](./kibana-plugin-core-server.corestatus.elasticsearch.md) | ||
|
||
## CoreStatus.elasticsearch property | ||
|
||
<b>Signature:</b> | ||
|
||
```typescript | ||
elasticsearch: ServiceStatus; | ||
``` |
21 changes: 21 additions & 0 deletions
21
docs/development/core/server/kibana-plugin-core-server.corestatus.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
<!-- Do not edit this file. It is automatically generated by API Documenter. --> | ||
|
||
[Home](./index.md) > [kibana-plugin-core-server](./kibana-plugin-core-server.md) > [CoreStatus](./kibana-plugin-core-server.corestatus.md) | ||
|
||
## CoreStatus interface | ||
|
||
Status of core services. | ||
|
||
<b>Signature:</b> | ||
|
||
```typescript | ||
export interface CoreStatus | ||
``` | ||
|
||
## Properties | ||
|
||
| Property | Type | Description | | ||
| --- | --- | --- | | ||
| [elasticsearch](./kibana-plugin-core-server.corestatus.elasticsearch.md) | <code>ServiceStatus</code> | | | ||
| [savedObjects](./kibana-plugin-core-server.corestatus.savedobjects.md) | <code>ServiceStatus</code> | | | ||
|
11 changes: 11 additions & 0 deletions
11
docs/development/core/server/kibana-plugin-core-server.corestatus.savedobjects.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
<!-- Do not edit this file. It is automatically generated by API Documenter. --> | ||
|
||
[Home](./index.md) > [kibana-plugin-core-server](./kibana-plugin-core-server.md) > [CoreStatus](./kibana-plugin-core-server.corestatus.md) > [savedObjects](./kibana-plugin-core-server.corestatus.savedobjects.md) | ||
|
||
## CoreStatus.savedObjects property | ||
|
||
<b>Signature:</b> | ||
|
||
```typescript | ||
savedObjects: ServiceStatus; | ||
``` |
11 changes: 11 additions & 0 deletions
11
...e/server/kibana-plugin-core-server.elasticsearchstatusmeta.incompatiblenodes.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
<!-- Do not edit this file. It is automatically generated by API Documenter. --> | ||
|
||
[Home](./index.md) > [kibana-plugin-core-server](./kibana-plugin-core-server.md) > [ElasticsearchStatusMeta](./kibana-plugin-core-server.elasticsearchstatusmeta.md) > [incompatibleNodes](./kibana-plugin-core-server.elasticsearchstatusmeta.incompatiblenodes.md) | ||
|
||
## ElasticsearchStatusMeta.incompatibleNodes property | ||
|
||
<b>Signature:</b> | ||
|
||
```typescript | ||
incompatibleNodes: NodesVersionCompatibility['incompatibleNodes']; | ||
``` |
20 changes: 20 additions & 0 deletions
20
docs/development/core/server/kibana-plugin-core-server.elasticsearchstatusmeta.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
<!-- Do not edit this file. It is automatically generated by API Documenter. --> | ||
|
||
[Home](./index.md) > [kibana-plugin-core-server](./kibana-plugin-core-server.md) > [ElasticsearchStatusMeta](./kibana-plugin-core-server.elasticsearchstatusmeta.md) | ||
|
||
## ElasticsearchStatusMeta interface | ||
|
||
|
||
<b>Signature:</b> | ||
|
||
```typescript | ||
export interface ElasticsearchStatusMeta | ||
``` | ||
|
||
## Properties | ||
|
||
| Property | Type | Description | | ||
| --- | --- | --- | | ||
| [incompatibleNodes](./kibana-plugin-core-server.elasticsearchstatusmeta.incompatiblenodes.md) | <code>NodesVersionCompatibility['incompatibleNodes']</code> | | | ||
| [warningNodes](./kibana-plugin-core-server.elasticsearchstatusmeta.warningnodes.md) | <code>NodesVersionCompatibility['warningNodes']</code> | | | ||
|
11 changes: 11 additions & 0 deletions
11
...t/core/server/kibana-plugin-core-server.elasticsearchstatusmeta.warningnodes.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
<!-- Do not edit this file. It is automatically generated by API Documenter. --> | ||
|
||
[Home](./index.md) > [kibana-plugin-core-server](./kibana-plugin-core-server.md) > [ElasticsearchStatusMeta](./kibana-plugin-core-server.elasticsearchstatusmeta.md) > [warningNodes](./kibana-plugin-core-server.elasticsearchstatusmeta.warningnodes.md) | ||
|
||
## ElasticsearchStatusMeta.warningNodes property | ||
|
||
<b>Signature:</b> | ||
|
||
```typescript | ||
warningNodes: NodesVersionCompatibility['warningNodes']; | ||
``` |
Oops, something went wrong.