Working on an Elastic Cloud project that I did not set up myself. Configuring a watch using an HTTP input back to itself. I am missing something incredibly basic since I get 404s. Using the same 'elastic' user used for our HTTP calls and Kibana access.
PUT _xpack/watcher/watch/_execute
{
"watch": {
"trigger": {
"schedule": {
"interval": "60s"
}
},
"input": {
"http": {
"request": {
"scheme": "https",
"host": "xxx.found.io",
"port": 9243,
"path": "/_node/stats",
"auth": {
"basic": {
"username": "elastic",
"password": "xxx"
}
}
}
}
}
}
}
A more complete 404 error: https://gist.github.com/brusic/bcb54acef23ddec26149a381c1f1edec
Also attempted to use a full url to no avail:
{
"request": {
"url": "https://elastic:password@XXX.found.io:9243/_node/stats",
}
}
Once again, obviously missing something basic, which I am assuming it on the admin side of things. HTTP calls work perfectly.
Cheers,
Ivan