# Which language is using in watcher?

**URL:** <https://discuss.elastic.co/t/which-language-is-using-in-watcher/115642>\
**Category:** Elasticsearch\
**Tags:** elastic-stack-alerting\
**Created:** [January 16, 2018, 6:35am UTC](https://discuss.elastic.co/t/which-language-is-using-in-watcher/115642 "2018-01-16T06:35:40Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![rijinmp](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/rijinmp/32/24634_2.png) [@rijinmp](https://discuss.elastic.co/u/rijinmp)\
**Post date:** [January 16, 2018, 6:35am UTC](https://discuss.elastic.co/t/which-language-is-using-in-watcher/115642/1 "2018-01-16T06:35:41Z")

</div>

For watcher programming , which programming language study is needed .

---

<div class="post-metadata">

**Author:** ![spinscale](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/spinscale/32/25011_2.png) [@spinscale](https://discuss.elastic.co/u/spinscale)\
**Post date:** [January 16, 2018, 11:37am UTC](https://discuss.elastic.co/t/which-language-is-using-in-watcher/115642/2 "2018-01-16T11:37:44Z")

</div>

Working with alerting does not require year long programming skills. As you basically just put a bit of JSON to an HTTP endpoint, but parts of this JSON require you to have some programming language to process inputs.

For example, you should take a look at Elasticsearch's scripting language called Painless - which is similar to Java with a few shorts. Painless in Watcher allows you to parse inputs, execute calculations or transform the data.

Then for the formatting in text we are using mustache, which is a very small templating language without a lot of features.

Hope that helps!

--Alex

---

<div class="post-metadata">

**Author:** ![rijinmp](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/rijinmp/32/24634_2.png) [@rijinmp](https://discuss.elastic.co/u/rijinmp)\
**Post date:** [January 16, 2018, 11:59am UTC](https://discuss.elastic.co/t/which-language-is-using-in-watcher/115642/3 "2018-01-16T11:59:01Z")

</div>

Thank You @spinscale . Its very helpful for me

---

<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 13, 2018, 11:59am UTC](https://discuss.elastic.co/t/which-language-is-using-in-watcher/115642/4 "2018-02-13T11:59:30Z")

</div>

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