Skip to content

Commit f09d67e

Browse files
committed
Merge branch 'master' of github.com:elastic/kibana into dashboard/visEditRedirect
2 parents 3e5d9dc + 3ba268d commit f09d67e

File tree

455 files changed

+11231
-2837
lines changed

Some content is hidden

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

455 files changed

+11231
-2837
lines changed

.backportrc.json

Lines changed: 27 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,30 @@
11
{
22
"upstream": "elastic/kibana",
3-
"branches": [{ "name": "7.x", "checked": true }, "7.7", "7.6", "7.5", "7.4", "7.3", "7.2", "7.1", "7.0", "6.8", "6.7", "6.6", "6.5", "6.4", "6.3", "6.2", "6.1", "6.0", "5.6"],
4-
"labels": ["backport"]
3+
"targetBranchChoices": [
4+
{ "name": "master", "checked": true },
5+
{ "name": "7.x", "checked": true },
6+
"7.7",
7+
"7.6",
8+
"7.5",
9+
"7.4",
10+
"7.3",
11+
"7.2",
12+
"7.1",
13+
"7.0",
14+
"6.8",
15+
"6.7",
16+
"6.6",
17+
"6.5",
18+
"6.4",
19+
"6.3",
20+
"6.2",
21+
"6.1",
22+
"6.0",
23+
"5.6"
24+
],
25+
"targetPRLabels": ["backport"],
26+
"branchLabelMapping": {
27+
"^v7.8.0$": "7.x",
28+
"^v(\\d+).(\\d+).\\d+$": "$1.$2"
29+
}
530
}

.github/CODEOWNERS

Lines changed: 12 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
# For more info, see https://help.github.com/articles/about-codeowners/
44

55
# App
6+
/x-pack/plugins/dashboard_enhanced/ @elastic/kibana-app
67
/x-pack/plugins/lens/ @elastic/kibana-app
78
/x-pack/plugins/graph/ @elastic/kibana-app
89
/src/legacy/server/url_shortening/ @elastic/kibana-app
@@ -11,18 +12,21 @@
1112
/src/legacy/core_plugins/kibana/public/discover/ @elastic/kibana-app
1213
/src/legacy/core_plugins/kibana/public/local_application_service/ @elastic/kibana-app
1314
/src/legacy/core_plugins/kibana/public/dev_tools/ @elastic/kibana-app
14-
/src/plugins/vis_type_vislib/ @elastic/kibana-app
15-
/src/plugins/vis_type_xy/ @elastic/kibana-app
16-
/src/plugins/vis_type_table/ @elastic/kibana-app
17-
/src/plugins/kibana_legacy/ @elastic/kibana-app
18-
/src/plugins/vis_type_timelion/ @elastic/kibana-app
1915
/src/plugins/dashboard/ @elastic/kibana-app
2016
/src/plugins/discover/ @elastic/kibana-app
2117
/src/plugins/input_control_vis/ @elastic/kibana-app
22-
/src/plugins/visualize/ @elastic/kibana-app
23-
/src/plugins/vis_type_timeseries/ @elastic/kibana-app
24-
/src/plugins/vis_type_metric/ @elastic/kibana-app
18+
/src/plugins/kibana_legacy/ @elastic/kibana-app
19+
/src/plugins/vis_default_editor/ @elastic/kibana-app
2520
/src/plugins/vis_type_markdown/ @elastic/kibana-app
21+
/src/plugins/vis_type_metric/ @elastic/kibana-app
22+
/src/plugins/vis_type_table/ @elastic/kibana-app
23+
/src/plugins/vis_type_tagcloud/ @elastic/kibana-app
24+
/src/plugins/vis_type_timelion/ @elastic/kibana-app
25+
/src/plugins/vis_type_timeseries/ @elastic/kibana-app
26+
/src/plugins/vis_type_vega/ @elastic/kibana-app
27+
/src/plugins/vis_type_vislib/ @elastic/kibana-app
28+
/src/plugins/vis_type_xy/ @elastic/kibana-app
29+
/src/plugins/visualize/ @elastic/kibana-app
2630

