Config validate

Deprecated

Validate configuration

post

Validates that an already parsed fluentbit or fluentd config is semantically valid. To parse the raw agent config take a look at https://github.com/calyptia/fluent-bit-config-parser.

Authorizations
Path parameters
agentTypestring · enumRequiredPossible values:
Body

Validating configuration request body.

Responses
200
OK
application/json
post
POST /v1/config_validate/{agentType} HTTP/1.1
Host: cloud-api.calyptia.com
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 103

{
  "config": [
    {
      "command": "text",
      "name": "text",
      "optional": {
        "ANY_ADDITIONAL_PROPERTY": "text"
      },
      "id": "text"
    }
  ]
}
200

OK

{
  "errors": {
    "runtime": [
      "text"
    ],
    "input": {
      "ANY_ADDITIONAL_PROPERTY": [
        "text"
      ]
    },
    "output": {
      "ANY_ADDITIONAL_PROPERTY": [
        "text"
      ]
    },
    "filter": {
      "ANY_ADDITIONAL_PROPERTY": [
        "text"
      ]
    }
  }
}