# Add visualize with some missing field

**URL:** <https://discuss.elastic.co/t/add-visualize-with-some-missing-field/246780>\
**Category:** Kibana\
**Created:** [August 28, 2020, 2:11pm UTC](https://discuss.elastic.co/t/add-visualize-with-some-missing-field/246780 "2020-08-28T14:11:33Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![elk2](https://avatars.discourse-cdn.com/v4/letter/e/f14d63/32.png) [@elk2](https://discuss.elastic.co/u/elk2)\
**Post date:** [August 28, 2020, 2:11pm UTC](https://discuss.elastic.co/t/add-visualize-with-some-missing-field/246780/1 "2020-08-28T14:11:34Z")

</div>

I have different system logs with missing field that depending of user action.  
Example:  
login  
{@timestamp, user:A, src:10.10.10.10, action:login, dst:20.20.20.20}  
logout  
{@timestamp, user:A, action:logout, dst:20.20.20.20}

When I try to create a visualize table with kibana, if I split my data in:  
@timestamp,user,src,action,dst only first log login appears because the second log don't have any "src" field.

How can I show all logs without change data structure.

I use an old kibana 4.

---

<div class="post-metadata">

**Author:** ![Nathan\_Reese](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/nathan_reese/32/84829_2.png) [@Nathan\_Reese](https://discuss.elastic.co/u/Nathan_Reese)\
**Post date:** [August 28, 2020, 7:59pm UTC](https://discuss.elastic.co/t/add-visualize-with-some-missing-field/246780/2 "2020-08-28T19:59:56Z")

</div>

I am not sure how to do this in Kibana 4, but in newer version of kibana, you can enable "show missing values". This will create a bucket for documents that are missing `src` so they are displayed in the table

 ![Screen Shot 2020-08-28 at 1.58.12 PM](https://us1.discourse-cdn.com/elastic/original/3X/b/3/b32e7e51da82b0611765f757475e90da16ae42ea.png)

---

<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 25, 2020, 8:00pm UTC](https://discuss.elastic.co/t/add-visualize-with-some-missing-field/246780/3 "2020-09-25T20:00:04Z")

</div>

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