It seems like you are looking for the HTTP input.
- Query external web services. The
httpinput enables you to load data from any service that exposes an HTTP endpoint. This provides a bridge between Elasticsearch clusters and other systems.
If you have further question I think it will be useful for post them in the Elasticsearch discuss forum.