Thank you for your replay.
Sorry that my description was not enough. The above code I posted is not for config file (like logstash.conf) or the part of API but the script for the watcher. So in my understand, it cannot contain such characters.
In case, I executed and I got following message.
message": "[watch_{now/M-1M{yyyy.MM}}] InvalidIndexNameException[Invalid index name [watch_{now/M-1M{yyyy.MM}}], must not contain the following characters [ , ", *, \, <, |, ,, >, /, ?]]",
this is supposed to be the index name so it can go straight into your watch. Judging from the error message the <> brackets are missing. Can you share the whole watch again including your changes, so one can try to reproduce locally? Thanks!
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.