Git Product home page Git Product logo

grafana-logzio-datasource's Introduction

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:

Section Field name Value
Name Custom data source name (This is the Data Source you'll use for your Grafana graphs.)
Type Logz.io
HTTP URL https://api.logz.io/v1/elasticsearch
Custom Headers Key X-API-TOKEN
Value Your Logz.io API token
Elasticsearch details Index name Custom 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.)

grafana-logzio-datasource's People

Contributors

imnotashrimp avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.