# Index patterns changed their id and scripted fields disappeared

**URL:** <https://discuss.elastic.co/t/index-patterns-changed-their-id-and-scripted-fields-disappeared/165530>\
**Category:** Elasticsearch\
**Created:** [January 24, 2019, 5:59am UTC](https://discuss.elastic.co/t/index-patterns-changed-their-id-and-scripted-fields-disappeared/165530 "2019-01-24T05:59:42Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![gyau](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/gyau/32/37824_2.png) [@gyau](https://discuss.elastic.co/u/gyau)\
**Post date:** [January 24, 2019, 5:59am UTC](https://discuss.elastic.co/t/index-patterns-changed-their-id-and-scripted-fields-disappeared/165530/1 "2019-01-24T05:59:42Z")

</div>

We had logstash to send data continuously to elasticsearch. After we stopped the service, we noticed that all our visualizations showed "Could not locate that index-pattern" and scripted fields were gone, but not the index pattern. However, we noticed that the index pattern had another id.

Is there any way to recover the old index pattern id?

ELK version: 6.5.4

---

<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 21, 2019, 5:59am UTC](https://discuss.elastic.co/t/index-patterns-changed-their-id-and-scripted-fields-disappeared/165530/2 "2019-02-21T05:59:49Z")

</div>

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