mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 17:59:23 -04:00
[DOCS] Edits create rule API (#142921)
This commit is contained in:
parent
4d39919cf3
commit
77742577a1
1 changed files with 4 additions and 2 deletions
|
@ -62,7 +62,8 @@ the URL, the default space is used.
|
||||||
types of alerts. If you don't need this, set this value to `default`.
|
types of alerts. If you don't need this, set this value to `default`.
|
||||||
|
|
||||||
`id`:::
|
`id`:::
|
||||||
(Required, string) The ID of the connector saved object.
|
(Required, string) The ID of the connector saved object, which you can obtain by
|
||||||
|
using <<get-all-connectors-api>>.
|
||||||
|
|
||||||
`params`:::
|
`params`:::
|
||||||
(Required, object) The map to the `params` that the
|
(Required, object) The map to the `params` that the
|
||||||
|
@ -131,7 +132,8 @@ is `onThrottleInterval`.
|
||||||
[[create-rule-api-example]]
|
[[create-rule-api-example]]
|
||||||
=== {api-examples-title}
|
=== {api-examples-title}
|
||||||
|
|
||||||
Create a rule that has actions associated with a server log connector:
|
Create an <<rule-type-index-threshold,index threshold rule>> that has actions
|
||||||
|
associated with a server log connector:
|
||||||
|
|
||||||
[source,sh]
|
[source,sh]
|
||||||
--------------------------------------------------
|
--------------------------------------------------
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue