Watcher can't execute system scripts. All scripts in Elasticsearch run in a sandboxed environment. There are two provided languages, only one of which (painless) will work within a watcher script. You'll need to rewrite your vbs script in painless if you want to execute it from a watch.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.