Technical Forum
Ask questions. Discover Answers.
cancel
Showing results for 
Search instead for 
Did you mean: 

HTTPS Custom Monitor

Joshgreen_94
Nimbostratus
Nimbostratus

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

1 ACCEPTED SOLUTION

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.

299584-1.jpg

View solution in original post

2 REPLIES 2

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.

299584-1.jpg

Thank you, that worked great. 

Got that one written down for next time 🙂

 

All the best.

Josh