# Error: Could not locate that index-pattern-field (id :@timestamp)

**URL:** <https://discuss.elastic.co/t/error-could-not-locate-that-index-pattern-field-id-timestamp/162861>\
**Category:** Kibana\
**Created:** [January 3, 2019, 6:14pm UTC](https://discuss.elastic.co/t/error-could-not-locate-that-index-pattern-field-id-timestamp/162861 "2019-01-03T18:14:46Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![shiveshabhishek](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/shiveshabhishek/32/34533_2.png) [@shiveshabhishek](https://discuss.elastic.co/u/shiveshabhishek)\
**Post date:** [January 3, 2019, 6:14pm UTC](https://discuss.elastic.co/t/error-could-not-locate-that-index-pattern-field-id-timestamp/162861/1 "2019-01-03T18:14:46Z")

</div>

![image](https://us1.discourse-cdn.com/elastic/original/3X/9/7/97ed49acaa4b0ccd6960b5d25a64cc6219281b4c.png)  
Hey, I am using Kibana 6.4.0 with Elasticsearch and getting the above error. I am using Kibana API to create index-pattern and making `timeFieldName` as `@timestamp` . Previously, everything was working fine with the above API requests. But, suddenly I changed nothing and came up with this error and unable to get the logs in the UI! I am unable to figure this out. So, can anybody help me out with the fix of this error and explain what the actual error is?  
Also, the logs hit in the UI can be seen as some values ![image](https://us1.discourse-cdn.com/elastic/original/3X/4/7/47d49bba866e1fe203643481ba529cc9271a6bcd.png) , but the UI is showing nothing. ![image](https://us1.discourse-cdn.com/elastic/original/3X/0/3/034ccfcf830ad8d3dec112f8bfa6fe72b0215f68.png)

---

<div class="post-metadata">

**Author:** ![nickpeihl](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/nickpeihl/32/112622_2.png) [@nickpeihl](https://discuss.elastic.co/u/nickpeihl)\
**Post date:** [January 4, 2019, 10:40pm UTC](https://discuss.elastic.co/t/error-could-not-locate-that-index-pattern-field-id-timestamp/162861/2 "2019-01-04T22:40:55Z")

</div>

Does the `@timestamp` field still exist in your index mapping (`GET myindex/_mapping`)? If so you may try clicking on the "Refresh field list" icon in Management-Index Patterns and see if that fixes it.

You can also check Kibana's server logs for a possible explanation. Feel free to post relevant logs here if you need help.

---

<div class="post-metadata">

**Author:** ![shiveshabhishek](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/shiveshabhishek/32/34533_2.png) [@shiveshabhishek](https://discuss.elastic.co/u/shiveshabhishek)\
**Post date:** [January 5, 2019, 8:52pm UTC](https://discuss.elastic.co/t/error-could-not-locate-that-index-pattern-field-id-timestamp/162861/3 "2019-01-05T20:52:56Z")

</div>

Thanks for replying, @nickpeihl . Yes, the `@timefield` field exists in `_mapping`

```auto
 "mappings" : {
      "fluentd" : {
        "properties" : {
          "@timestamp" : {
            "type" : "date"
          },

```

Kibana server logs doesn't have any error present in it.  
But yes, Refresh field list inside the Management-Index Patterns worked for me 👍 . But, I am getting the same error for other index-patterns. So, for the fix, I'll have to go inside every index-pattern and fix it, a hectic and several steps process. So, can you explain me what the real problem is so that I can look into it ? And if there are other ways to fix it for all at once or permanently remove this error?

---

<div class="post-metadata">

**Author:** ![shiveshabhishek](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/shiveshabhishek/32/34533_2.png) [@shiveshabhishek](https://discuss.elastic.co/u/shiveshabhishek)\
**Post date:** [January 7, 2019, 9:09am UTC](https://discuss.elastic.co/t/error-could-not-locate-that-index-pattern-field-id-timestamp/162861/4 "2019-01-07T09:09:04Z")

</div>

Also, when I get inside the `.kibana_user` index in elasticsearch and get the data in `_search` , it shows the result as:

```auto
   {
        "_index" : ".kibana_abc",
        "_type" : "doc",
        "_id" : "index-pattern:xyz",
        "_score" : 1.0,
        "_source" : {
          "type" : "index-pattern",
          "updated_at" : "2019-01-03T09:47:22.821Z",
          "index-pattern" : {
            "title" : "xyz-*",
"timeFieldName" : "@timestamp",
            "fields" : "[{\"name\":\"_id\",\"type\":\"string\",\"count\":0,\"scripted\":false,\"searchable\":false,\"aggregatable\":false,\"readFromDocValues\":false},{\"name\":\"_index\",\"type\":\"string\",\"count\":0,\"scripted\":false,\"searchable\":false,\"aggregatable\":false,\"readFromDocValues\":false},{\"name\":\"_score\",\"type\":\"number\",\"count\":0,\"scripted\":false,\"searchable\":false,\"aggregatable\":false,\"readFromDocValues\":false},{\"name\":\"_source\",\"type\":\"_source\",\"count\":0,\"scripted\":false,\"searchable\":false,\"aggregatable\":false,\"readFromDocValues\":false},{\"name\":\"_type\",\"type\":\"string\",\"count\":0,\"scripted\":false,\"searchable\":false,\"aggregatable\":false,\"readFromDocValues\":false}]"

```

And on other index-pattern which are working fine, it has fields as:

```auto
   "timeFieldName" : "@timestamp",
            "fields" : "[{\"name\":\"@timestamp\",\"type\":\"date\",\"count\":0,\"scripted\":false,\"searchable\":true,\"aggregatable\":true,\"readFromDocValues\":true},{\"name\":\"_id\",\"type\":\"string\",\"count\":0,\"scripted\":false,\"searchable\":true,\"aggregatable\":true,\"readFromDocValues\":false}, . . . 

```

I thought this might be useful for you .

---

<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 4, 2019, 9:09am UTC](https://discuss.elastic.co/t/error-could-not-locate-that-index-pattern-field-id-timestamp/162861/5 "2019-02-04T09:09:06Z")

</div>

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