Update ingest stream settings
Technical Preview
Upserts the ingest settings of an ingest stream definition
[Required authorization] Route required privileges: manage_stream.
Body
ingest
object Required Any of: Hide attributes Show attributes
-
Any of: Hide attribute Show attribute
-
Hide dissect attributes Show dissect attributes object
Hide attribute Show attribute
-
Hide grok attributes Show grok attributes object
Hide attribute Show attribute
-
Hide manual_ingest_pipeline attributes Show manual_ingest_pipeline attributes object
Hide attribute Show attribute
-
Additional properties are NOT allowed.
Hide attribute Show attribute
Hide attribute Show attribute
Hide attribute Show attribute
Hide attribute Show attribute
-
Additional properties are NOT allowed.
-
-
Additional properties are NOT allowed.
Hide wired attributes Show wired attributes object
Hide attributes Show attributes
-
Any of: Hide attribute Show attribute
-
Hide dissect attributes Show dissect attributes object
Hide attribute Show attribute
-
Hide grok attributes Show grok attributes object
Hide attribute Show attribute
-
Hide manual_ingest_pipeline attributes Show manual_ingest_pipeline attributes object
Hide attribute Show attribute
-
Additional properties are NOT allowed.
Hide attribute Show attribute
Hide attribute Show attribute
Hide attribute Show attribute
Hide attribute Show attribute
-
Additional properties are NOT allowed.
-
-
Additional properties are NOT allowed.
PUT
/api/streams/{name}/_ingest
curl \
--request PUT 'https://<KIBANA_URL>/api/streams/{name}/_ingest' \
--header "Authorization: $API_KEY" \
--header "Content-Type: application/json" \
--header "kbn-xsrf: true" \
--data '{"ingest":{"lifecycle":{"dsl":{"data_retention":"string"}},"processing":[{"date":{"description":"string","if":{"field":"string","operator":"exists"},"ignore_failure":true,"field":"string","formats":["string"],"locale":"string","output_format":"string","target_field":"string","timezone":"string"}}],"wired":{"fields":{},"routing":[{"destination":"string","if":{"field":"string","operator":"exists"}}]}}}'