Skip to content

Commit

Permalink
Enable alerting and actions plugin by default
Browse files Browse the repository at this point in the history
  • Loading branch information
mikecote committed Nov 21, 2019
1 parent db401e4 commit dd77114
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 9 deletions.
7 changes: 3 additions & 4 deletions x-pack/legacy/plugins/actions/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,9 @@ action types.

## Usage

1. Enable the actions plugin in the `kibana.yml` by setting `xpack.actions.enabled: true`.
2. Develop and register an action type (see action types -> example).
3. Create an action by using the RESTful API (see actions -> create action).
4. Use alerts to execute actions or execute manually (see firing actions).
1. Develop and register an action type (see action types -> example).
2. Create an action by using the RESTful API (see actions -> create action).
3. Use alerts to execute actions or execute manually (see firing actions).

## Kibana Actions Configuration
Implemented under the [Actions Config](./server/actions_config.ts).
Expand Down
2 changes: 1 addition & 1 deletion x-pack/legacy/plugins/actions/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ export function actions(kibana: any) {
config(Joi: Root) {
return Joi.object()
.keys({
enabled: Joi.boolean().default(false),
enabled: Joi.boolean().default(true),
whitelistedHosts: Joi.array()
.items(
Joi.string()
Expand Down
5 changes: 2 additions & 3 deletions x-pack/legacy/plugins/alerting/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,8 @@ A Kibana alert detects a condition and executes one or more actions when that co

## Usage

1. Enable the alerting plugin in the `kibana.yml` by setting `xpack.alerting.enabled: true`.
2. Develop and register an alert type (see alert types -> example).
3. Create an alert using the RESTful API (see alerts -> create).
1. Develop and register an alert type (see alert types -> example).
2. Create an alert using the RESTful API (see alerts -> create).

## Limitations

Expand Down
2 changes: 1 addition & 1 deletion x-pack/legacy/plugins/alerting/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ export function alerting(kibana: any) {
config(Joi: Root) {
return Joi.object()
.keys({
enabled: Joi.boolean().default(false),
enabled: Joi.boolean().default(true),
})
.default();
},
Expand Down

0 comments on commit dd77114

Please sign in to comment.