Hello Guys,
I tried migrate my indexes from elasticsearch 1.7 to 2.0, but I
have a lot problem with _timestamp field, and I can't migrate the indexes
because I have this error:
"error" : {
"root_cause" : [ {
"type" : "snapshot_restore_exception",
"reason" : "[my_backup:snapshot_1] cannot restore index [graylog2_19]
because it cannot be upgraded"
} ],
"type" : "snapshot_restore_exception",
"reason" : "[my_backup:snapshot_1] cannot restore index [graylog2_19]
because it cannot be upgraded",
"caused_by" : {
"type" : "illegal_state_exception",
"reason" : "unable to upgrade the mappings for the index
[graylog2_19], reason: [Mapper for [_timestamp] conflicts with existing
mapping in other types:\n[mapper [_timestamp] is used by multiple types.
Set update_all_types to true to update [format] across all types.]]",
"caused_by" : {
"type" : "illegal_argument_exception",
"reason" : "Mapper for [_timestamp] conflicts with existing mapping
in other types:\n[mapper [_timestamp] is used by multiple types. Set
update_all_types to true to update [format] across all types.]"
}
}
},
"status" : 500
This is index number 19 and I have 50...I can't lose my data, anyone knows
how to fix it?.
Link elasticsearch about this topic:
https://www.elastic.co/guide/en/elasticsearch/reference/current/mapping-timestamp-field.html
Thank you.
--
You received this message because you are subscribed to the Google Groups
"Graylog Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/graylog2/0dd7f687-f0ea-4180-a0a8-8af070d4ed0a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.