Plugins 〉Logz.io


Sign up to receive occasional product news and updates:


Grafana Cloud
Grafana Cloud
  • Grafana, of course
  • 10k series Prometheus metrics
  • 50 GB logs
  • 50 GB traces
  • 2,232 app o11y host hours
  • ...and more
Create free account

No credit card needed, ever.


The Logz.io plugin has been deprecated and is no longer maintained.

Logz.io

  • Overview
  • Installation
  • Related content

Logz.io data source for Grafana

This plugin is a copy of the Elasticsearch datasource with custom headers.

At the time of release, custom headers for http datasources have not been merged to the Grafana project. This is a temporary solution until the custom headers are pulled into Grafana.

Before you start

To complete this procedure, you'll need:

  • Write access to your Grafana server
  • Logz.io API access
To configure Logz.io as a Grafana data source
  1. Fork or clone the grafana-logzio-datasource repository from GitHub.

  2. Copy grafana-logzio-datasource/dist/ to the Grafana server at var/lib/grafana/plugins/<folder_name>/. It doesn't matter what you name <folder_name>.

  3. Restart Grafana.

  4. In Grafana, open your Configuration, and click Add data source.

  5. Enter these settings:

SectionField nameValue
NameCustom data source name (This is the Data Source you'll use for your Grafana graphs.)
TypeLogz.io
HTTPURLhttps://api.logz.io/v1/elasticsearch (US Accounts) or https://api-eu.logz.io/v1/elasticsearch (EU Accounts)
Custom HeadersKeyX-API-TOKEN
ValueYour Logz.io API token
Elasticsearch detailsIndex nameCustom name
Time field name@timestamp

When you're done, click Save & Test. If the test passes, you can now use Logz.io as a data source.

To use Logz.io as a data source, select a Logz.io source from the Data Source list in any Grafana graph. (This is the Custom data source name that you set in step 5.)

Installing Logz.io on Grafana Cloud:

For more information, visit the docs on plugin installation.

Installing on a local Grafana:

For local instances, plugins are installed and updated via a simple CLI command. Plugins are not updated automatically, however you will be notified when updates are available right within your Grafana.

1. Install the

Use the grafana-cli tool to install Logz.io from the commandline:

grafana-cli plugins install 

The plugin will be installed into your grafana plugins directory; the default is /var/lib/grafana/plugins. More information on the cli tool.