Set Node Log Level of All Nodes
Change the log level of all nodes in a cluster.
See the NGINX docs for a list of accepted values.
It’s currently not possible to change the log level of DP and DB-less nodes.
Currently, when a user dynamically changes the log level for the entire cluster, if a new node joins a cluster the new node will run at the previous log level, not at the log level that was previously set dynamically for the entire cluster.
Path Parameters
The ID of your runtime group. This variable is available in the Konnect manager
Example:9524ec7d-36d9-465d-a8c5-83a3c9390458
Log levels are set in Kong’s configuration. Log levels increase in order of their severity
Allowed values:infonoticewarnerrorcrit
Example:warn
Response
200 application/json
Response
OK
A message containing information about the log level
Example:log level changed
Authentication
Path Parameters
Get a Node Log Level of A Node
Retrieve the current log level of a node.
See the NGINX documentation for the list of possible return values.
Query Parameters
Offset from which to return the next set of resources. Use the value of the ‘offset’ field from the response of a list operation as input here to paginate through all the resources
Number of resources to be returned.
Default:100
>= 1<= 1000
A list of tags to filter the list of resources on. Multiple tags can be concatenated using ‘,’ to mean AND or using ‘/’ to mean OR.
Example:tag1,tag2
Path Parameters
The ID of your runtime group. This variable is available in the Konnect manager
Example:9524ec7d-36d9-465d-a8c5-83a3c9390458
Response
200 application/json
Response
OK
A message containing the current log level of the node.
Example:log level: debug
Authentication
Path Parameters
Query Parameters
Set log level of a single node
Change the log level of a node.
See the NGINX documentation for the list of possible return values.
Path Parameters
The ID of your runtime group. This variable is available in the Konnect manager
Example:9524ec7d-36d9-465d-a8c5-83a3c9390458
Log levels are set in Kong’s configuration. Log levels increase in order of their severity
Allowed values:infonoticewarnerrorcrit
Example:warn
Response
200 application/json
Response
OK
A message confirming the log level change
Example:log level changed
Authentication
Path Parameters
Targets
Target routes
List all Targets associated with an Upstream
List all Targets associated with a an Upstream
Query Parameters
Number of resources to be returned.
Default:100
>= 1<= 1000
Offset from which to return the next set of resources. Use the value of the ‘offset’ field from the response of a list operation as input here to paginate through all the resources
A list of tags to filter the list of resources on. Multiple tags can be concatenated using ‘,’ to mean AND or using ‘/’ to mean OR.
Example:tag1,tag2
Path Parameters
ID or name of the related Upstream
The ID of your runtime group. This variable is available in the Konnect manager
Example:9524ec7d-36d9-465d-a8c5-83a3c9390458
Response
200 application/json
Response
A successful response listing Targets
Target
A target is an ip address/hostname with a port that identifies an instance of a backend service. Every upstream can have many targets, and the targets can be dynamically added, modified, or deleted. Changes take effect on the fly. To disable a target, post a new one with weight=0; alternatively, use the DELETE convenience method to accomplish the same. The current target object definition is the one with the latest created_at.
Unix epoch when the resource was created.
Example:1422386534
Unix epoch when the resource was last updated.
Example:1422386534
The unique identifier or the name of the upstream for which to update the target.
Example:173a6cee-90d1-40a7-89cf-0329eca780a6
An optional set of strings associated with the Target for grouping and filtering.
The target address (ip or hostname) and port. If the hostname resolves to an SRV record, the port value will be overridden by the value from the DNS record.
The unique identifier or the name of the upstream for which to update the target.
Show Child Parameters
The weight this target gets within the upstream loadbalancer (0-65535). If the hostname resolves to an SRV record, the weight value will be overridden by the value from the DNS record.
Default:100
Example:100