Telegraf is a server-based agent for collecting and sending metrics for further processing. It’s a piece of software that you can install anywhere in your infrastructure and it will read metrics from specified sources – typically application logs, events, or data outputs.
The way the logs are shipped to Coralogix from Telegraf is by using the OpenTelemetry output plugin which supports the shipping of Metrics to Coralogix.
Add the output section to the config, the output will look as such:
[[outputs.opentelemetry]] service_address = "<yourclusterURL>:443" insecure_skip_verify = true compression = "gzip" [outputs.opentelemetry.coralogix] private_key = "<private_key>" application = "<application>" subsystem = "<subsystem>"
The fields needed to be filled are:
If you have any questions, feel free to reach out to us 24/7 via our in-app chat!