# Heatmap from matrixstats in kibana

**URL:** <https://discuss.elastic.co/t/heatmap-from-matrixstats-in-kibana/163469>\
**Category:** Kibana\
**Created:** [January 9, 2019, 8:07am UTC](https://discuss.elastic.co/t/heatmap-from-matrixstats-in-kibana/163469 "2019-01-09T08:07:37Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Mike\_CC](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mike_cc/32/47241_2.png) [@Mike\_CC](https://discuss.elastic.co/u/Mike_CC)\
**Post date:** [January 9, 2019, 8:07am UTC](https://discuss.elastic.co/t/heatmap-from-matrixstats-in-kibana/163469/1 "2019-01-09T08:07:37Z")

</div>

Hi everyone,

I can query elastic search as follows:

GET my-index\*/\_search  
{  
"aggs": {  
"matrixstats": {  
"matrix\_stats": {  
"fields": ["Var\_01",  
"Var\_02",  
"Var\_03",  
"Var\_04"]  
}  
}  
}  
}

and I get the correlation o all the variables with all the rest. Is there any way I can plots the correlation matrix in kibana using this info? If not, could I see one of these as a metric? I would like to see the information depending on several filters I would have in the dashboard.

Thank you for your time.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [February 6, 2019, 8:07am UTC](https://discuss.elastic.co/t/heatmap-from-matrixstats-in-kibana/163469/2 "2019-02-06T08:07:38Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
