Kong Gateway (OSS)
1.0.x
Maybe you were looking for the Kong Gateway (Enterprise) documentation
instead?
You are browsing documentation for an outdated version. See the
latest documentation here.
kong.node
kong.node
Node-level utilities
kong.node.get_id()
Returns the id used by this node to describe itself.
Returns
string
The v4 UUID used by this node as its id
Usage
1
local id = kong.node.get_id()