# Watcher index filed Type conversion

**URL:** <https://discuss.elastic.co/t/watcher-index-filed-type-conversion/294676>\
**Category:** Kibana\
**Tags:** elastic-stack-alerting\
**Created:** [January 18, 2022, 9:23am UTC](https://discuss.elastic.co/t/watcher-index-filed-type-conversion/294676 "2022-01-18T09:23:55Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![rrrr](https://avatars.discourse-cdn.com/v4/letter/r/dc4da7/32.png) [@rrrr](https://discuss.elastic.co/u/rrrr)\
**Post date:** [January 18, 2022, 9:23am UTC](https://discuss.elastic.co/t/watcher-index-filed-type-conversion/294676/1 "2022-01-18T09:23:56Z")

</div>

How to convert the type of a field to another type in the watcher? For example, if the type of age is text, you want to convert it to int

---

<div class="post-metadata">

**Author:** ![alisongoryachev](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/alisongoryachev/32/111352_2.png) [@alisongoryachev](https://discuss.elastic.co/u/alisongoryachev)\
**Post date:** [January 19, 2022, 5:13pm UTC](https://discuss.elastic.co/t/watcher-index-filed-type-conversion/294676/2 "2022-01-19T17:13:31Z")

</div>

Hi @rrrr! Can you provide more details on what you are trying to accomplish with your watch? It is not possible to change field types in watcher.

---

<div class="post-metadata">

**Author:** ![rrrr](https://avatars.discourse-cdn.com/v4/letter/r/dc4da7/32.png) [@rrrr](https://discuss.elastic.co/u/rrrr)\
**Post date:** [January 20, 2022, 6:11am UTC](https://discuss.elastic.co/t/watcher-index-filed-type-conversion/294676/3 "2022-01-20T06:11:31Z")

</div>

thanks,My problem has been solved

---

<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 17, 2022, 6:11am UTC](https://discuss.elastic.co/t/watcher-index-filed-type-conversion/294676/4 "2022-02-17T06:11:53Z")

</div>

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