# Useragent filter not working properly

**URL:** <https://discuss.elastic.co/t/useragent-filter-not-working-properly/219731>\
**Category:** Logstash\
**Created:** [February 18, 2020, 8:09am UTC](https://discuss.elastic.co/t/useragent-filter-not-working-properly/219731 "2020-02-18T08:09:58Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![mark.quilates](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mark.quilates/32/24802_2.png) [@mark.quilates](https://discuss.elastic.co/u/mark.quilates)\
**Post date:** [February 18, 2020, 8:09am UTC](https://discuss.elastic.co/t/useragent-filter-not-working-properly/219731/1 "2020-02-18T08:09:58Z")

</div>

Hi,

On my ELK Stack 7.6.0 the useragent logstash filtering not working properly. It doesn't able to get the %{os\_major} and %{os\_minor} when useragent used from windows or linux OS.

But if used iOS or Android able to get the said fields.

Anyone can help me please...

---

<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:** [March 17, 2020, 8:16am UTC](https://discuss.elastic.co/t/useragent-filter-not-working-properly/219731/2 "2020-03-17T08:16:09Z")

</div>

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