Joshgreen_94
Aug 08, 2022Nimbostratus
Solved
HTTPS Custom Monitor
Hi all,
I need to format a custom HTTPS monitor in such a way it makes a request similar to the below:
curl -L -X GET 'https://x.x.x.x:9200/_cluster/health?pretty' -H 'Authorization: ApiKey anapikeygoeshere'"
Is this feasible? I'm not totally clued up on how these strings need to be formatted.
Thanks,
Josh
Hi Josh,
Send String:
GET /_cluster/health?pretty HTTP/1.1\r\nAuthorization: ApiKey anapikeygoeshere\r\nConnection: Close\r\n\r\n
If the pool member ports are not 9200, you must specify them in the "Alias Service Port" field.