Elastic REST API calls?

You probably want the logstash http poller input.