# Kibana visualization - Specify fields returned from query in a panel

**URL:** <https://discuss.elastic.co/t/kibana-visualization-specify-fields-returned-from-query-in-a-panel/194556>\
**Category:** Kibana\
**Created:** [August 9, 2019, 7:17am UTC](https://discuss.elastic.co/t/kibana-visualization-specify-fields-returned-from-query-in-a-panel/194556 "2019-08-09T07:17:20Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![rplus](https://avatars.discourse-cdn.com/v4/letter/r/34f0e0/32.png) [@rplus](https://discuss.elastic.co/u/rplus)\
**Post date:** [August 9, 2019, 7:17am UTC](https://discuss.elastic.co/t/kibana-visualization-specify-fields-returned-from-query-in-a-panel/194556/1 "2019-08-09T07:17:20Z")

</div>

Hi,

I am pretty new to ELK but I've managed to setup a full stack and now just recently begun playing around with some visualization. This is my current dashboard:

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

My question is this: In the "FailedLogon" panel is there any way to specify which fields to display in the result? Right now I get the whole event. Instead I would like to display just the username and server.

Sorry if it is a newbie question, but I have not managed to find any good answers when I've searched.

Thanks in advance.

---

<div class="post-metadata">

**Author:** ![tiagocosta](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/tiagocosta/32/40045_2.png) [@tiagocosta](https://discuss.elastic.co/u/tiagocosta)\
**Post date:** [August 9, 2019, 2:14pm UTC](https://discuss.elastic.co/t/kibana-visualization-specify-fields-returned-from-query-in-a-panel/194556/2 "2019-08-09T14:14:31Z")

</div>

@rplus in order to achieve that, when creating the visualisation in the discover, you need to add the fields you are interested on. You can check in the image I will post below as example:

 ![52](https://us1.discourse-cdn.com/elastic/original/3X/3/9/394eaacdbacc6203f25ab969b0b18b9cdb8241c5.png)

Cheers

---

<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:** [September 6, 2019, 2:14pm UTC](https://discuss.elastic.co/t/kibana-visualization-specify-fields-returned-from-query-in-a-panel/194556/3 "2019-09-06T14:14:34Z")

</div>

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