# Wildcard search not working

**URL:** <https://discuss.elastic.co/t/wildcard-search-not-working/48225>\
**Category:** Kibana\
**Created:** [April 23, 2016, 12:30pm UTC](https://discuss.elastic.co/t/wildcard-search-not-working/48225 "2016-04-23T12:30:36Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![gugansankar](https://avatars.discourse-cdn.com/v4/letter/g/e274bd/32.png) [@gugansankar](https://discuss.elastic.co/u/gugansankar)\
**Post date:** [April 23, 2016, 12:30pm UTC](https://discuss.elastic.co/t/wildcard-search-not-working/48225/1 "2016-04-23T12:30:36Z")

</div>

In Kibana, When i type **"\*.jpg"** , its return the values.

But this one is not working, shows empty result --\> **uripath:"\*.jpg"**. I need to get this work. Since I need to match some patterns like **domainname:"[www.example.com](http://www.example.com)" AND uripath:"\*.jpg"**

Please someone help

I'm using default analyzer and mappings is enabled for my index with default one.

 ![](https://us1.discourse-cdn.com/elastic/original/2X/f/f8870d7f5adf84136fbb911e0c0d747d9a03b848.png)

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [April 23, 2016, 11:59pm UTC](https://discuss.elastic.co/t/wildcard-search-not-working/48225/2 "2016-04-23T23:59:20Z")

</div>

And you're sure you have `.jsp` entries in your logs?

---

<div class="post-metadata">

**Author:** ![gugansankar](https://avatars.discourse-cdn.com/v4/letter/g/e274bd/32.png) [@gugansankar](https://discuss.elastic.co/u/gugansankar)\
**Post date:** [April 25, 2016, 4:24am UTC](https://discuss.elastic.co/t/wildcard-search-not-working/48225/3 "2016-04-25T04:24:40Z")

</div>

Sorry , typo mistake. its not a jsp , its s **"jpg"**.

Yes, jpg files are present in my logs. Since When I simply type in search bar on kibana "\*.jpg", it shows the values.

But When I parse the same on with field name like \*_uripath:"jpg"_ , its not working.

---

<div class="post-metadata">

**Author:** ![tylersmalley](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/tylersmalley/32/8833_2.png) [@tylersmalley](https://discuss.elastic.co/u/tylersmalley)\
**Post date:** [April 25, 2016, 4:52pm UTC](https://discuss.elastic.co/t/wildcard-search-not-working/48225/4 "2016-04-25T16:52:04Z")

</div>

What version of Kibana are you using?

I have tested this and it appears to be functioning correctly.

 ![](https://us1.discourse-cdn.com/elastic/original/2X/b/bb67c0dcdf22adf9651dd89be11d48eda216de48.png)

 ![](https://us1.discourse-cdn.com/elastic/original/2X/7/7d173bcaf03a6eb6a25dbcf7e5b3f698071e1614.png)

---

<div class="post-metadata">

**Author:** ![gugansankar](https://avatars.discourse-cdn.com/v4/letter/g/e274bd/32.png) [@gugansankar](https://discuss.elastic.co/u/gugansankar)\
**Post date:** [April 26, 2016, 5:24am UTC](https://discuss.elastic.co/t/wildcard-search-not-working/48225/5 "2016-04-26T05:24:15Z")

</div>

Thanks for your kind reply.

I'm using latest version of kibana-4.5.0-1.

my full uripath will be like **"/info/images/new.jpg".**

When I run **"\*.jpg"** , its return the value. But **uripath:"\*.jpg"** is not working.

---

<div class="post-metadata">

**Author:** ![shaunak](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/shaunak/32/6643_2.png) [@shaunak](https://discuss.elastic.co/u/shaunak)\
**Post date:** [April 28, 2016, 2:24pm UTC](https://discuss.elastic.co/t/wildcard-search-not-working/48225/6 "2016-04-28T14:24:01Z")

</div>

Can you try without the double quotes around `*.jpg`, so like this: `uripath:*.jpg` (instead of `uripath:"*.jpg"`)?

---

<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, 1:54pm UTC](https://discuss.elastic.co/t/wildcard-search-not-working/48225/7 "2017-07-06T13:54:53Z")

</div>


