Is there a way to update index-pattern _id?

I have had to recreate some index-patterns but they have created with random id's

example:

index-pattern:29adfc30-09cb-11e9-9616-6fa1143e677c","_score":3.0726933,"_source":{"index-pattern":{"title":"elastalert*","timeFieldName":"@timestamp","fields":"[{\"name\":\"@timestamp\",\"type\":\"date\",\"count\":0,\"scripted\":false,\"searchable\":true,\"aggregatable\":true,\"readFromDocValues\":true}

"_index":".kibana_1","_type":"doc","_id":"index-pattern:a31a3ca0-3e8c-11e9-8a92-9533e7544ef7","_score":3.0726933,"_source":{"index-pattern":{"title":"logs-endpoint-*","timeFieldName":"@timestamp","fields":"

previously the index-pattern was the same as the title - is there a way to change this as its broken some of the associated mappings and visualizations.

Self Solved :slight_smile:

exported the index-pattern using saved-objects
edited the _id in text editor
deleted the faulty index-patterns in saved objects
imported index-pattern from the edited file

1 Like

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