# Scripted fields in kibana canvas

**URL:** <https://discuss.elastic.co/t/scripted-fields-in-kibana-canvas/294475>\
**Category:** Kibana\
**Tags:** painless\
**Created:** [January 15, 2022, 9:43am UTC](https://discuss.elastic.co/t/scripted-fields-in-kibana-canvas/294475 "2022-01-15T09:43:16Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![rusty\_cole](https://avatars.discourse-cdn.com/v4/letter/r/a4c791/32.png) [@rusty\_cole](https://discuss.elastic.co/u/rusty_cole)\
**Post date:** [January 15, 2022, 9:43am UTC](https://discuss.elastic.co/t/scripted-fields-in-kibana-canvas/294475/1 "2022-01-15T09:43:16Z")

</div>

Hi Guys,  
I am trying to use scripted fields inside a table elements in kibana canvas app.  
I'm guessing this is not supported (error - unknown column).  
Is there any alternative for that?  
My use case is the splunk "eval" equivalent.  
If field = somevalue than create new field with some value.

Thanks !

---

<div class="post-metadata">

**Author:** ![aaron-nimocks](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/aaron-nimocks/32/73965_2.png) [@aaron-nimocks](https://discuss.elastic.co/u/aaron-nimocks)\
**Post date:** [January 15, 2022, 1:11pm UTC](https://discuss.elastic.co/t/scripted-fields-in-kibana-canvas/294475/2 "2022-01-15T13:11:42Z")

</div>

Canvas uses [expression language](https://www.elastic.co/guide/en/kibana/current/canvas-function-reference.html). I can't think of which one to use for your case but just providing the reference so you know where to look.

---

<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 12, 2022, 3:13pm UTC](https://discuss.elastic.co/t/scripted-fields-in-kibana-canvas/294475/4 "2022-02-12T15:13:49Z")

</div>

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