# Creating runtime fields in Canvas

**URL:** <https://discuss.elastic.co/t/creating-runtime-fields-in-canvas/288817>\
**Category:** Kibana\
**Tags:** canvas\
**Created:** [November 9, 2021, 7:46pm UTC](https://discuss.elastic.co/t/creating-runtime-fields-in-canvas/288817 "2021-11-09T19:46:15Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![mbhakta](https://avatars.discourse-cdn.com/v4/letter/m/8edcca/32.png) [@mbhakta](https://discuss.elastic.co/u/mbhakta)\
**Post date:** [November 9, 2021, 7:46pm UTC](https://discuss.elastic.co/t/creating-runtime-fields-in-canvas/288817/1 "2021-11-09T19:46:15Z")

</div>

Hello! I'm new to Canvas and Elasticsearch SQL, and I was wondering if it's possible to create and access runtime fields through queries in Canvas, similar to how you can do so using Elasticsearch DSL?

---

<div class="post-metadata">

**Author:** ![brianseeders](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/brianseeders/32/84831_2.png) [@brianseeders](https://discuss.elastic.co/u/brianseeders)\
**Post date:** [November 10, 2021, 6:12pm UTC](https://discuss.elastic.co/t/creating-runtime-fields-in-canvas/288817/2 "2021-11-10T18:12:26Z")

</div>

Hey @mbhakta,

I don't believe it's possible to use runtime fields with Canvas. However, you can effectively create new fields using just SQL. Maybe that would work for your use case. For example:

```auto
filters
| essql query="SELECT CONCAT(customer_first_name, CONCAT(' ', customer_last_name)) AS full_name FROM \"kibana_sample_data_ecommerce\" LIMIT 3"
| table
| render

```

This creates a new field called `full_name` that's a combination of the first and last name.

Is that helpful?

Brian

---

<div class="post-metadata">

**Author:** ![mbhakta](https://avatars.discourse-cdn.com/v4/letter/m/8edcca/32.png) [@mbhakta](https://discuss.elastic.co/u/mbhakta)\
**Post date:** [November 10, 2021, 7:07pm UTC](https://discuss.elastic.co/t/creating-runtime-fields-in-canvas/288817/3 "2021-11-10T19:07:47Z")

</div>

Hi Brian,

Yes, that helps! Our use case is multiplying two fields and then sorting by those values, and it looks like it's working now. Thanks!

---

<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 8, 2021, 7:08pm UTC](https://discuss.elastic.co/t/creating-runtime-fields-in-canvas/288817/4 "2021-12-08T19:08:37Z")

</div>

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