# Index not returning results - No results found

**URL:** <https://discuss.elastic.co/t/index-not-returning-results-no-results-found/54630>\
**Category:** Logstash\
**Created:** [July 4, 2016, 9:39am UTC](https://discuss.elastic.co/t/index-not-returning-results-no-results-found/54630 "2016-07-04T09:39:28Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Karpagavinayagam\_U](https://avatars.discourse-cdn.com/v4/letter/k/3be4f8/32.png) [@Karpagavinayagam\_U](https://discuss.elastic.co/u/Karpagavinayagam_U)\
**Post date:** [July 4, 2016, 9:39am UTC](https://discuss.elastic.co/t/index-not-returning-results-no-results-found/54630/1 "2016-07-04T09:39:28Z")

</div>

Hey users  
Been trying to figure out below issues but not successful. I created an index to match a data pattern in elasticsearch - but not fetching results when i discover

Results are displaying for default logstash-\* pattern. What am i missing here 🙂

Data -

{  
"message" =\> "{"message":"2016-07-04T02:34:37.642-0700: 505452.911: [GC (Allocation Failure) [PSYoungGen: 340349K-\>4283K(342016K)] 754917K-\>418851K(1339904K), 0.0130968 secs] [Times: user=0.05 sys=0.00, real=0.01 secs] ","@version":"1","@timestamp":"2016-07-04T09:34:38.098Z","host":"SERVER","path":"C:/instances/default/logs/gc.log","type":"Server.gc","environment":"DEVELOPMENT"}",  
"@version" =\> "1",  
"@timestamp" =\> "2016-07-04T09:34:38.145Z",  
"application" =\> "Server",  
"dimension" =\> "JVM Garbage Collection",  
"timestamp" =\> "2016-07-04T02:34:37.642-0700",  
"elapse" =\> 505452.911,  
"gctype" =\> "GC",  
"gctext" =\> "(Allocation Failure)",  
"newbefore" =\> 340349,  
"newafter" =\> 4283,  
"newmax" =\> 342016,  
"heapbefore" =\> 754917,  
"heapafter" =\> 418851,  
"heapmax" =\> 1339904,  
"gctime" =\> 0.0130968  
}

Index created

{  
"mappings": {  
"_default_": {  
"properties": {  
"message": {  
"type": "string"  
},  
"@version": {  
"type": "string", "index" : "not\_analyzed"  
},  
"@timestamp": {  
"type": "date",  
"format": "strict\_date\_optional\_time||epoch\_millis"  
},  
"application": {  
"type": "string", "index" : "not\_analyzed"  
},  
"dimension": {  
"type": "string", "index" : "not\_analyzed"  
},  
"timestamp": {  
"type": "date",  
"format": "strict\_date\_optional\_time||epoch\_millis"  
},  
"elapse": {  
"type": "double", "index" : "not\_analyzed"  
},  
"gctype": {  
"type": "string", "index" : "not\_analyzed"  
},  
"gctext": {  
"type": "string", "index" : "not\_analyzed"  
},  
"newbefore": {  
"type": "long"  
},  
"newafter": {  
"type": "long"  
},  
"newmax": {  
"type": "long"  
},  
"heapbefore": {  
"type": "long"  
},  
"heapafter": {  
"type": "long"  
},  
"heapmax": {  
"type": "long"  
},  
"gctime": {  
"type": "double", "index" : "not\_analyzed"  
}  
}  
}  
}  
}

---

<div class="post-metadata">

**Author:** ![danielmitterdorfer](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/danielmitterdorfer/32/110510_2.png) [@danielmitterdorfer](https://discuss.elastic.co/u/danielmitterdorfer)\
**Post date:** [July 5, 2016, 7:20am UTC](https://discuss.elastic.co/t/index-not-returning-results-no-results-found/54630/2 "2016-07-05T07:20:43Z")

</div>

This is actually a Logstash question. I'm moving it to the appropriate forum.

---

<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, 4:49am UTC](https://discuss.elastic.co/t/index-not-returning-results-no-results-found/54630/3 "2017-07-06T04:49:33Z")

</div>


