# Canvas Functions

**URL:** <https://discuss.elastic.co/t/canvas-functions/175504>\
**Category:** Kibana\
**Tags:** canvas\
**Created:** [April 5, 2019, 3:31am UTC](https://discuss.elastic.co/t/canvas-functions/175504 "2019-04-05T03:31:59Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![pete-gbst](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/pete-gbst/32/43450_2.png) [@pete-gbst](https://discuss.elastic.co/u/pete-gbst)\
**Post date:** [April 5, 2019, 3:31am UTC](https://discuss.elastic.co/t/canvas-functions/175504/1 "2019-04-05T03:31:59Z")

</div>

Firstly I'd like to suggest an option for seriesStyle "stack" function to be able to be sorted Ascending or Descending.

Secondly I can't get the tail or head function to work in a data table. The code below works fine without these functions but as soon as I try to use either the query returns no data (eg. tail counter=10). I am using version 6.6.2.

filters  
| essql  
query="SELECT "@timestamp" AS Time, message AS Message, host AS Hostname  
FROM "logstash\*"  
WHERE "severity-num" \<= 4 AND host \<\> '172.18.1.251' AND syslogtag \<\> '%ASA-4-106023:' "  
| table  
font={font family="'Open Sans', Helvetica, Arial, sans-serif" size=12 align="left" color="#FFFFFF" weight="normal" underline=false italic=false} perPage=12 paginate=false showHeader=true  
| render

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [April 5, 2019, 4:30am UTC](https://discuss.elastic.co/t/canvas-functions/175504/2 "2019-04-05T04:30:34Z")

</div>

FYI you posted this in #elasticsearch and used the `graph` tag. I've moved it for you and added a more accurate tag 🙂

---

<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:** [May 3, 2019, 4:30am UTC](https://discuss.elastic.co/t/canvas-functions/175504/3 "2019-05-03T04:30:41Z")

</div>

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