How to create mass amounts of test data in elasticsearch / Kibana

Hello,
thanks again for your follow-up.

Indeed, it seems the port and uri was the issue, however I was not able to get the endpoint to work. I was able to get the authentication working and I am now able to connect using the CLOUD_ID and user/pwd.

If anyone else has the issue here is my code:

 var authentication = new BasicAuthentication(USER, PWD);
        var client = new ElasticsearchClient(CLOUD_ID,authentication);
        var response = await client.CountAsync();

I will start experimentingwith the API which looks very powerful, I expect to easily be able to bulk insert in a flexible way.

1 Like