# Wildcards and exclusions

**URL:** <https://discuss.elastic.co/t/wildcards-and-exclusions/127959>\
**Category:** Kibana\
**Created:** [April 13, 2018, 10:57am UTC](https://discuss.elastic.co/t/wildcards-and-exclusions/127959 "2018-04-13T10:57:27Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![CKMW](https://avatars.discourse-cdn.com/v4/letter/c/e95f7d/32.png) [@CKMW](https://discuss.elastic.co/u/CKMW)\
**Post date:** [April 13, 2018, 10:57am UTC](https://discuss.elastic.co/t/wildcards-and-exclusions/127959/1 "2018-04-13T10:57:28Z")

</div>

I have a Pie Chart showing blocked URLs for example and I want to exclude a domain and its sub domains

and \*.domain.com does not seem to do the trick.

any ideas?

---

<div class="post-metadata">

**Author:** ![thomasneirynck](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/thomasneirynck/32/23313_2.png) [@thomasneirynck](https://discuss.elastic.co/u/thomasneirynck)\
**Post date:** [April 13, 2018, 3:43pm UTC](https://discuss.elastic.co/t/wildcards-and-exclusions/127959/2 "2018-04-13T15:43:51Z")

</div>

hi @CKMW,

Is this a filter you're putting on the query bar in Kibana?

If so, the Lucene query-language doesn't allow wildcard searches at the start of a string. cf. [https://lucene.apache.org/core/2\_9\_4/queryparsersyntax.html](https://lucene.apache.org/core/2_9_4/queryparsersyntax.html). That's likely the issue.

---

<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:** [May 11, 2018, 3:43pm UTC](https://discuss.elastic.co/t/wildcards-and-exclusions/127959/3 "2018-05-11T15:43:52Z")

</div>

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