2731
# Core UI
2832
# Exclude tutorials folder for now because they are not owned by Kibana app and most will move out soon

.i18nrc.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
"data": "src/plugins/data",
99
"embeddableApi": "src/plugins/embeddable",
1010
"embeddableExamples": "examples/embeddable_examples",
11+
"uiActionsExamples": "examples/ui_action_examples",
1112
"share": "src/plugins/share",
1213
"home": "src/plugins/home",
1314
"charts": "src/plugins/charts",

docs/development/plugins/data/public/kibana-plugin-plugins-data-public.esfilters.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@ esFilters: {
4949
generateFilters: typeof generateFilters;
5050
onlyDisabledFiltersChanged: (newFilters?: import("../common").Filter[] | undefined, oldFilters?: import("../common").Filter[] | undefined) => boolean;
5151
changeTimeFilter: typeof changeTimeFilter;
52+
convertRangeFilterToTimeRangeString: typeof convertRangeFilterToTimeRangeString;
5253
mapAndFlattenFilters: (filters: import("../common").Filter[]) => import("../common").Filter[];
5354
extractTimeFilter: typeof extractTimeFilter;
5455
}
31.8 KB
Loading

docs/logs/images/alert-flyout.png

167 KB
Loading

docs/logs/index.asciidoc

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ In this case, you will only see the logs for the selected component.
1717
* <<xpack-logs-using>>
1818
* <<xpack-logs-configuring>>
1919
* <<xpack-logs-analysis>>
20+
* <<xpack-logs-alerting>>
2021

2122
[role="screenshot"]
2223
image::logs/images/logs-console.png[Log Console in Kibana]
@@ -30,3 +31,5 @@ include::using.asciidoc[]
3031
include::configuring.asciidoc[]
3132

3233
include::log-rate.asciidoc[]
34+
35+
include::logs-alerting.asciidoc[]

docs/logs/logs-alerting.asciidoc

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
[role="xpack"]
2+
[[xpack-logs-alerting]]
3+
== Logs alerting
4+
5+
[float]
6+
=== Overview
7+
8+
To use the alerting functionality you need to {kibana-ref}/alerting-getting-started.html#alerting-setup-prerequisites[set up alerting].
9+
10+
You can then select the *Create alert* option, from the *Alerts* actions dropdown.
11+
12+
[role="screenshot"]
13+
image::logs/images/alert-actions-menu.png[Screenshot showing alerts menu]
14+
15+
Within the alert flyout you can configure your logs alert:
16+
17+
[role="screenshot"]
18+
image::logs/images/alert-flyout.png[Screenshot showing alerts flyout]
19+
20+
[float]
21+
=== Fields and comparators
22+
23+
The comparators available for conditions depend on the chosen field. The combinations available are:
24+
25+
- Numeric fields: *more than*, *more than or equals*, *less than*, *less than or equals*, *equals*, and *does not equal*.
26+
- Aggregatable fields: *is* and *is not*.
27+
- Non-aggregatable fields: *matches*, *does not match*, *matches phrase*, *does not match phrase*.

docs/settings/alert-action-settings.asciidoc

Lines changed: 24 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<titleabbrev>Alerting and action settings</titleabbrev>
66
++++
77

8-
Alerts and actions are enabled by default in {kib}, but require you configure the following in order to use them:
8+
Alerts and actions are enabled by default in {kib}, but require you configure the following in order to use them:
99

1010
. <<using-kibana-with-security,Set up {kib} to work with {stack} {security-features}>>.
1111
. <<configuring-tls-kib-es,Set up TLS encryption between {kib} and {es}>>.
@@ -18,27 +18,36 @@ You can configure the following settings in the `kibana.yml` file.
1818
[[general-alert-action-settings]]
1919
==== General settings
2020

