Can X-Pack Watcher script conditions use other scripting languages?

The current documentation at https://www.elastic.co/guide/en/x-pack/current/condition-script.html indicates in several places and examples that X-Pack Watcher script conditions can use other languages than "painless".

I just tried with Python and got back the error "Watcher: [illegal_argument_exception] script_lang not supported [python]".

Is the current documentation wrong?

Looks like the above link was for X-Pack 6.2. I think the word "current" here and in the url threw me off:
2%5D%20_%20Elastic

This seems to be the updated doc page for 6.3:
https://www.elastic.co/guide/en/elastic-stack-overview/current/condition-script.html

It still mentions other languages, and uses "lang": "javascript" in the example:

Other languages can be used, but python was removed as a scripting language. You could still use a custom script engine (java plugin).

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