# How to filter "unknown" fields

**URL:** <https://discuss.elastic.co/t/how-to-filter-unknown-fields/67866>\
**Category:** Kibana\
**Created:** [December 2, 2016, 2:27pm UTC](https://discuss.elastic.co/t/how-to-filter-unknown-fields/67866 "2016-12-02T14:27:03Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![YLombardi](https://avatars.discourse-cdn.com/v4/letter/y/43a26b/32.png) [@YLombardi](https://discuss.elastic.co/u/YLombardi)\
**Post date:** [December 2, 2016, 2:27pm UTC](https://discuss.elastic.co/t/how-to-filter-unknown-fields/67866/1 "2016-12-02T14:27:03Z")

</div>

I use ELK 5.0.1 + Filebeat 5.0.1.

I configure Filebeat to send json logs to Elasticsearch.  
When I visualize the logs in Kibana, I have a lot of "unknown" field.  
I want to filter some of this field like I can do with the "message" field.

How can I do this ?

[http://img4.hostingpics.net/pics/696715unknownfields.png](http://img4.hostingpics.net/pics/696715unknownfields.png)

---

<div class="post-metadata">

**Author:** ![spalger](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/spalger/32/14092_2.png) [@spalger](https://discuss.elastic.co/u/spalger)\
**Post date:** [December 3, 2016, 1:50am UTC](https://discuss.elastic.co/t/how-to-filter-unknown-fields/67866/2 "2016-12-03T01:50:59Z")

</div>

You probably need to refresh Kibana's mapping cache. [This doc page](https://www.elastic.co/guide/en/kibana/current/index-patterns.html#reload-fields) describes the process a bit

---

<div class="post-metadata">

**Author:** ![YLombardi](https://avatars.discourse-cdn.com/v4/letter/y/43a26b/32.png) [@YLombardi](https://discuss.elastic.co/u/YLombardi)\
**Post date:** [December 5, 2016, 8:23am UTC](https://discuss.elastic.co/t/how-to-filter-unknown-fields/67866/3 "2016-12-05T08:23:13Z")

</div>

That solve my issue.  
Thanks.

---

<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:** [January 2, 2017, 8:23am UTC](https://discuss.elastic.co/t/how-to-filter-unknown-fields/67866/4 "2017-01-02T08:23:14Z")

</div>

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