21-
`xpack.encryptedSavedObjects.encryptionKey`::
21+
[cols="2*<"]
22+
|===
2223

23-
A string of 32 or more characters used to encrypt sensitive properties on alerts and actions before they're stored in {es}. Third party credentials &mdash; such as the username and password used to connect to an SMTP service &mdash; are an example of encrypted properties.
24-
+
25-
If not set, {kib} will generate a random key on startup, but all alert and action functions will be blocked. Generated keys are not allowed for alerts and actions because when a new key is generated on restart, existing encrypted data becomes inaccessible. For the same reason, alerts and actions in high-availability deployments of {kib} will behave unexpectedly if the key isn't the same on all instances of {kib}.
26-
+
27-
Although the key can be specified in clear text in `kibana.yml`, it's recommended to store this key securely in the <<secure-settings,{kib} Keystore>>.
24+
| `xpack.encryptedSavedObjects.encryptionKey`
25+
| A string of 32 or more characters used to encrypt sensitive properties on alerts and actions before they're stored in {es}. Third party credentials &mdash; such as the username and password used to connect to an SMTP service &mdash; are an example of encrypted properties. +
26+
+
27+
If not set, {kib} will generate a random key on startup, but all alert and action functions will be blocked. Generated keys are not allowed for alerts and actions because when a new key is generated on restart, existing encrypted data becomes inaccessible. For the same reason, alerts and actions in high-availability deployments of {kib} will behave unexpectedly if the key isn't the same on all instances of {kib}. +
28+
+
29+
Although the key can be specified in clear text in `kibana.yml`, it's recommended to store this key securely in the <<secure-settings,{kib} Keystore>>.
30+
31+
|===
2832

2933
[float]
3034
[[action-settings]]
3135
==== Action settings
3236

33-
`xpack.actions.whitelistedHosts`::
34-
A list of hostnames that {kib} is allowed to connect to when built-in actions are triggered. It defaults to `[*]`, allowing any host, but keep in mind the potential for SSRF attacks when hosts are not explicitly whitelisted. An empty list `[]` can be used to block built-in actions from making any external connections.
35-
+
36-
Note that hosts associated with built-in actions, such as Slack and PagerDuty, are not automatically whitelisted. If you are not using the default `[*]` setting, you must ensure that the corresponding endpoints are whitelisted as well.
37+
[cols="2*<"]
38+
|===
39+
40+
| `xpack.actions.whitelistedHosts`
41+
| A list of hostnames that {kib} is allowed to connect to when built-in actions are triggered. It defaults to `[*]`, allowing any host, but keep in mind the potential for SSRF attacks when hosts are not explicitly whitelisted. An empty list `[]` can be used to block built-in actions from making any external connections. +
42+
+
43+
Note that hosts associated with built-in actions, such as Slack and PagerDuty, are not automatically whitelisted. If you are not using the default `[*]` setting, you must ensure that the corresponding endpoints are whitelisted as well.
44+
45+
| `xpack.actions.enabledActionTypes`
46+
| A list of action types that are enabled. It defaults to `[*]`, enabling all types. The names for built-in {kib} action types are prefixed with a `.` and include: `.server-log`, `.slack`, `.email`, `.index`, `.pagerduty`, and `.webhook`. An empty list `[]` will disable all action types. +
47+
+
48+
Disabled action types will not appear as an option when creating new connectors, but existing connectors and actions of that type will remain in {kib} and will not function.
3749

38-
`xpack.actions.enabledActionTypes`::
39-
A list of action types that are enabled. It defaults to `[*]`, enabling all types. The names for built-in {kib} action types are prefixed with a `.` and include: `.server-log`, `.slack`, `.email`, `.index`, `.pagerduty`, and `.webhook`. An empty list `[]` will disable all action types.
40-
+
41-
Disabled action types will not appear as an option when creating new connectors, but existing connectors and actions of that type will remain in {kib} and will not function.
50+
|===
4251

