Validate fluentbit config

Validate Fluent-bit configuration.

POSThttps://cloud-api.calyptia.com/v2/validate_fluentbit_config
Body
rawConfig*string
Example: "pipeline:\n inputs:\n - name: dummy\n outputs:\n - name: stdout\n match: \"*\""
configFormatConfigFormat (enum)
Example: "yaml"
classicyamljson
Response

No Content

Request
const response = await fetch('https://cloud-api.calyptia.com/v2/validate_fluentbit_config', {
    method: 'POST',
    headers: {
      "Content-Type": "application/json"
    },
    body: JSON.stringify({
      "rawConfig": "pipeline:\n  inputs:\n    - name: dummy\n  outputs:\n    - name: stdout\n      match: \"*\""
    }),
});
const data = await response.json();