# Search for values on a scripted fields

**URL:** <https://discuss.elastic.co/t/search-for-values-on-a-scripted-fields/305499>\
**Category:** Kibana\
**Created:** [May 24, 2022, 12:02pm UTC](https://discuss.elastic.co/t/search-for-values-on-a-scripted-fields/305499 "2022-05-24T12:02:29Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![behappy\_alwayz0401](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/behappy_alwayz0401/32/105988_2.png) [@behappy\_alwayz0401](https://discuss.elastic.co/u/behappy_alwayz0401)\
**Post date:** [May 24, 2022, 12:02pm UTC](https://discuss.elastic.co/t/search-for-values-on-a-scripted-fields/305499/1 "2022-05-24T12:02:29Z")

</div>

Once a scripted field is created, is it possible to query a search on the values on the scripted field?  
For example, here I created a scripted field SLA\_Check but when I try to filter for certain values on this field, no values show up.

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/d/6/d6957ac7bdebaf4121728f4fcc0cf92bd6b4346c.png)  
Thanks

---

<div class="post-metadata">

**Author:** ![flash1293](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/flash1293/32/41227_2.png) [@flash1293](https://discuss.elastic.co/u/flash1293)\
**Post date:** [May 25, 2022, 5:50pm UTC](https://discuss.elastic.co/t/search-for-values-on-a-scripted-fields/305499/2 "2022-05-25T17:50:10Z")

</div>

You should runtime fields for this - they are consistently supported in all places: [Manage data views | Kibana Guide [master] | Elastic](https://www.elastic.co/guide/en/kibana/master/managing-data-views.html#create-runtime-fields)

---

<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 22, 2022, 5:50pm UTC](https://discuss.elastic.co/t/search-for-values-on-a-scripted-fields/305499/3 "2022-06-22T17:50:49Z")

</div>

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