# Kibana No results found for my index pattern

**URL:** <https://discuss.elastic.co/t/kibana-no-results-found-for-my-index-pattern/116605>\
**Category:** Kibana\
**Created:** [January 23, 2018, 7:17am UTC](https://discuss.elastic.co/t/kibana-no-results-found-for-my-index-pattern/116605 "2018-01-23T07:17:22Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![Farhad\_Yousefi](https://avatars.discourse-cdn.com/v4/letter/f/b487fb/32.png) [@Farhad\_Yousefi](https://discuss.elastic.co/u/Farhad_Yousefi)\
**Post date:** [January 23, 2018, 7:17am UTC](https://discuss.elastic.co/t/kibana-no-results-found-for-my-index-pattern/116605/1 "2018-01-23T07:17:22Z")

</div>

I insert this pattern to find my object when I search in kibana

```
curl -XPUT 'localhost:9200/exception_index?pretty' -H 'Content-Type: application/json' -d'
{
  "mappings": {
    "siam_exception": { 
      "dynamic": "true", 
      "properties": { 
        "Title": { "type": "text" }, 
        "Date&Time": { "type": "text" },
        "Tags": { "type": "text" },
        "Level": { "type": "text" },  
        "Message": { 
         "dynamic": "true", 
         "properties": { 
           "Root": { "type": "text" },  
           "ExceptionList": { "type": "text" } 
          }
        }    
      }
    }
  }
}
' 

```

and this is my exception.log

```
"siam_exception":{
 "Title": "exception",
 "Date&Time": "2018-01-21 09:52:20.759950",
 "Tags": "SiamCore",
 "Level": "Fatal", 
 "Message":[
   {
     "Root": "( ['MQROOT' : 0x7f0a902b2d80]
  (0x01000000:Name ):Properties = ( ['MQPROPERTYPARSER' : 0x7f0a902bffa0]
    (0x03000000:NameValue):MessageSet = 'SIAMCOMMONMSG' (CHARACTER)",
 
     "ExceptionList": "(0x03000000:NameValue):ReplyIdentifier = X'000000000000000000000000000000000000000000000000' (BLOB)","
   }
 ] 
}

```

but kibana find nothing when I search \*  
even if I omit ' "siam\_exception": ' from first line of exception.log nothing change

`curl localhost:9200/_cat/indices?pretty`  
`yellow open exception_index el6BhZjASvieULHCd3DzRw 5 1 0 0 650b 650b`

when I put my object manually in elasticsearch it work fine  
curl -XPUT 'localhost:9200/exception\_index/siam\_exception/1?pretty' -H 'Content-Type: application/json' -d'  
{  
"Title": "This doc adds a new field",  
"Date&Time": "2018-01-21 09:52:20.654654",  
"Tags": ["SiamCore","SiamGetaway"],  
"Level": "Fatal",  
"Message": [{  
"Root" : " test 1111",  
"ExceptionList" : "test1"  
}]  
}  
'

my query for search

```
curl -XGET 'localhost:9200/_search?pretty' -H 'Content-Type: application/json' -d'
{
   "query": {
       "query_string" : {
           "default_field": "Message.Root",
           "query" : "test*"
       }
   }
}
'

```

the result OK but it doesn't work when object is in exception.log and I want to search it in kibana  
what is my problem  
thank you

---

<div class="post-metadata">

**Author:** ![ppisljar](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ppisljar/32/11588_2.png) [@ppisljar](https://discuss.elastic.co/u/ppisljar)\
**Post date:** [January 23, 2018, 9:40am UTC](https://discuss.elastic.co/t/kibana-no-results-found-for-my-index-pattern/116605/2 "2018-01-23T09:40:08Z")

</div>

i guess i don't really understand your question, but here is what i tried:

- created index pattern using your curl request above
- indexed one document using your curl request above
- went to kibana, added new index pattern
- went to discover, selected your index pattern and i can see the document show up

could you try to explain to me what exactly is the issue you are encountering ?

thanks!

---

<div class="post-metadata">

**Author:** ![Farhad\_Yousefi](https://avatars.discourse-cdn.com/v4/letter/f/b487fb/32.png) [@Farhad\_Yousefi](https://discuss.elastic.co/u/Farhad_Yousefi)\
**Post date:** [January 23, 2018, 10:50am UTC](https://discuss.elastic.co/t/kibana-no-results-found-for-my-index-pattern/116605/3 "2018-01-23T10:50:43Z")

</div>

thank for replying.  
My pattern have been loaded exactly in elasticsearch and when I put my test object (curl -XPUT 'localhost:9200/exception\_index/siam\_exception/1?pretty' ) I can see my result (by running localhost:9200/\_search?pretty) . but I search this pattern in my exception.log and after putting my pattern into elasticsearch, kibana found nothing.  
how can i find my object in kibana.  
thank you

---

<div class="post-metadata">

**Author:** ![ppisljar](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ppisljar/32/11588_2.png) [@ppisljar](https://discuss.elastic.co/u/ppisljar)\
**Post date:** [January 23, 2018, 10:59am UTC](https://discuss.elastic.co/t/kibana-no-results-found-for-my-index-pattern/116605/4 "2018-01-23T10:59:44Z")

</div>

how did you put your pattern into elasticsearch ? (what did you use to index that document)  
it seems indexing didn't work as expected ?

---

<div class="post-metadata">

**Author:** ![Farhad\_Yousefi](https://avatars.discourse-cdn.com/v4/letter/f/b487fb/32.png) [@Farhad\_Yousefi](https://discuss.elastic.co/u/Farhad_Yousefi)\
**Post date:** [January 23, 2018, 11:03am UTC](https://discuss.elastic.co/t/kibana-no-results-found-for-my-index-pattern/116605/5 "2018-01-23T11:03:58Z")

</div>

```
curl -XPUT 'localhost:9200/exception_index?pretty' -H 'Content-Type: application/json' -d'
{
  "mappings": {
    "siam_exception": { 
      "dynamic": "true", 
      "properties": { 
        "Title": { "type": "text" }, 
        "Date&Time": { "type": "text" },
        "Tags": { "type": "text" },
        "Level": { "type": "text" },  
        "@timestamp": {"type": "date"},
        "Message": { 
         "dynamic": "true", 
         "properties": { 
           "Root": { "type": "text" },  
           "ExceptionList": { "type": "text" } 
          }
        }    
      }
    }
  }
}
'
```

---

<div class="post-metadata">

**Author:** ![Farhad\_Yousefi](https://avatars.discourse-cdn.com/v4/letter/f/b487fb/32.png) [@Farhad\_Yousefi](https://discuss.elastic.co/u/Farhad_Yousefi)\
**Post date:** [January 23, 2018, 11:12am UTC](https://discuss.elastic.co/t/kibana-no-results-found-for-my-index-pattern/116605/6 "2018-01-23T11:12:29Z")

</div>

and it is the my object in exception.log

```
"siam_exception":{
 "Title": "exception",
 "Date&Time": "2018-01-21 09:52:20.759950",
 "Tags": "SiamCore",
 "Level": "Fatal", 
 "Message":[
   {
     "Root": "(MessageFormat", 
     "ExceptionList": "RecoverableException"
   }
 ] 
}
```

---

<div class="post-metadata">

**Author:** ![Farhad\_Yousefi](https://avatars.discourse-cdn.com/v4/letter/f/b487fb/32.png) [@Farhad\_Yousefi](https://discuss.elastic.co/u/Farhad_Yousefi)\
**Post date:** [January 23, 2018, 11:41am UTC](https://discuss.elastic.co/t/kibana-no-results-found-for-my-index-pattern/116605/7 "2018-01-23T11:41:22Z")

</div>

Is there any help? it really drive me crazy. thx

---

<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:** [February 20, 2018, 11:41am UTC](https://discuss.elastic.co/t/kibana-no-results-found-for-my-index-pattern/116605/8 "2018-02-20T11:41:35Z")

</div>

Closed on February 20, 2018, 11:41am UTC

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