Skip to content

Commit 5c0812a

Browse files
committed
Merge pull request grafana#3636 from henridf/docs-es-filter-in-template
Docs: add example with filter in ES template
2 parents 09b8401 + 5af3fe9 commit 5c0812a

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

docs/sources/datasources/elasticsearch.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,11 @@ The Elasticsearch datasource supports two types of queries you can use to fill t
7777
{"find": "fields", "type": "string"}
7878
```
7979

80+
### Fields filtered by type, with filter
81+
```json
82+
{"find": "fields", "type": "string", "query": <lucene query>}
83+
```
84+
8085
### Multi format / All format
8186
Use lucene format.
8287

0 commit comments

Comments
 (0)