# Need help on creating a table of data in a dashboard using logs

**URL:** <https://discuss.elastic.co/t/need-help-on-creating-a-table-of-data-in-a-dashboard-using-logs/376038>\
**Category:** Elastic Observability\
**Tags:** dashboard\
**Created:** [March 18, 2025, 4:49am UTC](https://discuss.elastic.co/t/need-help-on-creating-a-table-of-data-in-a-dashboard-using-logs/376038 "2025-03-18T04:49:29Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Karthi746](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/karthi746/32/142102_2.png) [@Karthi746](https://discuss.elastic.co/u/Karthi746)\
**Post date:** [March 18, 2025, 4:49am UTC](https://discuss.elastic.co/t/need-help-on-creating-a-table-of-data-in-a-dashboard-using-logs/376038/1 "2025-03-18T04:49:29Z")

</div>

Hi,

I currently have an azure managed elastic cloud which contains logs from various sources. I have been developing a dashboard with all the data available in the logs. I currently need help in creating a table visualization as shown in the image attached.

 ![Figma snap](https://us1.discourse-cdn.com/elastic/original/3X/6/a/6a40e640bd13e189714d08394415e73897769b7d.png)

All the details mentioned in the image is available in the logs. Appreciate the help.

---

<div class="post-metadata">

**Author:** ![Christian\_Dahlqvist](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/christian_dahlqvist/32/4617_2.png) [@Christian\_Dahlqvist](https://discuss.elastic.co/u/Christian_Dahlqvist)\
**Post date:** [March 18, 2025, 6:27am UTC](https://discuss.elastic.co/t/need-help-on-creating-a-table-of-data-in-a-dashboard-using-logs/376038/2 "2025-03-18T06:27:55Z")

</div>

This is not my area, but if anyone is going to be able to help you out you most likely will need to share a sample of what the data looks like and how it is mapped. It is also generally also always a good idea to state which version you are using.

---

<div class="post-metadata">

**Author:** ![Karthi746](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/karthi746/32/142102_2.png) [@Karthi746](https://discuss.elastic.co/u/Karthi746)\
**Post date:** [March 18, 2025, 7:31am UTC](https://discuss.elastic.co/t/need-help-on-creating-a-table-of-data-in-a-dashboard-using-logs/376038/3 "2025-03-18T07:31:46Z")

</div>

Thanks for the info.  
The version is: 8.17.1

These are the fields which I would need to be in the table  
fields.@timestamp  
fields.user\_id  
message  
fields.resources.resourceType  
fields.resources.resourceName

Mapping is not an issue, However I need a visualization type or idea on how to display all the fields in form of a table.

---

<div class="post-metadata">

**Author:** ![stephenb](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/stephenb/32/40856_2.png) [@stephenb](https://discuss.elastic.co/u/stephenb)\
**Post date:** [March 18, 2025, 2:11pm UTC](https://discuss.elastic.co/t/need-help-on-creating-a-table-of-data-in-a-dashboard-using-logs/376038/4 "2025-03-18T14:11:05Z")

</div>

Does your table have any aggregations or is it simply a grid with the fields you have selected

If it's simply a grid with the fields you have selected.

Go to discover, you can put those fields in the columns and save that as a saved search and then use that in any dashboard you like.

---

<div class="post-metadata">

**Author:** ![kishorkumar](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/kishorkumar/32/132930_2.png) [@kishorkumar](https://discuss.elastic.co/u/kishorkumar)\
**Post date:** [April 4, 2025, 1:27pm UTC](https://discuss.elastic.co/t/need-help-on-creating-a-table-of-data-in-a-dashboard-using-logs/376038/5 "2025-04-04T13:27:18Z")

</div>

**How to Create a Table in Lens from the Visualize Library**

- Go to Observability → Visualize Library.

- Click on "Create visualization" and choose "Lens" as the visualization type.

- In Lens, select "Table" from the available visualization types.

- Pick the Data View you want to use from the dropdown at the top.

- On the left-hand side, drag and drop the fields you want into the Rows section.

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

- If a **Metric column** appears and you don’t want it:

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

- Once your table looks the way you want:

Final Result will look like

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