# Date Range of returned documents

**URL:** <https://discuss.elastic.co/t/date-range-of-returned-documents/66252>\
**Category:** Kibana\
**Created:** [November 16, 2016, 1:44pm UTC](https://discuss.elastic.co/t/date-range-of-returned-documents/66252 "2016-11-16T13:44:03Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![eperry](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/eperry/32/551_2.png) [@eperry](https://discuss.elastic.co/u/eperry)\
**Post date:** [November 16, 2016, 1:44pm UTC](https://discuss.elastic.co/t/date-range-of-returned-documents/66252/1 "2016-11-16T13:44:04Z")

</div>

I was writing some reports for the boss and was using the timepicker option "Last week" and was wanting to but a Panel in the Dashboard for what the actual date range was.

I can think of any way to do this,

Basically I want 1 panel to say " Report for 11/11/2016 to 11/18/2016" or similar formating.

Any thoughts?

---

<div class="post-metadata">

**Author:** ![BigFunger](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/bigfunger/32/7323_2.png) [@BigFunger](https://discuss.elastic.co/u/BigFunger)\
**Post date:** [November 16, 2016, 4:18pm UTC](https://discuss.elastic.co/t/date-range-of-returned-documents/66252/2 "2016-11-16T16:18:04Z")

</div>

It may not be exactly what you're looking for, but maybe it gets close enough...

You could create two simple metric visualizations that do a min/max on the date field that you're aggregating on. It wouldn't show you the actual edge values that you're using as the filters, but it would show you the data values that fall within them.

 ![](https://us1.discourse-cdn.com/elastic/original/2X/0/0aedce987e16c8a74a4d25af5afe85ce117203f3.png)

---

<div class="post-metadata">

**Author:** ![eperry](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/eperry/32/551_2.png) [@eperry](https://discuss.elastic.co/u/eperry)\
**Post date:** [November 16, 2016, 5:08pm UTC](https://discuss.elastic.co/t/date-range-of-returned-documents/66252/3 "2016-11-16T17:08:44Z")

</div>

Yah sort of what I just came up with too. guess I forgot to say I am Kibana 4 😃

thanks for the response and glad it was a similar solution.

---

<div class="post-metadata">

**Author:** ![BigFunger](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/bigfunger/32/7323_2.png) [@BigFunger](https://discuss.elastic.co/u/BigFunger)\
**Post date:** [November 16, 2016, 5:10pm UTC](https://discuss.elastic.co/t/date-range-of-returned-documents/66252/4 "2016-11-16T17:10:24Z")

</div>

Come join us in the Kibana 5 pool. The water's fine! 😃

---

<div class="post-metadata">

**Author:** ![eperry](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/eperry/32/551_2.png) [@eperry](https://discuss.elastic.co/u/eperry)\
**Post date:** [November 16, 2016, 5:14pm UTC](https://discuss.elastic.co/t/date-range-of-returned-documents/66252/5 "2016-11-16T17:14:17Z")

</div>

🙂 I like pools 😃

---

<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:** [December 14, 2016, 5:14pm UTC](https://discuss.elastic.co/t/date-range-of-returned-documents/66252/6 "2016-12-14T17:14:33Z")

</div>

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