Update output by ID

View as Markdown
PUT /api/fleet/outputs/{outputId}

Spaces method and path for this operation:

put /s/{space_id}/api/fleet/outputs/{outputId}

Refer to Spaces for more information.

Headers

  • kbn-xsrf string Required

    Kibana's anti Cross-Site Request Forgery token. Can be any string value.

Path parameters

  • outputId string Required
application/json

Body object

One of:

Responses

  • 200 application/json

    OK

    Hide response attribute Show response attribute object
    • item object

      One of:
  • 400 application/json

    Generic Error

    Hide response attributes Show response attributes object
    • error string
    • message string
    • statusCode number
PUT /api/fleet/outputs/{outputId}
curl \
 --request PUT 'https://localhost:5601/api/fleet/outputs/{outputId}' \
 --header "Authorization: $API_KEY" \
 --header "Content-Type: application/json" \
 --header "kbn-xsrf: string" \
 --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"}'