Hi,
If a condition is met in watchA , i want to execute another watch say watchB from the existing watchA.
Hi,
If a condition is met in watchA , i want to execute another watch say watchB from the existing watchA.
Hey,
you could run the execute watch API inside of that, but I'd personally try not to do that.
Can you explain the use-case a little bit more? Maybe there is another way of doing things.
--Alex
What you are asking for is not possible.
When asking for an explanation I was not interested in the technical merits, but more in the concrete use-case from a business/requirements perspective. Why do you want to create a new index in the first place? Why is this needed, as you can just index a document into an index and it will be auto created. Why cant you just have another watch run continously checking for that index and if it contains any documents and then act for it, so you dont have to trigger it?
--Alex
This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
© 2020. All Rights Reserved - Elasticsearch
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.