# Logstash filter matching Kibana Dashboard filter functionality

**URL:** <https://discuss.elastic.co/t/logstash-filter-matching-kibana-dashboard-filter-functionality/159422>\
**Category:** Logstash\
**Created:** [December 4, 2018, 8:59pm UTC](https://discuss.elastic.co/t/logstash-filter-matching-kibana-dashboard-filter-functionality/159422 "2018-12-04T20:59:53Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![mgolubov55](https://avatars.discourse-cdn.com/v4/letter/m/c6cbf5/32.png) [@mgolubov55](https://discuss.elastic.co/u/mgolubov55)\
**Post date:** [December 4, 2018, 8:59pm UTC](https://discuss.elastic.co/t/logstash-filter-matching-kibana-dashboard-filter-functionality/159422/1 "2018-12-04T20:59:53Z")

</div>

I am using the following filter to limit the number of windows services displayed on a Kibana Dashboard:  
{  
"query": {  
"bool": {  
"should": [  
{  
"match\_phrase": {  
"windows.service.name": "lmhosts"  
}  
},  
{  
"match\_phrase": {  
"windows.service.name": "sppsvc"  
}  
},  
{  
"match\_phrase": {  
"windows.service.name": "UmRdpService"  
}  
},  
{  
"match\_phrase": {  
"windows.service.name": "QWAVE"  
}  
},  
etc.  
Is it possible to match this functionality with a Logstash filter? (I am very new to elasticsearch)

---

<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 1, 2019, 8:59pm UTC](https://discuss.elastic.co/t/logstash-filter-matching-kibana-dashboard-filter-functionality/159422/2 "2019-01-01T20:59:54Z")

</div>

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