# Creating visualization that expands log data when clicking on dashboard object

**URL:** <https://discuss.elastic.co/t/creating-visualization-that-expands-log-data-when-clicking-on-dashboard-object/301916>\
**Category:** Kibana\
**Created:** [April 8, 2022, 2:35am UTC](https://discuss.elastic.co/t/creating-visualization-that-expands-log-data-when-clicking-on-dashboard-object/301916 "2022-04-08T02:35:50Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Kenneth\_Rodriguez](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/kenneth_rodriguez/32/104141_2.png) [@Kenneth\_Rodriguez](https://discuss.elastic.co/u/Kenneth_Rodriguez)\
**Post date:** [April 8, 2022, 2:35am UTC](https://discuss.elastic.co/t/creating-visualization-that-expands-log-data-when-clicking-on-dashboard-object/301916/1 "2022-04-08T02:35:50Z")

</div>

Is it possible to create a visualization that expands all relevant log data when clicking on a value in dashboard object? For example, I have a pie chart in a dashboard that that tells me the country of origin from traffic logs. I would like to be able to click on a country and see all logs associated with that country in a visualization on the dashboard.

The goal is to make a working dashboard object for looking at logs instead of doing individual discover queries.

---

<div class="post-metadata">

**Author:** ![Kenneth\_Rodriguez](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/kenneth_rodriguez/32/104141_2.png) [@Kenneth\_Rodriguez](https://discuss.elastic.co/u/Kenneth_Rodriguez)\
**Post date:** [April 13, 2022, 4:07am UTC](https://discuss.elastic.co/t/creating-visualization-that-expands-log-data-when-clicking-on-dashboard-object/301916/2 "2022-04-13T04:07:37Z")

</div>

I figured it out.

---

<div class="post-metadata">

**Author:** ![matw](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/matw/32/13913_2.png) [@matw](https://discuss.elastic.co/u/matw)\
**Post date:** [April 13, 2022, 9:39am UTC](https://discuss.elastic.co/t/creating-visualization-that-expands-log-data-when-clicking-on-dashboard-object/301916/3 "2022-04-13T09:39:32Z")

</div>

Great that you figured it out, mind if you post your solution since other users might be interested too, many thx!

---

<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:** [May 11, 2022, 9:39am UTC](https://discuss.elastic.co/t/creating-visualization-that-expands-log-data-when-clicking-on-dashboard-object/301916/4 "2022-05-11T09:39:47Z")

</div>

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