# URI SEARCH prob

**URL:** <https://discuss.elastic.co/t/uri-search-prob/57395>\
**Category:** Elasticsearch\
**Created:** [August 6, 2016, 7:18am UTC](https://discuss.elastic.co/t/uri-search-prob/57395 "2016-08-06T07:18:41Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![srikanth\_muddu](https://avatars.discourse-cdn.com/v4/letter/s/9e8a1a/32.png) [@srikanth\_muddu](https://discuss.elastic.co/u/srikanth_muddu)\
**Post date:** [August 6, 2016, 7:18am UTC](https://discuss.elastic.co/t/uri-search-prob/57395/1 "2016-08-06T07:18:41Z")

</div>

"\_index" : "cavisson",  
"\_type" : "employe",  
"\_id" : "AVYmChcQBTmXaFaGmUUC",  
"\_score" : 1.0,  
"\_source" : {  
"index" : "accesslogs-2016.07.25",  
"type" : "access-logs",  
"id" : "AVYh7r\_tJzp3rn8vpJdw",  
"score" : null,  
"source" : {  
"message" : "10.202.1.254\t10.202.4.233:7003\t-\t2016-07-25\t07:01:49\t0.008\tGET\t/price/2263284.jsp?type=product\ttype=product\t200\t228\t"Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.103 Safari/537.36"\t"76.255.212.43, 209.107.208.140, 10.27.120.7"\t"[corRID::m2223c292eb96-9d90-4f7d-86e7-6c65b9c05dcd]"\t"[SID::KjLTI4eUpuMxuKUYFNfYemqhzIsMrxM1FG640cAt8TSKSpJobkdI!1184349807!1353240661!1468126168980][PID::2254024710660255][OID::4772230697][dcrt::pkyp][klbc::3909405194.23323.0000][klbd::187642540.20480.0000][VID::2254024710660255]"",  
"@version" : "1",  
"@timestamp" : "2016-07-25T12:01:49.000Z",  
"path" : "/home/netstorm/work/NetForestDemo/generated\_logs/scs/Storefront/stfserverscs1/kls-stf-31/access.log",  
"host" : "nsdev-10g-2",  
"type" : "access-logs",  
"tier" : "Storefront",  
"server" : "stfserverscs1",  
"app" : "kls-rst-31",  
"nde" : "scs",  
"clientip" : "10.202.1.254",  
"dest" : "10.202.4.233",  
"port" : "7003",  
"username" : "-",  
"time" : "07:01:49",  
"resptime" : 0.008,  
"httpmethod" : "GET",  
"uripathparam" : "/price/2263284.jsp?type=product",  
"uriparam" : "type=product",  
"httpstatuscode" : 200,  
"sizeinbytes" : 228,  
"useragent" : "Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.103 Safari/537.36",  
"xForwardedFor" : "76.255.212.43,",  
"uri" : "/price/2263284.jsp"

this is my log want to search tier from URI  
eg: curl -XGET '[http://localhost:9200/cavisson/employe/\_search?q=tier:Storefront&pretty](http://localhost:9200/cavisson/employe/_search?q=tier:Storefront&pretty)'  
i have give this but the result is

{  
"took" : 1,  
"timed\_out" : false,  
"\_shards" : {  
"total" : 5,  
"successful" : 5,  
"failed" : 0  
},  
"hits" : {  
"total" : 0,  
"max\_score" : null,  
"hits" : []  
}  
}

how do i get the field with URI search?

---

<div class="post-metadata">

**Author:** ![Christian\_Dahlqvist](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/christian_dahlqvist/32/4617_2.png) [@Christian\_Dahlqvist](https://discuss.elastic.co/u/Christian_Dahlqvist)\
**Post date:** [August 6, 2016, 8:39pm UTC](https://discuss.elastic.co/t/uri-search-prob/57395/2 "2016-08-06T20:39:02Z")

</div>

What is the mapping for the `tier` field? If it is analysed, you may need to lowercase it in your search.

---

<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 5, 2017, 10:29pm UTC](https://discuss.elastic.co/t/uri-search-prob/57395/3 "2017-07-05T22:29:37Z")

</div>


