# Search on hostname with special chars not giving results

**URL:** <https://discuss.elastic.co/t/search-on-hostname-with-special-chars-not-giving-results/233022>\
**Category:** Kibana\
**Created:** [May 18, 2020, 12:44am UTC](https://discuss.elastic.co/t/search-on-hostname-with-special-chars-not-giving-results/233022 "2020-05-18T00:44:03Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Amine\_Maalfi](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/amine_maalfi/32/62335_2.png) [@Amine\_Maalfi](https://discuss.elastic.co/u/Amine_Maalfi)\
**Post date:** [May 18, 2020, 12:44am UTC](https://discuss.elastic.co/t/search-on-hostname-with-special-chars-not-giving-results/233022/1 "2020-05-18T00:44:03Z")

</div>

Hi everyone, i'm trying to find results based on the hostname, my hostname for test purposes is "----" and i can't filter results using it, doesn't elasticsearch accept hostnames to be like this? or do i have to change something in the query?

thanks in advance

P.S: i don't have another hostname to test if it works for it

---

<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:** [June 15, 2020, 12:44am UTC](https://discuss.elastic.co/t/search-on-hostname-with-special-chars-not-giving-results/233022/2 "2020-06-15T00:44:03Z")

</div>

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