Skip to content

Commit 0104cb6

Browse files
committed
Merge branch 'alerts/stack-alerts-public' of github.com:gmmorris/kibana into alerts/stack-alerts-public
* 'alerts/stack-alerts-public' of github.com:gmmorris/kibana: [Security Solution] Fix DNS Network table query (#82778) [Workplace Search] Consolidate groups routes (#83015) Adds cloud links to user menu (#82803) [Security Solution][Detections] - follow up cleanup on auto refresh rules (#83023) [App Search] Added the log retention panel to the Settings page (#82982) [Maps] show icon when layer is filtered by time and allow layers to ignore global time range (#83006) [DOCS] Consolidates drilldown pages (#82081) [Maps] add on-prem EMS config (#82525) migrate i18n mixin to KP (#81799) [bundle optimization] fix imports of react-use lib (#82847) [Discover] Add metric on adding filter (#82961) [Lens] Performance refactoring for indexpattern fast lookup and Operation support matrix computation (#82829) skip flaky suite (#82804) Fix SO query for searching across spaces (#83025) renaming built-in alerts to Stack Alerts (#82873) [TSVB] Disable using top_hits in pipeline aggregations (#82278) [Visualizations] Remove kui usage (#82810) [Visualizations] Make the icon buttons labels more descriptive (#82585) [Lens] Do not reset formatting when switching between custom ranges and auto histogram (#82694) :
2 parents 2f616f1 + a7f37a9 commit 0104cb6

252 files changed

Lines changed: 4535 additions & 1966 deletions

File tree

Some content is hidden

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

.eslintrc.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -640,6 +640,10 @@ module.exports = {
640640
name: 'lodash/fp/assocPath',
641641
message: 'Please use @elastic/safer-lodash-set instead',
642642
},
643+
{
644+
name: 'react-use',
645+
message: 'Please use react-use/lib/{method} instead.',
646+
},
643647
],
644648
},
645649
],
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-core-server](./kibana-plugin-core-server.md) &gt; [CoreSetup](./kibana-plugin-core-server.coresetup.md) &gt; [i18n](./kibana-plugin-core-server.coresetup.i18n.md)
4+
5+
## CoreSetup.i18n property
6+
7+
[I18nServiceSetup](./kibana-plugin-core-server.i18nservicesetup.md)
8+
9+
<b>Signature:</b>
10+
11+
```typescript
12+
i18n: I18nServiceSetup;
13+
```

docs/development/core/server/kibana-plugin-core-server.coresetup.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ export interface CoreSetup<TPluginsStart extends object = object, TStart = unkno
2121
| [elasticsearch](./kibana-plugin-core-server.coresetup.elasticsearch.md) | <code>ElasticsearchServiceSetup</code> | [ElasticsearchServiceSetup](./kibana-plugin-core-server.elasticsearchservicesetup.md) |
2222
| [getStartServices](./kibana-plugin-core-server.coresetup.getstartservices.md) | <code>StartServicesAccessor&lt;TPluginsStart, TStart&gt;</code> | [StartServicesAccessor](./kibana-plugin-core-server.startservicesaccessor.md) |
2323
| [http](./kibana-plugin-core-server.coresetup.http.md) | <code>HttpServiceSetup &amp; {</code><br/><code> resources: HttpResources;</code><br/><code> }</code> | [HttpServiceSetup](./kibana-plugin-core-server.httpservicesetup.md) |
24+
| [i18n](./kibana-plugin-core-server.coresetup.i18n.md) | <code>I18nServiceSetup</code> | [I18nServiceSetup](./kibana-plugin-core-server.i18nservicesetup.md) |
2425
| [logging](./kibana-plugin-core-server.coresetup.logging.md) | <code>LoggingServiceSetup</code> | [LoggingServiceSetup](./kibana-plugin-core-server.loggingservicesetup.md) |
2526
| [metrics](./kibana-plugin-core-server.coresetup.metrics.md) | <code>MetricsServiceSetup</code> | [MetricsServiceSetup](./kibana-plugin-core-server.metricsservicesetup.md) |
2627
| [savedObjects](./kibana-plugin-core-server.coresetup.savedobjects.md) | <code>SavedObjectsServiceSetup</code> | [SavedObjectsServiceSetup](./kibana-plugin-core-server.savedobjectsservicesetup.md) |
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
2+
3+
[Home](./index.md) &gt; [kibana-plugin-core-server](./kibana-plugin-core-server.md) &gt; [I18nServiceSetup](./kibana-plugin-core-server.i18nservicesetup.md) &gt; [getLocale](./kibana-plugin-core-server.i18nservicesetup.getlocale.md)
4+
5+
## I18nServiceSetup.getLocale() method
6+
7+
Return the locale currently in use.
8+
9+
<b>Signature:</b>
10+
11+
```typescript
12+
getLocale(): string;
13+
```
14+
<b>Returns:</b>
15+
16+
`string`
17+
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
2+
3+
[Home](./index.md) &gt; [kibana-plugin-core-server](./kibana-plugin-core-server.md) &gt; [I18nServiceSetup](./kibana-plugin-core-server.i18nservicesetup.md) &gt; [getTranslationFiles](./kibana-plugin-core-server.i18nservicesetup.gettranslationfiles.md)
4+
5+
## I18nServiceSetup.getTranslationFiles() method
6+
7+
Return the absolute paths to translation files currently in use.
8+
9+
<b>Signature:</b>
10+
11+
```typescript
12+
getTranslationFiles(): string[];
13+
```
14+
<b>Returns:</b>
15+
16+
`string[]`
17+
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
2+
3+
[Home](./index.md) &gt; [kibana-plugin-core-server](./kibana-plugin-core-server.md) &gt; [I18nServiceSetup](./kibana-plugin-core-server.i18nservicesetup.md)
4+
5+
## I18nServiceSetup interface
6+
7+
8+
<b>Signature:</b>
9+
10+
```typescript
11+
export interface I18nServiceSetup
12+
```
13+
14+
## Methods
15+
16+
| Method | Description |
17+
| --- | --- |
18+
| [getLocale()](./kibana-plugin-core-server.i18nservicesetup.getlocale.md) | Return the locale currently in use. |
19+
| [getTranslationFiles()](./kibana-plugin-core-server.i18nservicesetup.gettranslationfiles.md) | Return the absolute paths to translation files currently in use. |
20+

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,7 @@ The plugin integrates with the core system via lifecycle events: `setup`<!-- -->
8989
| [HttpServerInfo](./kibana-plugin-core-server.httpserverinfo.md) | |
9090
| [HttpServiceSetup](./kibana-plugin-core-server.httpservicesetup.md) | Kibana HTTP Service provides own abstraction for work with HTTP stack. Plugins don't have direct access to <code>hapi</code> server and its primitives anymore. Moreover, plugins shouldn't rely on the fact that HTTP Service uses one or another library under the hood. This gives the platform flexibility to upgrade or changing our internal HTTP stack without breaking plugins. If the HTTP Service lacks functionality you need, we are happy to discuss and support your needs. |
9191
| [HttpServiceStart](./kibana-plugin-core-server.httpservicestart.md) | |
92+
| [I18nServiceSetup](./kibana-plugin-core-server.i18nservicesetup.md) | |
9293
| [IClusterClient](./kibana-plugin-core-server.iclusterclient.md) | Represents an Elasticsearch cluster API client created by the platform. It allows to call API on behalf of the internal Kibana user and the actual user that is derived from the request headers (via <code>asScoped(...)</code>). |
9394
| [IContextContainer](./kibana-plugin-core-server.icontextcontainer.md) | An object that handles registration of context providers and configuring handlers with context. |
9495
| [ICspConfig](./kibana-plugin-core-server.icspconfig.md) | CSP configuration for use in Kibana. |

