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.
fluentbit
fluentd
Validating configuration request body.
Validate config response body.
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" } ] }
OK
{ "errors": { "runtime": [ "text" ], "input": { "ANY_ADDITIONAL_PROPERTY": [ "text" ] }, "output": { "ANY_ADDITIONAL_PROPERTY": [ "text" ] }, "filter": { "ANY_ADDITIONAL_PROPERTY": [ "text" ] } } }