# Need help using Include Pattern in Kibana visualization

**URL:** <https://discuss.elastic.co/t/need-help-using-include-pattern-in-kibana-visualization/40520>\
**Category:** Kibana\
**Created:** [January 29, 2016, 8:46pm UTC](https://discuss.elastic.co/t/need-help-using-include-pattern-in-kibana-visualization/40520 "2016-01-29T20:46:06Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![anhlqn](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/anhlqn/32/5454_2.png) [@anhlqn](https://discuss.elastic.co/u/anhlqn)\
**Post date:** [January 29, 2016, 8:46pm UTC](https://discuss.elastic.co/t/need-help-using-include-pattern-in-kibana-visualization/40520/1 "2016-01-29T20:46:06Z")

</div>

Kibana 4.3, ES 2.1

I have logs with a field name `details` that store file paths from a private cloud storage server. Examples of data:

> /path/to/myfile1.docx  
> /path/to/myfile2.docx  
> /path/to/myfile1.pdf  
> /path/to/myfile2.pdf  
> /path/to/myfile1.xlsx  
> /path/to/myfile1.tmp  
> /path/to/myfile2.tmp

I want to create a Data Table visualization that shows certain file paths with extensions like .docx and .xlsx that are accessed most frequently. The Data Table visualization contains only two columns: `details and Count`

By default, the visualization will display all file path/extentions because I turn on analyzer for the field `details`. Can I use `Include Pattern` under Advanced of the visualization to filter only the extensions I need? If yes, what is the syntax of `Include/Exclude Pattern`. I have not found any documentation/help related to this feature.

---

<div class="post-metadata">

**Author:** ![Bargs](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/bargs/32/5429_2.png) [@Bargs](https://discuss.elastic.co/u/Bargs)\
**Post date:** [January 29, 2016, 11:35pm UTC](https://discuss.elastic.co/t/need-help-using-include-pattern-in-kibana-visualization/40520/2 "2016-01-29T23:35:51Z")

</div>

You can actually filter the visualization via the search bar at the top of the page. This search will even be saved along with the visualization. Likewise, you can create filters on Discover tab and pin them or create filters by clicking values in the data table and those will also filter and be saved with the visualization.

---

<div class="post-metadata">

**Author:** ![anhlqn](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/anhlqn/32/5454_2.png) [@anhlqn](https://discuss.elastic.co/u/anhlqn)\
**Post date:** [January 30, 2016, 3:48am UTC](https://discuss.elastic.co/t/need-help-using-include-pattern-in-kibana-visualization/40520/3 "2016-01-30T03:48:19Z")

</div>

Thanks for your suggestion, I've tried filter and search. Just wonder how those Include/Exclude patterns work.

---

<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:** [July 6, 2017, 2:03pm UTC](https://discuss.elastic.co/t/need-help-using-include-pattern-in-kibana-visualization/40520/4 "2017-07-06T14:03:45Z")

</div>


