Hi All,
I am new to ELK and we are moving our indices from ELK7 to ELK8. However, i am getting error while reindexing the existing indices
"object mapping for [agent] tried to parse field [agent] as object, but found a concrete value"
Welcome!
It might be because you did not set the same mapping for both indices.
It seems indices are having different type of mapping:
Indices example 1:
"syst-jira-apdex-2023-03" : {
"mappings" : {
"properties" : {
"@timestamp" : {
"type" : "date"
},
"agent" : {
"properties" : {
"ephemeral_id" : {
"type" : "text",
"fields" : {
"keyword" : {
"type" : "keyword",
"ignore_above" : 256
Indices example 2:
syst-confluence-access-2023-05-29" : {
"mappings" : {
"properties" : {
"@timestamp" : {
"type" : "date"
},
"agent" : {
"type" : "text",
"fields" : {
"keyword" : {
"type" : "keyword",
"ignore_above" : 256
}
}
},
© 2020. All Rights Reserved - Elasticsearch
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant logo are trademarks of the Apache Software Foundation in the United States and/or other countries.