Can we fetch date field in metric in kibana visualization. ? I tried but i failed, is there any alternative?

I need date field and string filed in metric format. Currently Metric field it is working only for numbers and aggregation functionws

What do you mean by metric format? Could you provide an example of your ES mapping and a sample document as well as a screenshot of what you're seeing in Kibana vs what you expect?


like this ..is there any other way for adding DATE and String field also. Currently this Metric facility is available is only for numbers.

For dates, you can add them to the Metric widget, but you have to apply an aggregation, such as "min".

For strings, you can use the Markdown widget to display arbitrary text, or the data table, if you want to display string fields, but you'd need to again apply an aggregation to select top values, for instance.

What's your use case?

thanks .

but i want this for string field also. I know Markdown Widget. but in Markdown Widget we can not fetch data from index. But in this metric we can fetch data from index. So is there any way.

one more question. Can we remove the aggregation function name from column name(like instead of "Sum of PASS" i need only pass, but Sum function should work without showing its name.

for exp:

in table i don't want the aggregation function name.
is there any way to remove the function name from the table .