Grafana plugin

This tutorial will show you how to integrate Grafana with Coralogix and easily visualize your metric data

Ilya Davidovich avatar
Written by Ilya Davidovich
Updated over a week ago

Define Coralogix as an additional data source to your Grafana for maximum flexibility in metric data visualizations

Add Coralogix as data source to Grafana version 7 and up.

log in to Grafana and click on the gear icon, and click add source

  1. Click to blue button ADD a Source.

  2. Type in the search Elasticsearch.

  3. Click select.

  4. Choose a name to your data source. you can give it any name you like.

  5. In the URL please enter your end point (Choose your endpoint from the table below).

  6. Choose “Skip TLS Verify”

  7. Name the header: “token” and insert to the value your Coralogix Logs API Key

  8. Name the index name “coralogix”, Under Patterns choose: “No Pattern”, time field name: “coralogix.timestamp” and Version “7.0+”

Available endpoints:

Add Coralogix as data source to Grafana version lower than version 7.

  1. Download the Grafana plugin YAML

  2. Add your company name under the “name key”

  3. Add your Coralogix Logs API Key (Which you can find under Settings –> Account –> API Access)

  4. Copy the file to your data source provisioning folder in your Grafana server (default: /etc/grafana/provisioning/datasources)

  5. Restart Grafana

Useful commands in case you have Grafana installed on docker container.

  • List all your docker containers

docker ps -aCopy
  • log in to your Grafana container

sudo docker exec -it "Grafana container ID" /bin/bashCopy
  • restart Grafana

docker restart "Grafana container ID"Copy

We recommend checking out the following documentation for writing queries:

Did this answer your question?