POST /api/fleet/outputs

Spaces method and path for this operation:

post /s/{space_id}/api/fleet/outputs

Refer to Spaces for more information.

application/json

Body object Required

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
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"
}'