Skip to main content

telegrafGetConfig

GET 

/agent/v1/telegraf/config

With a class token (enrollment token of mode class) the request gets the class default, unless its source address resolves to a member with its own config (agents/telegraf.md, class mode).

Responses​

Rendered TOML with the module heartbeat block.

Response Headers
    ETag
    Last-Modified

    Equals desired_since of the instance (class token: of the member or class default the address resolves to); changes only when the served artifact changes.