Update output
- Base URL
-
https://{kibana_url}
- PUT /api/fleet/outputs/{outputId}
- PUT /s/{space_id}/api/fleet/outputs/{outputId}
Update output by ID.
Required privileges
fleet-settings-all
Path parameters
-
space_idstringoptional -
An identifier for the space. If
space_idis not provided in the URL, the default space is used. Refer to Spaces for more information.
Request body
Any of:
-
shipperobject -
Same fields as
shipperinupdate_output_elasticsearch
-
shipperobject -
Same fields as
shipperinupdate_output_elasticsearch
-
proxy_idstringnullable deprecated -
Kafka outputs do not support proxy configuration. This field is accepted for backwards compatibility but is ignored — it is cleared to null on save and has no effect on the compiled agent policy.
-
shipperobject -
Same fields as
shipperinupdate_output_elasticsearch
Responses
Successful response
-
itemunion oneOfrequired -
One of:
(determined by
type) -
shipperobject -
Same fields as
shipperinupdate_output_elasticsearch -
proxy_idstringnullable deprecated -
Kafka outputs do not support proxy configuration. This field is accepted for backwards compatibility but is ignored — it is cleared to null on save and has no effect on the compiled agent policy.
-
shipperobject -
Same fields as
shipperinupdate_output_elasticsearch
type: remote_elasticsearch
type: kafka
Bad Request
404
application/json
Not Found