Validates that an already parsed fluentbit config is semantically valid under the V2 error specification To parse the raw agent config take a look at https://github.com/calyptia/fluent-bit-config-parser.
Validating configuration request body.
Validation V2 config response.
POST /v1/config_validate_v2 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": [ { "errors": [ "text" ], "id": "text" } ], "input": { "ANY_ADDITIONAL_PROPERTY": [ { "id": "text", "property": "text", "text": "text", "errors": [ "text" ] } ] }, "output": { "ANY_ADDITIONAL_PROPERTY": [ { "id": "text", "property": "text", "text": "text", "errors": [ "text" ] } ] }, "filter": { "ANY_ADDITIONAL_PROPERTY": [ { "id": "text", "property": "text", "text": "text", "errors": [ "text" ] } ] } } }