Telegraf source plugin
Telegraf is an open source data collection agent that lets you collect and process metrics from various sources, and then send them to different destinations. It provides a lightweight and efficient solution for collecting and processing metrics, with support for various input sources such as system metrics, network metrics, and application metrics.
You can use the Telegraf source plugin to configure Chronosphere Telemetry Pipeline to collect data from your Telegraf instances.
Configuration parameters
The Telegraf source plugin provides these configuration parameters.
General
Key | Description |
---|---|
Port | TCP port used for listening for incoming messages. |
Advanced
Key | Description |
---|---|
Tag Key | Specify the key name to overwrite a tag. If set, the tag will be overwritten by a value of the key. |
Buffer Max Size | Specify the maximum buffer size in KB to receive a JSON message. |
Buffer Chunk Size | Sets the chunk size for incoming JSON messages. Chunks are stored and managed in the space available by buffer_max_size. |
Successful Response Code | Lets you set successful response codes. Supported values: 200 , 201 , 204 . |
Security and TLS
Name | Key | Description | Default |
---|---|---|---|
TLS | tls | Enable or disable TLS/SSL support. | none |
TLS Certificate Validation | tls.verify | Turn TLS/SSL certificate validation on or off. TLS must be on for this setting to be enabled. | on |
TLS Debug Level | tls.debug | Set TLS debug verbosity level. Accepted values: 0 (No debug), 1 (Error), 2 (State change), 3 (Informational), 4 (Verbose). | 1 |
CA Certificate File Path | tls.ca_file | Absolute path to CA certificate file. | none |
Certificate File Path | tls.crt_file | Absolute path to certificate file. | none |
Private Key File Path | tls.key_file | Absolute path to private key file. | none |
Private Key Path Password | tls.key_passwd | Optional password for tls.key_file file. | none |
TLS SNI Hostname Extension | tls.vhost | Hostname to be used for TLS SNI extension. | none |