# Metricbeat http module query Confluent Cloud Metrics

**URL:** <https://discuss.elastic.co/t/metricbeat-http-module-query-confluent-cloud-metrics/297569>\
**Category:** Beats\
**Tags:** metricbeat\
**Created:** [February 18, 2022, 7:22am UTC](https://discuss.elastic.co/t/metricbeat-http-module-query-confluent-cloud-metrics/297569 "2022-02-18T07:22:49Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![henriksped209](https://avatars.discourse-cdn.com/v4/letter/h/41988e/32.png) [@henriksped209](https://discuss.elastic.co/u/henriksped209)\
**Post date:** [February 18, 2022, 7:22am UTC](https://discuss.elastic.co/t/metricbeat-http-module-query-confluent-cloud-metrics/297569/1 "2022-02-18T07:22:49Z")

</div>

Hi

I have a task where I need to figure out how to collect metrics from Confluent Cloud in ELK Stack.

I have been looking into metricbeat http module and I'm able to query metrics from the Confluent Cloud API: [https://api.telemetry.confluent.cloud:443](https://api.telemetry.confluent.cloud:443)

the problem is the response I get does not indicate WHAT metric is returned. I know the query it self as for a specific metric. But this information is not available in ELK

So I'm looking for a way to "enrich" the response data from Confluent Cloud.  
IS their a way to add like a keywork the result ?

This is what my query looks like:

```auto

"aggregations": [
{
"metric": "io.confluent.kafka.server/received_records"
}
],
"filter": {
"op": "OR",
"filters": [
{
"field": "resource.kafka.id",
"op": "EQ",
"value": "lkc-99oxm"
},
{
"field": "resource.kafka.id",
"op": "EQ",
"value": "lkc-o8r7p"
}
]
},
"granularity": "PT1M",
"group_by": [
"metric.partition",
"resource.kafka.id"
],
"intervals": [
"now-2m|m/now-1m|m"
],
"limit": 1000
}'

```

Also is their a document that explain all availabe configurations for the http module ?

---

<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:** [March 18, 2022, 9:23am UTC](https://discuss.elastic.co/t/metricbeat-http-module-query-confluent-cloud-metrics/297569/2 "2022-03-18T09:23:06Z")

</div>

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