Our next-gen architecture is built to help you make sense of your ever-growing data Watch a 4-min demo video!

Back to All Integrations

Telegraf Telegraf

Last Updated: Aug. 26, 2022

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.

Prerequisites

  • Have Telegraf installed (Offical Doc here)
  • Active Coralogix account with Metric bucket and a working Grafana dashboard for metrics

Configuration

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:

  • private_key- is your Private Key, which you can find in Settings > Send Your Data.
  • application- is your application name, which will be added to your metric attributes.
  • subsystem- is your subsystem, which will be added to your metric attributes.
  • service_address- the cluster endpoint location.
clusterURL
EUotlp-metrics.coralogix.com
INotlp-metrics.coralogix.in
USotlp-metrics.coralogix.us
EU2otlp-metrics.eu2.coralogix.com
SGotlp-metrics.coralogixsg.com

If you have any questions, feel free to reach out to us 24/7 via our in-app chat!

On this page