Create output
Spaces method and path for this operation:
post /s/{space_id}/api/fleet/outputs
Refer to Spaces for more information.
Responses
-
OK
Hide response attribute Show response attribute object
item
object One of: Hide attributes Show attributes
-
Values are
balanced,custom,throughput,scale, orlatency. -
Value is
elasticsearch.
Hide attributes Show attributes
-
Values are
plaintextorencryption. -
Use topic instead.
-
Value is
kafka.
Hide attributes Show attributes
-
Value is
logstash.
Hide attributes Show attributes
-
Generic Error
POST
/api/fleet/outputs
curl \
--request POST 'https://localhost:5601/api/fleet/outputs' \
--header "Authorization: $API_KEY" \
--header "Content-Type: application/json" \
--data '{"ca_sha256":"string","ca_trusted_fingerprint":"string","config":{},"config_yaml":"string","hosts":["string"],"id":"string","is_default":true,"is_default_monitoring":true,"is_internal":true,"name":"string","preset":"balanced","proxy_id":"string","shipper":{"compression_level":42.0,"disk_queue_compression_enabled":true,"disk_queue_enabled":true,"disk_queue_encryption_enabled":true,"disk_queue_max_size":42.0,"disk_queue_path":"string","loadbalance":true},"ssl":{"certificate":"string","certificate_authorities":["string"],"key":"string"},"type":"elasticsearch"}'