# How do i get the message field?

**URL:** <https://discuss.elastic.co/t/how-do-i-get-the-message-field/262711>\
**Category:** Kibana\
**Created:** [January 30, 2021, 9:55am UTC](https://discuss.elastic.co/t/how-do-i-get-the-message-field/262711 "2021-01-30T09:55:59Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![walid\_lakehal](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/walid_lakehal/32/83154_2.png) [@walid\_lakehal](https://discuss.elastic.co/u/walid_lakehal)\
**Post date:** [January 30, 2021, 9:55am UTC](https://discuss.elastic.co/t/how-do-i-get-the-message-field/262711/1 "2021-01-30T09:55:59Z")

</div>

Hello , i am trying to get the "message" field to use it in a web site dashboard , in this example it's just the result of an ls command

 ![elk](https://us1.discourse-cdn.com/elastic/original/3X/a/8/a8b1d0afde32c8e06efe92f50f7c46c777eda72a.png)

---

<div class="post-metadata">

**Author:** ![aaron-nimocks](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/aaron-nimocks/32/73965_2.png) [@aaron-nimocks](https://discuss.elastic.co/u/aaron-nimocks)\
**Post date:** [January 30, 2021, 1:48pm UTC](https://discuss.elastic.co/t/how-do-i-get-the-message-field/262711/2 "2021-01-30T13:48:44Z")

</div>

How do you plan on using the `message` field in a dashboard?

What do you see it looking like?

---

<div class="post-metadata">

**Author:** ![walid\_lakehal](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/walid_lakehal/32/83154_2.png) [@walid\_lakehal](https://discuss.elastic.co/u/walid_lakehal)\
**Post date:** [January 30, 2021, 1:58pm UTC](https://discuss.elastic.co/t/how-do-i-get-the-message-field/262711/3 "2021-01-30T13:58:00Z")

</div>

I had a task wich consists on calculating the total time spent , and then send the result to the monitoring server , i can see the total time spent in kibana dashboard ( message field) , and now the dev team needs this number to use it . Now the question is how can i get this "message" from the kibana API ( or elasticksearch)

---

<div class="post-metadata">

**Author:** ![aaron-nimocks](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/aaron-nimocks/32/73965_2.png) [@aaron-nimocks](https://discuss.elastic.co/u/aaron-nimocks)\
**Post date:** [January 30, 2021, 2:02pm UTC](https://discuss.elastic.co/t/how-do-i-get-the-message-field/262711/4 "2021-01-30T14:02:41Z")

</div>

So you aren't looking to use the visualizations or dashboard within Kibana and using a custom solution (web application) and looking how to access data from an elasticsearch index?

If so, what methods are available to you? Here are the [clients](https://www.elastic.co/guide/en/elasticsearch/client/index.html) that can be used to extract data.

---

<div class="post-metadata">

**Author:** ![walid\_lakehal](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/walid_lakehal/32/83154_2.png) [@walid\_lakehal](https://discuss.elastic.co/u/walid_lakehal)\
**Post date:** [January 30, 2021, 2:05pm UTC](https://discuss.elastic.co/t/how-do-i-get-the-message-field/262711/5 "2021-01-30T14:05:37Z")

</div>

> [@aaron-nimocks](#):
>
> So you aren't looking to use the visualizations or dashboard within Kibana and using a custom solution (web application) and looking how to access data from an elasticsearch index?

Thank you very much , that's what i was searching for

---

<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:** [February 27, 2021, 2:06pm UTC](https://discuss.elastic.co/t/how-do-i-get-the-message-field/262711/6 "2021-02-27T14:06:21Z")

</div>

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