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
-
shipperobject -
Same fields as
shipperinupdate_output_elasticsearch
-
shipperobject -
Same fields as
shipperinupdate_output_elasticsearch
-
kerberosobjectnullable -
oauth2objectnullable -
expiry_buffernumber · min: 0 · max: 86400 -
How many seconds before a token's expiry the agent requests a new one. It defaults to
300when not set. -
timeoutnumber · min: 0 · max: 86400 -
How long, in seconds, a request to the token endpoint can take before it times out. There is no limit when it is not set.
-
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
-
authunion oneOf -
How the output authenticates with the OTLP endpoint, by sending the credential in a request header. Not accepted for the managed OTLP endpoint. The credential itself is set in
secrets.auth.credential. -
One of:
(determined by
type) -
otlp_exporterunion oneOfrequired -
One of:
(determined by
protocol)
type: auth_header
protocol: grpc
protocol: http/protobuf
Responses
Successful response
-
itemunion oneOfrequired -
One of:
(determined by
type) -
shipperobject -
Same fields as
shipperinoutput_response_elasticsearch -
kerberosobjectnullable -
oauth2objectnullable -
expiry_buffernumber · min: 0 · max: 86400 -
How many seconds before a token's expiry the agent requests a new one. It defaults to
300when not set. -
timeoutnumber · min: 0 · max: 86400 -
How long, in seconds, a request to the token endpoint can take before it times out. There is no limit when it is not set.
-
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
shipperinoutput_response_elasticsearch -
authunion oneOf -
How the output authenticates with the OTLP endpoint, by sending the credential in a request header. Not accepted for the managed OTLP endpoint. The credential itself is set in
secrets.auth.credential. -
One of:
(determined by
type) -
otlp_exporterunion oneOfrequired -
One of:
(determined by
protocol)
type: elasticsearch
type: remote_elasticsearch
type: kafka
type: otlp
type: auth_header
protocol: grpc
protocol: http/protobuf
Bad Request
Not Found