# Use kibana for clickhouse rather than elasticsearch

**URL:** <https://discuss.elastic.co/t/use-kibana-for-clickhouse-rather-than-elasticsearch/271356>\
**Category:** Kibana\
**Created:** [April 27, 2021, 10:12am UTC](https://discuss.elastic.co/t/use-kibana-for-clickhouse-rather-than-elasticsearch/271356 "2021-04-27T10:12:03Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![DrissiReda](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/drissireda/32/87782_2.png) [@DrissiReda](https://discuss.elastic.co/u/DrissiReda)\
**Post date:** [April 27, 2021, 10:12am UTC](https://discuss.elastic.co/t/use-kibana-for-clickhouse-rather-than-elasticsearch/271356/1 "2021-04-27T10:12:03Z")

</div>

Hello,

I'm trying to add support for clickhouse for kibana. And to do so I need to know what kind of request kibana sends to elasticsearch (especially aggregations). What parts of the source code should I look for? Can this be made into a plugin? Or do I need to automatically modify the inner code of kibana.

I've seen [GitHub - ITECOMMPAY/kibouse: Clickhouse adapter for Kibana](https://github.com/ITECOMMPAY/kibouse) but it looks outdated. And doesn't have many aggregations.  
Thank you in advance.

---

<div class="post-metadata">

**Author:** ![nickpeihl](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/nickpeihl/32/112622_2.png) [@nickpeihl](https://discuss.elastic.co/u/nickpeihl)\
**Post date:** [April 29, 2021, 9:04pm UTC](https://discuss.elastic.co/t/use-kibana-for-clickhouse-rather-than-elasticsearch/271356/2 "2021-04-29T21:04:45Z")

</div>

Hi @DrissiReda. Kibana is very tightly coupled to Elasticsearch so I think adapting Kibana to use a different database such as Clickhouse would be a very difficult task. If you must use Clickhouse, may I suggest using [Grafana](https://grafana.com/grafana/plugins/vertamedia-clickhouse-datasource/) instead?

If you are not completely reliant on Clickhouse, perhaps you can use one of the many [integrations in the Elastic Stack](https://www.elastic.co/integrations) instead? You can [sign up for a free trial of Elastic Cloud](https://cloud.elastic.co/registration) to try it out. 🙂

---

<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:** [May 27, 2021, 9:05pm UTC](https://discuss.elastic.co/t/use-kibana-for-clickhouse-rather-than-elasticsearch/271356/3 "2021-05-27T21:05:26Z")

</div>

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