Upsert a query to a stream
Technical Preview
Adds a query to a stream. Noop if the query is already present on the stream.
PUT
/api/streams/{name}/queries/{queryId}
curl \
--request PUT 'https://<KIBANA_URL>/api/streams/{name}/queries/{queryId}' \
--header "Authorization: $API_KEY" \
--header "Content-Type: application/json" \
--header "kbn-xsrf: true" \
--data '{"kql":{"query":"string"},"title":"string"}'
Request examples
# Headers
kbn-xsrf: true
# Payload
{
"kql": {
"query": "string"
},
"title": "string"
}