Link a rule to a stream Technical Preview

PUT /api/streams/{name}/rules/{ruleId}

Links a rule to a stream. Noop if the rule is already linked to the stream.

[Required authorization] Route required privileges: manage_stream.

Headers

  • kbn-xsrf string Required

    A required header to protect against CSRF attacks

Path parameters

  • name string Required
  • ruleId string Required
application/json

Body

object object

Additional properties are NOT allowed.

PUT /api/streams/{name}/rules/{ruleId}
curl \ --request PUT 'https://<KIBANA_URL>/api/streams/{name}/rules/{ruleId}' \ --header "Authorization: $API_KEY" \ --header "Content-Type: application/json" \ --header "kbn-xsrf: true"