Looks like the instead of Watcher endpoint being handled by the rest controller, it is trying to create the index named _watcher. This is failing as the ES does not allow index names to start with _.
By default the watcher is enabled and the service is started the request should be handled by rest controller but in your case the watcher seems to be disabled.
Could you please check if the watcher is enabled on your setup?
You can check it by using the x-pack info API GET _xpack?categories=features&pretty
In the output you should see something like following:
I agree. My guess is that @mv007 did not install the standard version but another one like oss.
BTW @mv007 please don't post images of text as they are hard to read, may not display correctly for everyone, and are not searchable.
Instead, paste the text and format it with </> icon or pairs of triple backticks (```), and check the preview window to make sure it's properly formatted before posting it. This makes it more likely that your question will receive a useful answer.
Thank you for your response and sorry for the late reply. You were right, the watcher was disabled and using your suggestions, I enabled them. It is working now
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.