Hello,
I cant map correctly the following field:
http.request.body.original
Currently part of my mapping looks like that for my apm indices:
"http" : {
"dynamic" : "false",
"properties" : {
"request" : {
"properties" : {
"body" : {
"properties" : {
"bytes" : {
"type" : "long"
},
"content" : {
"type" : "keyword",
"fields" : {
"text" : {
"type" : "text",
"norms" : false
}
},
"ignore_above" : 1024
}
}
},
"bytes" : {
"type" : "long"
},
"headers" : {
"type" : "object",
"dynamic" : "true"
},
"method" : {
"type" : "keyword",
"ignore_above" : 1024
},
"referrer" : {
"type" : "keyword",
"ignore_above" : 1024
},
"socket" : {
"type" : "object",
"dynamic" : "true"
}
}
}
But i want to make http field dynamic and also add the http.request.body.original field
i use the following code in order to create a mapping for that field in kibana:
PUT apm-*/_mapping
{
"http": {
"dynamic": "true",
"properties": {
"request": {
"properties": {
"body": {
"properties": {
"original": {
"type": "text",
"index": true
}
}
}
}
}
}
}
}
Nevertheless as the logs and image below show i receive a mapping exception:
"type" : "mapper_parsing_exception",
"reason" : "Root mapping definition has unsupported parameters: [http : {dynamic=true, properties={request={properties={body={properties={original={index=true, type=text}}}}}}}]"
How can i fix that problem?
Thank you