cernops/grafana-timelion-datasource

Name: grafana-timelion-datasource

Owner: CERN Operations

Description: ELK Timelion's data source for Grafana

Forked from: gbrian/grafana-timelion-datasource

Created: 2017-11-22 13:48:31.0

Updated: 2018-04-13 12:07:56.0

Pushed: 2018-04-13 12:08:47.0

Homepage: null

Size: 364

Language: JavaScript

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

grafana-timelion-datasource

ELK Timelion's data source for Grafana

Setup

Set the url for your ES server like: http://server:port/api/timelion (Same server where your Kibana instance is running)

Features
Query

Only query datasource feature is implemented. Multiple queires can be spceified using same metric like: .es(*).label(metric1),.es(q=*,offset=1d).label(metric2) Or defining multiple metrics.

Refer to Timelion's documentation for more details on writting queries: https://github.com/elastic/timelion/blob/master/FUNCTIONS.md

Labeling

Use the label() function to set the name of the metric

Interval

Use the scale_interval() function to specify metric interval. Grafana templating values are allowed

Screenshot

have fun!

Thanks to

Grafana team and @bergquist


This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.