简体   繁体   中英

How to use Alias pattern with ElasticSearch in Grafana?

I using ElascticSearch as Source. On my table i have two metrics and a groupBy, and i would like to change the name of metrics+ groupBy on table: 在此处输入图像描述

But this doesn't work for me. I also checked this: https://github.com/grafana/grafana/issues/4697

Any suggestion?

Use two queries instead of one and define alias per query: 在此处输入图像描述

See also help for alias patterns : 在此处输入图像描述

@jan this is a table so patterns don't work on table.

I solved it from Visualization section: 在此处输入图像描述

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM