{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "$id": "https://www.krakend.io/schema/v2.8/telemetry/gelf.json",
  "title": "GELF",
  "description": "Send structured events in GELF format to your Graylog Cluster.\n\nSee: https://www.krakend.io/docs/logging/graylog-gelf/",
  "type": "object",
  "required": [ "address", "enable_tcp" ],
  "properties": {
    "address": {
      "$id": "#telemetry/gelf/address",
      "title": "Address",
      "description": "The address (including the port) of your Graylog cluster (or any other service that receives GELF inputs). E.g., `myGraylogInstance:12201`\n\nSee: https://www.krakend.io/docs/logging/graylog-gelf/",
      "type": "string"
    },
    "enable_tcp": {
      "$id": "#telemetry/gelf/enable_tcp",
      "title": "Enable TCP",
      "description": "Set to false (recommended) to use UDP, or true to use TCP. TCP performance is worst than UDP under heavy load.\n\nSee: https://www.krakend.io/docs/logging/graylog-gelf/",
      "type": "boolean"
    }
  },
  "patternProperties": {
    "^[@$_#]": {}
  },
  "additionalProperties": false
}
