# Prometheus module : Query\_range not exporting to ES

**URL:** <https://discuss.elastic.co/t/prometheus-module-query-range-not-exporting-to-es/364988>\
**Category:** Beats\
**Tags:** metricbeat\
**Created:** [August 15, 2024, 11:47pm UTC](https://discuss.elastic.co/t/prometheus-module-query-range-not-exporting-to-es/364988 "2024-08-15T23:47:26Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Nidhi\_Batra](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/nidhi_batra/32/136813_2.png) [@Nidhi\_Batra](https://discuss.elastic.co/u/Nidhi_Batra)\
**Post date:** [August 15, 2024, 11:47pm UTC](https://discuss.elastic.co/t/prometheus-module-query-range-not-exporting-to-es/364988/1 "2024-08-15T23:47:26Z")

</div>

Hi. I am trying to run a range query with Prometheus module enabled.  
I have enabled the debug logs.  
I can see that the query is running and giving the correct output in the console logs.  
But I cant see docs in kibana.

At the same time , I try a /api/v1/query based query and not the range types, I can see the docs in kibana for that.  
Even though the query is same, everything else is same too. just the difference is of /api/v1/query and /api/v1/query\_range.  
But am able to see in kibana one of them , but not the othr.
