# Not able to get client in sentinl when i am using it in kibana 7.2

**URL:** <https://discuss.elastic.co/t/not-able-to-get-client-in-sentinl-when-i-am-using-it-in-kibana-7-2/192435>\
**Category:** Kibana\
**Created:** [July 26, 2019, 12:29pm UTC](https://discuss.elastic.co/t/not-able-to-get-client-in-sentinl-when-i-am-using-it-in-kibana-7-2/192435 "2019-07-26T12:29:37Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Kundan\_Singh](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/kundan_singh/32/51011_2.png) [@Kundan\_Singh](https://discuss.elastic.co/u/Kundan_Singh)\
**Post date:** [July 26, 2019, 12:29pm UTC](https://discuss.elastic.co/t/not-able-to-get-client-in-sentinl-when-i-am-using-it-in-kibana-7-2/192435/1 "2019-07-26T12:29:37Z")

</div>

Hi  
I am try to use sentinl 6.6 in kibana 7.2 by modifying code ui is working fine but i am facing problem in `server.plugins.elasticsearch.getCluster('data').getClient()` method its not return anything. Is there any new approach to getclient from kibana7.2. it's a to helpful for me if anyone explain this.  
Link :  
 https://github.com/sirensolutions/sentinl/blob/branch-6.6.0/server/lib/get\_elasticsearch\_client.js#L86

---

<div class="post-metadata">

**Author:** ![cjcenizal](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/cjcenizal/32/11216_2.png) [@cjcenizal](https://discuss.elastic.co/u/cjcenizal)\
**Post date:** [July 26, 2019, 6:41pm UTC](https://discuss.elastic.co/t/not-able-to-get-client-in-sentinl-when-i-am-using-it-in-kibana-7-2/192435/2 "2019-07-26T18:41:14Z")

</div>

Hi there, according to the [Sentinl README](https://github.com/sirensolutions/sentinl), it's intended for Kibana 6.x. As such, it is probably not compatible with 7.x Please reach out on the Sentinl repo for help with Sentinl.

> **SENTINL** is also designed to simplify the process of creating and managing alerts and reports in Siren Investigate/Kibana `6.x` via its native App Interface, or by using native watcher tools in Kibana `6.x+` .

Regarding changes to the ES service, in 7.2 we [removed the old interface](https://github.com/elastic/kibana/pull/28344/files#diff-c50735ba28ce48d30f1ed702f31bc224L68) and replaced it with a new Elasticsearch service that exposes clients via an Observable interface. See the link for more context.

Hope this helps,  
CJ

---

<div class="post-metadata">

**Author:** ![Kundan\_Singh](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/kundan_singh/32/51011_2.png) [@Kundan\_Singh](https://discuss.elastic.co/u/Kundan_Singh)\
**Post date:** [July 29, 2019, 11:10am UTC](https://discuss.elastic.co/t/not-able-to-get-client-in-sentinl-when-i-am-using-it-in-kibana-7-2/192435/4 "2019-07-29T11:10:27Z")

</div>

Thanks Cj . Now sentinl is working fine in kibana 7.2

---

<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 26, 2019, 11:10am UTC](https://discuss.elastic.co/t/not-able-to-get-client-in-sentinl-when-i-am-using-it-in-kibana-7-2/192435/5 "2019-08-26T11:10:29Z")

</div>

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