Config validate v2
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.
Authorizations
Body
Validating configuration request body.
Responses
200
OK
application/json
post
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"
}
]
}
200
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"
]
}
]
}
}
}