I have shell script to get the status of the elk watcher
curl -k -s -X GET -H "Authorization: AAAAAA https://elastic
If the status is not started I am sending the alerts .
Now I also I want to start the elk watcher. (POST _watcher/_start) which works through dev tool in UI.
How to use this command (POST _watcher/_start) from curl throught the shell script to start watcher when the shell script is run.
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.