Is there any api like ElasticSearch nest api for Logstash