# Confluent Cloud and exporting Metric data to ELK

**URL:** <https://forum.confluent.io/t/confluent-cloud-and-exporting-metric-data-to-elk/4096>\
**Category:** Ops\
**Created:** [7 February 2022 11:10 UTC](https://forum.confluent.io/t/confluent-cloud-and-exporting-metric-data-to-elk/4096 "2022-02-07T11:10:31Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![henriksped209](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.confluent.io/henriksped209/32/1558_2.png) [@henriksped209](https://forum.confluent.io/u/henriksped209)\
**Post date:** [7 February 2022 11:10 UTC](https://forum.confluent.io/t/confluent-cloud-and-exporting-metric-data-to-elk/4096/1 "2022-02-07T11:10:31Z")

</div>

Hi we would like to export metric and maybe some log data from Confluent Cloud into the [  
ELK Stack - Elasticsearch and Kibana.

Currently it’s uncertain if we will use ELK On-premises or ELK Cloud

I was wondering if their is a best practice for this ?

I found this:  
[https://docs.confluent.io/cloud/current/monitoring/metrics-api.html#discover-available-resources](https://docs.confluent.io/cloud/current/monitoring/metrics-api.html#discover-available-resources)

Were you write a connector to extract metric data from Confluent Cloud.

Would something like this be the way to go ?

---

<div class="post-metadata">

**Author:** ![mmuehlbeyer](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.confluent.io/mmuehlbeyer/32/1088_2.png) [@mmuehlbeyer](https://forum.confluent.io/u/mmuehlbeyer)\
**Post date:** [7 February 2022 14:14 UTC](https://forum.confluent.io/t/confluent-cloud-and-exporting-metric-data-to-elk/4096/2 "2022-02-07T14:14:25Z")

</div>

Hey @henriksped209

welcome to the forum 🙂

Maybe you could use prometheus as intermediate stack,  
collect confluent cloud metrics and then query prometheus from your ELK stack.

> **[Dec 23rd, 2018: \[EN\]\[Observability\] Querying metrics from Prometheus with...](https://discuss.elastic.co/t/dec-23rd-2018-en-observability-querying-metrics-from-prometheus-with-elastic-stack/161609)**
>
> UPDATE: Read latest blog on Elastic+Prometheus. Prometheus exposition format has become a popular way to export metrics from a number of systems. It provides client libraries for defining custom metrics within your application and shipping those...

Never tried to query Prometheus from ELK stack, though querying confluent cloud with prometheus works as expected.

Best,  
michael

---

<div class="post-metadata">

**Author:** ![henriksped209](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.confluent.io/henriksped209/32/1558_2.png) [@henriksped209](https://forum.confluent.io/u/henriksped209)\
**Post date:** [8 February 2022 06:27 UTC](https://forum.confluent.io/t/confluent-cloud-and-exporting-metric-data-to-elk/4096/3 "2022-02-08T06:27:43Z")

</div>

Hi Michael

Thanks for the tip. I have used Prometheus before. We used metricbeat to scrape metrics from prometheus on a Openshift installation. So maybe it could work here to
