# String to table

**URL:** <https://discuss.elastic.co/t/string-to-table/305309>\
**Category:** Kibana\
**Tags:** canvas\
**Created:** [May 20, 2022, 6:02pm UTC](https://discuss.elastic.co/t/string-to-table/305309 "2022-05-20T18:02:56Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![fredyfredburger](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/fredyfredburger/32/47627_2.png) [@fredyfredburger](https://discuss.elastic.co/u/fredyfredburger)\
**Post date:** [May 20, 2022, 6:02pm UTC](https://discuss.elastic.co/t/string-to-table/305309/1 "2022-05-20T18:02:56Z")

</div>

I have a data feed that provides the linux df command as a value in my Elasticsearch database. The df output is contianed as a string in a single field. I need to display this in Canvas as a table, but can't figure out how to parse a string to a table. Since Canvas can't handle custom helper statements for handlebar.js I can't just use markdown, and I can't seem to find an expression command to parse text.

---

<div class="post-metadata">

**Author:** ![charlesfr.rey](https://avatars.discourse-cdn.com/v4/letter/c/c6cbf5/32.png) [@charlesfr.rey](https://discuss.elastic.co/u/charlesfr.rey)\
**Post date:** [May 31, 2022, 3:25pm UTC](https://discuss.elastic.co/t/string-to-table/305309/2 "2022-05-31T15:25:44Z")

</div>

AFAIK it is not possible to do it in Canvas. I would take a look at Ingest pipelines, see this Q&A : [https://discuss.elastic.co/t/ingest-pipeline-how-to-stores-the-split-values-into-separate-new-fields/200567/2](https://discuss.elastic.co/t/ingest-pipeline-how-to-stores-the-split-values-into-separate-new-fields/200567/2)

---

<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:** [June 28, 2022, 3:26pm UTC](https://discuss.elastic.co/t/string-to-table/305309/3 "2022-06-28T15:26:42Z")

</div>

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