# Elastic Search Ruby Client

**URL:** <https://discuss.elastic.co/t/elastic-search-ruby-client/148047>\
**Category:** Elasticsearch\
**Created:** [September 11, 2018, 5:28am UTC](https://discuss.elastic.co/t/elastic-search-ruby-client/148047 "2018-09-11T05:28:52Z")\
**Posts on this page:** 2\
**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:** [September 11, 2018, 5:28am UTC](https://discuss.elastic.co/t/elastic-search-ruby-client/148047/1 "2018-09-11T05:28:52Z")

</div>

Hi -  
We have a cluster with 3 Master/Data nodes, and we have added a client node (with node.master=false,node.data=false). We mostly inject the data using Ruby Client. So we got to use the IP of the elasticsearch to initialize the ruby client.  
I just wanted to know, can we use Client Node in the ruby client to inject the data ? Or Is there anyway that we can add the Cluster name in the ruby client. Please let me know. Thanks !

---

<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:** [October 9, 2018, 5:28am UTC](https://discuss.elastic.co/t/elastic-search-ruby-client/148047/2 "2018-10-09T05:28:54Z")

</div>

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