# Groovy Client for Elastic Search

**URL:** <https://discuss.elastic.co/t/groovy-client-for-elastic-search/189491>\
**Category:** Elasticsearch\
**Created:** [July 9, 2019, 8:45am UTC](https://discuss.elastic.co/t/groovy-client-for-elastic-search/189491 "2019-07-09T08:45:47Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![paul1243](https://avatars.discourse-cdn.com/v4/letter/p/e99b99/32.png) [@paul1243](https://discuss.elastic.co/u/paul1243)\
**Post date:** [July 9, 2019, 8:45am UTC](https://discuss.elastic.co/t/groovy-client-for-elastic-search/189491/1 "2019-07-09T08:45:47Z")

</div>

Hi-  
I have ELK 6.8 Cluster, running in the Production, I would like to create the indices and publish the data to the Elastic Search using the Groovy Client. Could someone please help with some documentation. Thanks !

---

<div class="post-metadata">

**Author:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [July 9, 2019, 9:01am UTC](https://discuss.elastic.co/t/groovy-client-for-elastic-search/189491/2 "2019-07-09T09:01:56Z")

</div>

Which Groovy client do you mean?

---

<div class="post-metadata">

**Author:** ![paul1243](https://avatars.discourse-cdn.com/v4/letter/p/e99b99/32.png) [@paul1243](https://discuss.elastic.co/u/paul1243)\
**Post date:** [July 9, 2019, 9:07am UTC](https://discuss.elastic.co/t/groovy-client-for-elastic-search/189491/3 "2019-07-09T09:07:40Z")

</div>

Hi @dadoonet-  
We also use ruby elasticsearch gem to publish the data to elasticsearch from our ruby code.  
Now we would like to do the same way from our Groovy Scripts. Do we have Elastic Search Groovy API's ? Please let me know and point out to me some documentation on how do I use it. Thanks so much in advance.

---

<div class="post-metadata">

**Author:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [July 9, 2019, 9:19am UTC](https://discuss.elastic.co/t/groovy-client-for-elastic-search/189491/4 "2019-07-09T09:19:21Z")

</div>

I don't think there's any groovy client available but AFAIK Groovy you can use java api right?

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [August 6, 2019, 9:19am UTC](https://discuss.elastic.co/t/groovy-client-for-elastic-search/189491/5 "2019-08-06T09:19:27Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
