# Reindex drops timestamp

**URL:** <https://discuss.elastic.co/t/reindex-drops-timestamp/217495>\
**Category:** Kibana\
**Created:** [February 1, 2020, 12:42pm UTC](https://discuss.elastic.co/t/reindex-drops-timestamp/217495 "2020-02-01T12:42:15Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Andrii](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/andrii/32/78646_2.png) [@Andrii](https://discuss.elastic.co/u/Andrii)\
**Post date:** [February 1, 2020, 12:42pm UTC](https://discuss.elastic.co/t/reindex-drops-timestamp/217495/1 "2020-02-01T12:42:16Z")

</div>

I'm trying to reindex data from one index to another.  
the query is:  
POST \_reindex  
{  
"source": {"index": "log-plt-2020.01.26" },  
"dest": { "index": "log-plt-2020.01.26-1" }  
}  
I see that all dockuments got copied:  
_GET \_cat/indices?v&index=log-plt-2020.01.26_  
_health status index uuid pri rep docs.count docs.deleted store.size pri.store.size_  
_green open log-plt-2020.01.26 8R2iBv3qSW-ybSAau25pZg 3 1 16731072 0 6.5gb 3.2gb_  
_green open log-plt-2020.01.26-1 wYKJgLK1R3eMpfGLtFlRkA 3 1 16731072 0 6.7gb 3.3gb_

But when I created a new index pattern for log-plt-2020.01.26-1 Kibana didn't show anything. Then I recreated the index pattern and specify that "I don't want to use the Time Filter". After that, I was able to see all data in the new index. But all events were without @timestamp field. Am I did something wrong?

---

<div class="post-metadata">

**Author:** ![spinscale](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/spinscale/32/25011_2.png) [@spinscale](https://discuss.elastic.co/u/spinscale)\
**Post date:** [February 3, 2020, 3:23pm UTC](https://discuss.elastic.co/t/reindex-drops-timestamp/217495/2 "2020-02-03T15:23:01Z")

</div>

Can you check the mapping for the `@timestamp` field in your new index? What does it look like?

---

<div class="post-metadata">

**Author:** ![Andrii](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/andrii/32/78646_2.png) [@Andrii](https://discuss.elastic.co/u/Andrii)\
**Post date:** [February 3, 2020, 3:35pm UTC](https://discuss.elastic.co/t/reindex-drops-timestamp/217495/3 "2020-02-03T15:35:23Z")

</div>

Here is a snippet of my mapping for this index:  
"properties": {

```
      "@timestamp": { "type": "date" },           

      "message": { "type": "text" },

      "stacktrace": { "type": "text" },
```

---

<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:** [March 2, 2020, 3:35pm UTC](https://discuss.elastic.co/t/reindex-drops-timestamp/217495/4 "2020-03-02T15:35:38Z")

</div>

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