grafana/public/app/plugins/datasource/elasticsearch
Giordano Ricci c88af6e221
Elasticsearch: Add generic support for template variables (#32762)
* Elasticsearch: Add generic support for template variables

* format MovingAverage settings as numbers

* Move formatting logic to query builder & forma serial_diff settings as numbers

* modify presence check

* add todo

* minor fixes

* transform string values to numbers

* Move casting logic

* Slightly cleaner implementation

* Add BE tests

* Leverage elastic validation when string doesn't resolve to a numeric value

* move newly introduced test to testify

* add FE query_builder tests

* check error

* Parse values to float instead of int

* Fix tests & ParseFloat bit size
2021-04-26 16:54:23 +01:00
..
components Elasticsearch: Add generic support for template variables (#32762) 2021-04-26 16:54:23 +01:00
configuration Emotion: Upgrades emotion from 10 to 11 and updates all import paths (#32541) 2021-04-01 14:15:23 +02:00
hooks Elasticsearch: Allow omitting field when metric supports inline script (#32839) 2021-04-14 15:18:06 +01:00
img Chore: fix modes for non-executable files (#16864) 2019-05-03 09:51:53 +02:00
partials Elasticsearch: Migrate queryeditor to React (#28033) 2020-12-04 14:29:40 +00:00
specs Elasticsearch: Add generic support for template variables (#32762) 2021-04-26 16:54:23 +01:00
datasource.test.ts Performance: Standardize lodash imports to use destructured members (#33040) 2021-04-21 09:38:00 +02:00
datasource.ts Elasticsearch: Add generic support for template variables (#32762) 2021-04-26 16:54:23 +01:00
elastic_response.ts Performance: Standardize lodash imports to use destructured members (#33040) 2021-04-21 09:38:00 +02:00
index_pattern.ts Elasticsearch: revert to isoWeek when resolving weekly indices (#31709) 2021-03-05 09:28:46 +00:00
language_provider.test.ts Elasticsearch: Fix impossibility to perform non-logs queries after importing queries from loki or prometheus in explore (#31518) 2021-03-02 09:10:41 +00:00
language_provider.ts Elasticsearch: Fix impossibility to perform non-logs queries after importing queries from loki or prometheus in explore (#31518) 2021-03-02 09:10:41 +00:00
module.ts Elasticsearch: Migrate queryeditor to React (#28033) 2020-12-04 14:29:40 +00:00
plugin.json Chore: show grafana labs not project (#23913) 2020-04-26 15:34:56 -07:00
query_builder.ts Elasticsearch: Add generic support for template variables (#32762) 2021-04-26 16:54:23 +01:00
query_def.ts Elasticsearch: Fix impossibility to perform non-logs queries after importing queries from loki or prometheus in explore (#31518) 2021-03-02 09:10:41 +00:00
query_help.md feat: finished work on the interval changes #9161 2017-09-04 13:27:28 +02:00
README.md Docs: Fixed broken links of Datasource doc at Grafana plugin page (#21363) 2020-01-10 12:38:16 +01:00
types.ts Elasticsearch: Fix impossibility to perform non-logs queries after importing queries from loki or prometheus in explore (#31518) 2021-03-02 09:10:41 +00:00
utils.test.ts Elasticsearch: Migrate queryeditor to React (#28033) 2020-12-04 14:29:40 +00:00
utils.ts Elasticsearch: Fix script fields in query editor (#31681) 2021-03-05 12:48:45 +00:00

Elasticsearch Data Source - Native Plugin

Grafana ships with advanced support for Elasticsearch. You can do many types of simple or complex elasticsearch queries to visualize logs or metrics stored in Elasticsearch. You can also annotate your graphs with log events stored in Elasticsearch.

Read more about it here:

https://grafana.com/docs/grafana/latest/features/datasources/elasticsearch/