# Canvas: suitable for my usecase?

**URL:** <https://discuss.elastic.co/t/canvas-suitable-for-my-usecase/157651>\
**Category:** Kibana\
**Created:** [November 21, 2018, 8:35am UTC](https://discuss.elastic.co/t/canvas-suitable-for-my-usecase/157651 "2018-11-21T08:35:28Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![asp](https://avatars.discourse-cdn.com/v4/letter/a/9fc348/32.png) [@asp](https://discuss.elastic.co/u/asp)\
**Post date:** [November 21, 2018, 8:35am UTC](https://discuss.elastic.co/t/canvas-suitable-for-my-usecase/157651/1 "2018-11-21T08:35:28Z")

</div>

Hi there,

I would like to understand how canvas is used, where it's limitations are and if it suits to my usecases.  
I tried to play with it a bit, but I did not get familiar with it yet.

1. On all demos I saw, it always showed the most recent data. Is it possible to select a time range like in the classical dashboards?
2. If I use the table element, can I do some value based formatting? e.g. color the line red if field status is error, color it green if it is ok?
3. Can I do some post calculation in the table element? If I have two timestamps per line in a table. Can I calculate the difference and show it?
4. Is it possible to use filters like in the normal dashboards? Filtering by clicking on fields, select a time span in histogram by mouse interaction?

My hope is, that I can create some dashboards (especially with tables and line diagrams) where I can color or change images based on the value of some fields.

Thanks, Andreas

---

<div class="post-metadata">

**Author:** ![bhavyarm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/bhavyarm/32/22392_2.png) [@bhavyarm](https://discuss.elastic.co/u/bhavyarm)\
**Post date:** [November 23, 2018, 5:28pm UTC](https://discuss.elastic.co/t/canvas-suitable-for-my-usecase/157651/2 "2018-11-23T17:28:27Z")

</div>

@monfera / @Catherine_Liu can one of you please grab this question?

Thanks,  
Bhavya

---

<div class="post-metadata">

**Author:** ![monfera](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/monfera/32/26467_2.png) [@monfera](https://discuss.elastic.co/u/monfera)\
**Post date:** [November 26, 2018, 2:20pm UTC](https://discuss.elastic.co/t/canvas-suitable-for-my-usecase/157651/3 "2018-11-26T14:20:37Z")

</div>

Regarding the filtering, there's ongoing [work](https://github.com/elastic/kibana/issues/19813) for generalizing filters and bringing more capability for Canvas, for an upcoming release. In the meantime, filtering could be done with Canvas Functions which used to be [here](http://canvas.elastic.co/reference/functions.html), due to bringing Canvas into the Kibana repository this link seems not to go to the proper place but there are some [examples](https://discuss.elastic.co/t/canvas-blog-stream/126823/38?u=monfera). Using a SQL subset is another option, some examples are [here](https://www.elastic.co/blog/kibana-canvas-metric-and-markdown-elements).

---

<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:** [December 24, 2018, 2:20pm UTC](https://discuss.elastic.co/t/canvas-suitable-for-my-usecase/157651/4 "2018-12-24T14:20:43Z")

</div>

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