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


The current documentation at 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:

This seems to be the updated doc page for 6.3:

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

(Ryan Ernst) #3

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

(system) #4

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