Create output
Spaces method and path for this operation:
Refer to Spaces for more information.
[Required authorization] Route required privileges: fleet-settings-all.
Body
object
-
At least
1element. -
Default value is
false. -
Default value is
false. -
Values are
balanced,custom,throughput,scale, orlatency. -
Additional properties are NOT allowed.
Hide secrets attribute Show secrets attribute object
-
Additional properties are NOT allowed.
Hide shipper attributes Show shipper attributes object | null
-
Default value is
false.
-
Additional properties are NOT allowed.
-
Value is
elasticsearch.
-
At least
1element. -
Default value is
false. -
Default value is
false. -
Values are
balanced,custom,throughput,scale, orlatency. -
Additional properties are NOT allowed.
Hide secrets attributes Show secrets attributes object
-
Additional properties are NOT allowed.
Hide shipper attributes Show shipper attributes object | null
-
Default value is
false.
-
Additional properties are NOT allowed.
-
Value is
remote_elasticsearch.
-
At least
1element. -
Default value is
false. -
Default value is
false. -
Additional properties are NOT allowed.
Hide secrets attribute Show secrets attribute object
-
Additional properties are NOT allowed.
Hide shipper attributes Show shipper attributes object | null
-
Default value is
false.
-
Additional properties are NOT allowed.
-
Value is
logstash.
-
Values are
none,user_pass,ssl, orkerberos. -
Values are
gzip,snappy,lz4, ornone. -
Additional properties are NOT allowed.
-
At least
1element. -
Default value is
false. -
Default value is
false. -
Values are
random,round_robin, orhash. -
Additional properties are NOT allowed.
-
Values are
1,0, or-1. -
Additional properties are NOT allowed.
-
Additional properties are NOT allowed.
-
Additional properties are NOT allowed.
Hide secrets attributes Show secrets attributes object
-
Additional properties are NOT allowed.
Hide shipper attributes Show shipper attributes object | null
-
Default value is
false.
-
Additional properties are NOT allowed.
-
Value is
kafka.
Responses
-
OK: A successful request.
Hide response attribute Show response attribute object
item
object Required Any of: Hide attributes Show attributes
-
At least
1element. -
Default value is
false. -
Default value is
false. -
Values are
balanced,custom,throughput,scale, orlatency. -
Additional properties are allowed.
Hide secrets attribute Show secrets attribute object
-
Additional properties are allowed.
Hide shipper attributes Show shipper attributes object | null
-
Default value is
false.
-
Additional properties are allowed.
-
Value is
elasticsearch.
Hide attributes Show attributes
-
At least
1element. -
Default value is
false. -
Default value is
false. -
Values are
balanced,custom,throughput,scale, orlatency. -
Additional properties are allowed.
Hide secrets attributes Show secrets attributes object
-
Additional properties are allowed.
Hide shipper attributes Show shipper attributes object | null
-
Default value is
false.
-
Additional properties are allowed.
-
Value is
remote_elasticsearch.
Hide attributes Show attributes
-
At least
1element. -
Default value is
false. -
Default value is
false. -
Additional properties are allowed.
Hide secrets attribute Show secrets attribute object
-
Additional properties are allowed.
Hide shipper attributes Show shipper attributes object | null
-
Default value is
false.
-
Additional properties are allowed.
-
Value is
logstash.
Hide attributes Show attributes
-
Values are
none,user_pass,ssl, orkerberos. -
Values are
gzip,snappy,lz4, ornone. -
Additional properties are allowed.
-
At least
1element. -
Default value is
false. -
Default value is
false. -
Values are
random,round_robin, orhash. -
Additional properties are allowed.
-
Values are
1,0, or-1. -
Additional properties are allowed.
-
Additional properties are allowed.
-
Additional properties are allowed.
Hide secrets attributes Show secrets attributes object
-
Additional properties are allowed.
Hide shipper attributes Show shipper attributes object | null
-
Default value is
false.
-
Additional properties are allowed.
-
Value is
kafka.
-
A bad request.
curl \
--request POST 'https://<KIBANA_URL>/api/fleet/outputs' \
--header "Authorization: $API_KEY" \
--header "Content-Type: application/json" \
--header "kbn-xsrf: true" \
--data '{"allow_edit":["string"],"ca_sha256":"string","ca_trusted_fingerprint":"string","config_yaml":"string","hosts":["https://example.com"],"id":"string","is_default":false,"is_default_monitoring":false,"is_internal":true,"is_preconfigured":true,"name":"string","preset":"balanced","proxy_id":"string","secrets":{"ssl":{"key":{"hash":"string","id":"string"}}},"shipper":{"compression_level":42.0,"disk_queue_compression_enabled":true,"disk_queue_enabled":false,"disk_queue_encryption_enabled":true,"disk_queue_max_size":42.0,"disk_queue_path":"string","loadbalance":true,"max_batch_bytes":42.0,"mem_queue_events":42.0,"queue_flush_timeout":42.0},"ssl":{"certificate":"string","certificate_authorities":["string"],"key":"string","verification_mode":"full"},"type":"elasticsearch","write_to_logs_streams":true}'