Object mapping for [agent] tried to parse field [agent] as object, but found a concrete value

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
}
}
},

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