Configuration

configobjectrequired
Hide Child Parameters
client_errors_severitystring

Allowed values:alertcritdebugemergerrinfonoticewarning

Default:info

custom_fields_by_luaobject

Lua code as a key-value map

* Additional properties are allowed.
hoststring

A string representing a host name, such as example.com.

Default:logs-01.loggly.com

keystringrequired

This field is encrypted.
This field is referenceable.

log_levelstring

Allowed values:alertcritdebugemergerrinfonoticewarning

Default:info

portinteger

An integer representing a port number between 0 and 65535, inclusive.

Default:514

>= 0<= 65535

server_errors_severitystring

Allowed values:alertcritdebugemergerrinfonoticewarning

Default:info

successful_severitystring

Allowed values:alertcritdebugemergerrinfonoticewarning

Default:info

tagsarray[string]

Default:kong

timeoutnumber

Default:10000

consumerobject

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.

* Additional properties are NOT allowed.
Hide Child Parameters
idstring
protocolsarray[string]

A string representing a protocol, such as HTTP or HTTPS.

Allowed values:grpcgrpcshttphttpstcptlstls_passthroughudpwswss

Default:grpc, grpcs, http, https

routeobject

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.

* Additional properties are NOT allowed.
Hide Child Parameters
idstring
serviceobject

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.

* Additional properties are NOT allowed.
Hide Child Parameters
idstring

Did this doc help?

Something wrong?

Help us make these docs great!

Kong Developer docs are open source. If you find these useful and want to make them better, contribute today!