{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "#/components/schemas/LogglyPluginConfig", "title": "LogglyPluginConfig", "x-speakeasy-entity": "PluginLoggly", "properties": { "config": { "type": "object", "properties": { "client_errors_severity": { "type": "string", "default": "info", "enum": [ "alert", "crit", "debug", "emerg", "err", "info", "notice", "warning" ] }, "custom_fields_by_lua": { "description": "Lua code as a key-value map", "type": "object", "additionalProperties": { "type": "string" } }, "host": { "description": "A string representing a host name, such as example.com.", "type": "string", "default": "logs-01.loggly.com" }, "key": { "type": "string", "x-encrypted": true, "x-referenceable": true }, "log_level": { "type": "string", "default": "info", "enum": [ "alert", "crit", "debug", "emerg", "err", "info", "notice", "warning" ] }, "port": { "description": "An integer representing a port number between 0 and 65535, inclusive.", "type": "integer", "default": 514, "maximum": 65535, "minimum": 0 }, "server_errors_severity": { "type": "string", "default": "info", "enum": [ "alert", "crit", "debug", "emerg", "err", "info", "notice", "warning" ] }, "successful_severity": { "type": "string", "default": "info", "enum": [ "alert", "crit", "debug", "emerg", "err", "info", "notice", "warning" ] }, "tags": { "type": "array", "items": { "type": "string" }, "default": [ "kong" ] }, "timeout": { "type": "number", "default": 10000 } }, "required": [ "key" ] }, "consumer": { "description": "If set, the plugin will activate only for requests where the specified has been authenticated. (Note that some plugins can not be restricted to consumers this way.). Leave unset for the plugin to activate regardless of the authenticated Consumer.", "type": "object", "additionalProperties": false, "properties": { "id": { "type": "string" } } }, "name": { "const": "loggly" }, "protocols": { "description": "A set of strings representing protocols.", "type": "array", "items": { "description": "A string representing a protocol, such as HTTP or HTTPS.", "enum": [ "grpc", "grpcs", "http", "https", "tcp", "tls", "tls_passthrough", "udp", "ws", "wss" ], "type": "string" }, "format": "set", "default": [ "grpc", "grpcs", "http", "https" ] }, "route": { "description": "If set, the plugin will only activate when receiving requests via the specified route. Leave unset for the plugin to activate regardless of the route being used.", "type": "object", "additionalProperties": false, "properties": { "id": { "type": "string" } } }, "service": { "description": "If set, the plugin will only activate when receiving requests via one of the routes belonging to the specified Service. Leave unset for the plugin to activate regardless of the Service being matched.", "type": "object", "additionalProperties": false, "properties": { "id": { "type": "string" } } } }, "required": [ "config" ] }