I've been searching on the forums and haven't been able to find an answer to the problem I'm facing.
The issue I'm facing:
I am trying to send data via REST Api to an Elastic Cloud instance, in my head, I am sure I have seen this work before at a previous company but I didn't set it up and it was on a previous version of Elasticsearch. The data being sent will be in JSON format. I have looked at the documentation for Watcher HTTP and also on Ingest Pipelines, but in setting it up, it doesn't actually say if this is what I require.
My question is, what is the correct way to send JSON data via Restful API to Elasticsearch. If anyone can point me towards the documentation or a guide. In terms of our cluster, it is the latest version of Elasticsearch.