docs/glossary.asciidoc

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -330,6 +330,11 @@ See
330330
{kibana-ref}/xpack-spaces.html[Spaces].
331331
// end::space-def[]
332332

333+
[[glossary-stack-alerts]] stack alerts ::
334+
// tag::stack-alert-def[]
335+
The general purpose alert types {kib} provides out of the box. Index threshold and geo alerts are currently the two stack alert types.
336+
// end::stack-alert-def[]
337+
333338

334339
[float]
335340
[[t_glos]]

docs/user/alerting/alert-types.asciidoc

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,13 @@
22
[[alert-types]]
33
== Alert types
44

5-
{kib} supplies alerts types in two ways: some are built into {kib}, while domain-specific alert types are registered by {kib} apps such as <<xpack-apm,*APM*>>, <<metrics-app,*Metrics*>>, and <<uptime-app,*Uptime*>>.
5+
{kib} supplies alert types in two ways: some are built into {kib} (these are known as stack alerts), while domain-specific alert types are registered by {kib} apps such as <<xpack-apm,*APM*>>, <<metrics-app,*Metrics*>>, and <<uptime-app,*Uptime*>>.
66

7-
This section covers built-in alert types. For domain-specific alert types, refer to the documentation for that app.
7+
This section covers stack alerts. For domain-specific alert types, refer to the documentation for that app.
8+
Users will need `all` access to the *Stack Alerts* feature to be able to create and edit any of the alerts listed below.
9+
See <<kibana-feature-privileges, feature privileges>> for more information on configuring roles that provide access to this feature.
810

9-
Currently {kib} provides one built-in alert type: the <<alert-type-index-threshold>> type.
11+
Currently {kib} provides one stack alert: the <<alert-type-index-threshold>> type.
1012

1113
[float]
1214
[[alert-type-index-threshold]]

docs/user/alerting/alerting-getting-started.asciidoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ beta[]
66

77
--
88

9-
Alerting allows you to detect complex conditions within different {kib} apps and trigger actions when those conditions are met. Alerting is integrated with <<xpack-apm,*APM*>>, <<metrics-app,*Metrics*>>, <<xpack-siem,*Security*>>, <<uptime-app,*Uptime*>>, can be centrally managed from the <<management,*Management*>> UI, and provides a set of built-in <<action-types, actions>> and <<alert-types, alerts>> for you to use.
9+
Alerting allows you to detect complex conditions within different {kib} apps and trigger actions when those conditions are met. Alerting is integrated with <<xpack-apm,*APM*>>, <<metrics-app,*Metrics*>>, <<xpack-siem,*Security*>>, <<uptime-app,*Uptime*>>, can be centrally managed from the <<management,*Management*>> UI, and provides a set of built-in <<action-types, actions>> and <<alert-types, alerts>> (known as stack alerts) for you to use.
1010

1111
image::images/alerting-overview.png[Alerts and actions UI]
1212

0 commit comments

Comments
 (0)