How to know a sumo logic endpoint is up and ready to receive data but don't write anything to endpoint as customer don't want to see any test data on their endpoint .
Hi,
We accept sumo logic endpoint url as input from customers which will look like this :
We have requirement to test the connection so that customers don't come back saying the data is not received at endpoint because of the wrong connector url entered .I'm trying to create a post call with empty data using closeableHttpClient and check for the error codes. The check works pretty fine except for scenario where he enters only https://endpoint2.collection.us2.sumologic.com which returns us 'Tweep' in browser and 200 ok in the post call . This will be problematic as we validated the connector url to true but if user starts sending data to endpoint(https://endpoint2.collection.us2.sumologic.com) he will not be receiving it . Is there any way to validate the url that he enters ?
Please sign in to leave a comment.
Comments
0 comments