# Is there a way to view logs by clicking on a visualization?

**URL:** <https://discuss.elastic.co/t/is-there-a-way-to-view-logs-by-clicking-on-a-visualization/227859>\
**Category:** Kibana\
**Created:** [April 14, 2020, 6:43am UTC](https://discuss.elastic.co/t/is-there-a-way-to-view-logs-by-clicking-on-a-visualization/227859 "2020-04-14T06:43:07Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![Roy\_Goldenberg](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/roy_goldenberg/32/48235_2.png) [@Roy\_Goldenberg](https://discuss.elastic.co/u/Roy_Goldenberg)\
**Post date:** [April 14, 2020, 6:43am UTC](https://discuss.elastic.co/t/is-there-a-way-to-view-logs-by-clicking-on-a-visualization/227859/1 "2020-04-14T06:43:07Z")

</div>

For example, if I have a vertical graph, I would like to click on a bar that shows the logs that the bar represents.

I've seen an old post saying this isn't possible but I wanted to know if in the newer version of Kibana this is possible.

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [April 14, 2020, 6:52am UTC](https://discuss.elastic.co/t/is-there-a-way-to-view-logs-by-clicking-on-a-visualization/227859/2 "2020-04-14T06:52:31Z")

</div>

If you setup a saved search, you can then use that in it's own visualisation on the same dashboard and it'll filter based on whatever you click in the graphs.

---

<div class="post-metadata">

**Author:** ![Roy\_Goldenberg](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/roy_goldenberg/32/48235_2.png) [@Roy\_Goldenberg](https://discuss.elastic.co/u/Roy_Goldenberg)\
**Post date:** [April 14, 2020, 7:08am UTC](https://discuss.elastic.co/t/is-there-a-way-to-view-logs-by-clicking-on-a-visualization/227859/3 "2020-04-14T07:08:07Z")

</div>

ok, but then what makes it a saved search if the search changes based on the graphs that I click?

---

<div class="post-metadata">

**Author:** ![Roy\_Goldenberg](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/roy_goldenberg/32/48235_2.png) [@Roy\_Goldenberg](https://discuss.elastic.co/u/Roy_Goldenberg)\
**Post date:** [April 14, 2020, 7:11am UTC](https://discuss.elastic.co/t/is-there-a-way-to-view-logs-by-clicking-on-a-visualization/227859/4 "2020-04-14T07:11:07Z")

</div>

I did this but when I click on a bar that represents 2 logs, I want to see those 2 logs, but I just see a bunch

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [April 14, 2020, 7:11am UTC](https://discuss.elastic.co/t/is-there-a-way-to-view-logs-by-clicking-on-a-visualization/227859/5 "2020-04-14T07:11:59Z")

</div>

Perhaps some screenshots showing this might help us 🙂

---

<div class="post-metadata">

**Author:** ![Roy\_Goldenberg](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/roy_goldenberg/32/48235_2.png) [@Roy\_Goldenberg](https://discuss.elastic.co/u/Roy_Goldenberg)\
**Post date:** [April 14, 2020, 7:24am UTC](https://discuss.elastic.co/t/is-there-a-way-to-view-logs-by-clicking-on-a-visualization/227859/6 "2020-04-14T07:24:43Z")

</div>

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

Here I inserted saved and inserted an empty search into a dashboard. I clicked on a bar that represents 2 logs on April 4, the saved search then showed totally unrelated searches on different dates and way more than 2 logs.

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [April 14, 2020, 8:04am UTC](https://discuss.elastic.co/t/is-there-a-way-to-view-logs-by-clicking-on-a-visualization/227859/7 "2020-04-14T08:04:09Z")

</div>

In that image it doesn't look like you have clicked that bar graph portion you've pointed to, otherwise I'd expect to see just that in the bar graph itself?

---

<div class="post-metadata">

**Author:** ![Roy\_Goldenberg](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/roy_goldenberg/32/48235_2.png) [@Roy\_Goldenberg](https://discuss.elastic.co/u/Roy_Goldenberg)\
**Post date:** [April 14, 2020, 8:08am UTC](https://discuss.elastic.co/t/is-there-a-way-to-view-logs-by-clicking-on-a-visualization/227859/8 "2020-04-14T08:08:34Z")

</div>

I did click on it but the graph has a timerange on it so it doesn't show just the bar. When I click on the bar without a timerange set specifically to the graph, then it does show only the bar.

---

<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 12, 2020, 8:12am UTC](https://discuss.elastic.co/t/is-there-a-way-to-view-logs-by-clicking-on-a-visualization/227859/9 "2020-05-12T08:12:47Z")

</div>

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