# Change index patterns export/import

**URL:** <https://discuss.elastic.co/t/change-index-patterns-export-import/253726>\
**Category:** Kibana\
**Created:** [October 29, 2020, 4:16pm UTC](https://discuss.elastic.co/t/change-index-patterns-export-import/253726 "2020-10-29T16:16:38Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![cjabrantes](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/cjabrantes/32/78091_2.png) [@cjabrantes](https://discuss.elastic.co/u/cjabrantes)\
**Post date:** [October 29, 2020, 4:16pm UTC](https://discuss.elastic.co/t/change-index-patterns-export-import/253726/1 "2020-10-29T16:16:38Z")

</div>

Hi all,

I m trying to change a few index patterns.  
Since there are already a few visualizations i want to avoid having to change all visualizations.

So my idea was export the index pattern, change, import it again, should this work?

Problem:  
if i export and import - it gives success.  
If i export , change and import - it fails with SyntaxError: Unexpected end of JSON input

The change is just in the title, something like:

from:  
"title": "lab:my-logs-\*"

to:  
"title": "lab-0:my-logs-\*"

by the way will this change the used indices in Elastic? only here i see the reference to them.  
Any ideas?

version-7.5.2

Thanks,

---

<div class="post-metadata">

**Author:** ![cjabrantes](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/cjabrantes/32/78091_2.png) [@cjabrantes](https://discuss.elastic.co/u/cjabrantes)\
**Post date:** [October 29, 2020, 4:55pm UTC](https://discuss.elastic.co/t/change-index-patterns-export-import/253726/2 "2020-10-29T16:55:53Z")

</div>

nevermind...i think the problem was the tool to format json.

can be closed.

---

<div class="post-metadata">

**Author:** ![myasonik](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/myasonik/32/62369_2.png) [@myasonik](https://discuss.elastic.co/u/myasonik)\
**Post date:** [October 29, 2020, 7:30pm UTC](https://discuss.elastic.co/t/change-index-patterns-export-import/253726/3 "2020-10-29T19:30:32Z")

</div>


