Forum Discussion

Joshgreen_94's avatar
Joshgreen_94
Icon for Nimbostratus rankNimbostratus
Aug 08, 2022

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 anapik...
  • Enes_Afsin_Al's avatar
    Aug 08, 2022

    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.