mirror of
https://github.com/grafana/grafana.git
synced 2024-11-22 08:56:43 -06:00
Docs: Update ES screenshots (#30598)
* Docs: Update ES screenshots * Update file naming
This commit is contained in:
parent
12a7b342b9
commit
f3e96ca212
@ -49,7 +49,7 @@ http.cors.allow-origin: "*"
|
||||
|
||||
### Index settings
|
||||
|
||||
![Elasticsearch data source details](/img/docs/elasticsearch/elasticsearch_ds_details.png)
|
||||
![Elasticsearch data source details](/img/docs/elasticsearch/elasticsearch-ds-details-7-4.png)
|
||||
|
||||
Here you can specify a default for the `time field` and specify the name of your Elasticsearch index. You can use
|
||||
a time pattern for the index name or a wildcard.
|
||||
@ -100,7 +100,7 @@ Each data link configuration consists of:
|
||||
|
||||
## Metric Query editor
|
||||
|
||||
![Elasticsearch Query Editor](/img/docs/elasticsearch/query_editor.png)
|
||||
![Elasticsearch Query Editor](/img/docs/elasticsearch/query-editor-7-4.png)
|
||||
|
||||
The Elasticsearch query editor allows you to select multiple metrics and group by multiple terms or filters. Use the plus and minus icons to the right to add/remove
|
||||
metrics or group by clauses. Some metrics and group by clauses haves options, click the option text to expand the row to view and edit metric or group by options.
|
||||
@ -119,7 +119,7 @@ You can control the name for time series via the `Alias` input field.
|
||||
|
||||
Some metric aggregations are called Pipeline aggregations, for example, *Moving Average* and *Derivative*. Elasticsearch pipeline metrics require another metric to be based on. Use the eye icon next to the metric to hide metrics from appearing in the graph. This is useful for metrics you only have in the query for use in a pipeline metric.
|
||||
|
||||
![](/img/docs/elasticsearch/pipeline_metrics_editor.png)
|
||||
![Pipeline aggregation editor](/img/docs/elasticsearch/pipeline-aggregation-editor-7-4.png)
|
||||
|
||||
## Templating
|
||||
|
||||
@ -169,7 +169,7 @@ There are two syntaxes:
|
||||
Why two ways? The first syntax is easier to read and write but does not allow you to use a variable in the middle of a word. When the *Multi-value* or *Include all value*
|
||||
options are enabled, Grafana converts the labels from plain text to a lucene compatible condition.
|
||||
|
||||
![](/img/docs/v43/elastic_templating_query.png)
|
||||
![Query with template variables](/img/docs/elasticsearch/elastic-templating-query-7-4.png)
|
||||
|
||||
In the above example, we have a lucene query that filters documents based on the `@hostname` property using a variable named `$hostname`. It is also using
|
||||
a variable in the *Terms* group by field input box. This allows you to use a variable to quickly change how the data is grouped.
|
||||
|
Loading…
Reference in New Issue
Block a user