4352
[float]
4453
[[alert-settings]]

docs/settings/apm-settings.asciidoc

Lines changed: 27 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -38,27 +38,42 @@ If you'd like to change any of the default values,
3838
copy and paste the relevant settings into your `kibana.yml` configuration file.
3939
Changing these settings may disable features of the APM App.
4040

41-
xpack.apm.enabled:: Set to `false` to disable the APM app. Defaults to `true`.
41+
[cols="2*<"]
42+
|===
43+
| `xpack.apm.enabled`
44+
| Set to `false` to disable the APM app. Defaults to `true`.
4245

43-
xpack.apm.ui.enabled:: Set to `false` to hide the APM app from the menu. Defaults to `true`.
46+
| `xpack.apm.ui.enabled`
47+
| Set to `false` to hide the APM app from the menu. Defaults to `true`.
4448

45-
xpack.apm.ui.transactionGroupBucketSize:: Number of top transaction groups displayed in the APM app. Defaults to `100`.
49+
| `xpack.apm.ui.transactionGroupBucketSize`
50+
| Number of top transaction groups displayed in the APM app. Defaults to `100`.
4651

47-
xpack.apm.ui.maxTraceItems:: Maximum number of child items displayed when viewing trace details. Defaults to `1000`.
52+
| `xpack.apm.ui.maxTraceItems`
53+
| Maximum number of child items displayed when viewing trace details. Defaults to `1000`.
4854

49-
apm_oss.indexPattern:: The index pattern used for integrations with Machine Learning and Query Bar.
50-
It must match all apm indices. Defaults to `apm-*`.
55+
| `apm_oss.indexPattern`
56+
| The index pattern used for integrations with Machine Learning and Query Bar.
57+
It must match all apm indices. Defaults to `apm-*`.
5158

52-
apm_oss.errorIndices:: Matcher for all {apm-server-ref}/error-indices.html[error indices]. Defaults to `apm-*`.
59+
| `apm_oss.errorIndices`
60+
| Matcher for all {apm-server-ref}/error-indices.html[error indices]. Defaults to `apm-*`.
5361

54-
apm_oss.onboardingIndices:: Matcher for all onboarding indices. Defaults to `apm-*`.
62+
| `apm_oss.onboardingIndices`
63+
| Matcher for all onboarding indices. Defaults to `apm-*`.
5564

56-
apm_oss.spanIndices:: Matcher for all {apm-server-ref}/span-indices.html[span indices]. Defaults to `apm-*`.
65+
| `apm_oss.spanIndices`
66+
| Matcher for all {apm-server-ref}/span-indices.html[span indices]. Defaults to `apm-*`.
5767

58-
apm_oss.transactionIndices:: Matcher for all {apm-server-ref}/transaction-indices.html[transaction indices]. Defaults to `apm-*`.
68+
| `apm_oss.transactionIndices`
69+
| Matcher for all {apm-server-ref}/transaction-indices.html[transaction indices]. Defaults to `apm-*`.
5970

60-
apm_oss.metricsIndices:: Matcher for all {apm-server-ref}/metricset-indices.html[metrics indices]. Defaults to `apm-*`.
71+
| `apm_oss.metricsIndices`
72+
| Matcher for all {apm-server-ref}/metricset-indices.html[metrics indices]. Defaults to `apm-*`.
6173

62-
apm_oss.sourcemapIndices:: Matcher for all {apm-server-ref}/sourcemap-indices.html[source map indices]. Defaults to `apm-*`.
74+
| `apm_oss.sourcemapIndices`
75+
| Matcher for all {apm-server-ref}/sourcemap-indices.html[source map indices]. Defaults to `apm-*`.
76+
77+
|===
6378

6479
// end::general-apm-settings[]

0 commit comments

Comments
 (0)