Tutorials

Tutorials

Grafana plugin

Coralogix grafana plugin

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

Download Default YAML

Download Logs2Metric YAML

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

  • List all your docker containers
docker ps -a
  • log in to your Grafana container
sudo docker exec -it "Grafana container ID" /bin/bash
  • restart Grafana
docker restart "Grafana container ID"

 

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:

Cluster Index Log2metrics
Europe  

https://coralogix-esapi.coralogix.com:9443/*

 

 

https://coralogix-esapi.coralogix.com:9443/*:*_log_metrics*/

 

India  

https://es-api.app.coralogix.in:9443/*

 

 

https://es-api.app.coralogix.in:9443/*:*_log_metrics*/

 

 

Start solving your production issues faster

Let's talk about how Coralogix can help you

Managed, scaled, and compliant monitoring, built for CI/CD

Get a demo

No credit card required

Get a personalized demo

Jump on a call with one of our experts and get a live personalized demonstration