# Print any value using Markdown

**URL:** <https://discuss.elastic.co/t/print-any-value-using-markdown/101824>\
**Category:** Kibana\
**Created:** [September 26, 2017, 10:21am UTC](https://discuss.elastic.co/t/print-any-value-using-markdown/101824 "2017-09-26T10:21:48Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![kottapar](https://avatars.discourse-cdn.com/v4/letter/k/a87d85/32.png) [@kottapar](https://discuss.elastic.co/u/kottapar)\
**Post date:** [September 26, 2017, 10:21am UTC](https://discuss.elastic.co/t/print-any-value-using-markdown/101824/1 "2017-09-26T10:21:48Z")

</div>

I was exploring Markdown widget and I can see that the only variables I can use are of the form xx.last.raw.  
For example we're using this to collect the Top N servers consuming memory. I want to use the Markdown to display a message.  
However if I select the "Time Range" as today the values return 0. Is there any way I can reference the values?  
We collect the data only once per day.

---

<div class="post-metadata">

**Author:** ![jbudz](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jbudz/32/45922_2.png) [@jbudz](https://discuss.elastic.co/u/jbudz)\
**Post date:** [September 26, 2017, 9:18pm UTC](https://discuss.elastic.co/t/print-any-value-using-markdown/101824/2 "2017-09-26T21:18:06Z")

</div>

You can't reference a different visualization, but you can do the same aggregation as the top n visualization by clicking on the data tab. Does that help?

---

<div class="post-metadata">

**Author:** ![kottapar](https://avatars.discourse-cdn.com/v4/letter/k/a87d85/32.png) [@kottapar](https://discuss.elastic.co/u/kottapar)\
**Post date:** [September 27, 2017, 7:10am UTC](https://discuss.elastic.co/t/print-any-value-using-markdown/101824/3 "2017-09-27T07:10:51Z")

</div>

I'm sorry; probably I was not clear 🙂 I have the below data.

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/1/e/1e0a71c3d55a4e44769ec67b0160550d127b2e29.png)

However when I switch to Markdown, I don't see the values. The problem is I can see the values when I adjust the time range to 8am i.e when we collect the values.

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/b/b/bb8a8ddee0bee11615a8a08ab3397c7bac5d9139.png)

Is there any way we can display the values in Markdown and still keep the timerange to "today"?  
In short don't we have any other variables other than the "last"?

---

<div class="post-metadata">

**Author:** ![jbudz](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jbudz/32/45922_2.png) [@jbudz](https://discuss.elastic.co/u/jbudz)\
**Post date:** [September 27, 2017, 6:35pm UTC](https://discuss.elastic.co/t/print-any-value-using-markdown/101824/4 "2017-09-27T18:35:24Z")

</div>

The closest I can think of is bumping the interval (in panel options) up to a range that ensures the last bucket has all of the days data. It won't be an exact solution and you'll have to make sure the intervals don't overlap one days of data.

Another option is find your values in the windows.data.raw , but that has similar complications to above.

---

<div class="post-metadata">

**Author:** ![kottapar](https://avatars.discourse-cdn.com/v4/letter/k/a87d85/32.png) [@kottapar](https://discuss.elastic.co/u/kottapar)\
**Post date:** [October 1, 2017, 11:03am UTC](https://discuss.elastic.co/t/print-any-value-using-markdown/101824/5 "2017-10-01T11:03:55Z")

</div>

Thanks Jon. In fact, I tried a couple of intervals earlier which didn't work out. But then as it's collected once a day, the 12h interval worked!!

---

<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:** [October 29, 2017, 11:04am UTC](https://discuss.elastic.co/t/print-any-value-using-markdown/101824/6 "2017-10-29T11:04:16Z")

</div>

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