Some comments:
- in elasticsearch 2.0, you can not use dots in field names anymore
- some inner objects are conflicting. For example
no_bidis first set to0then totruewhich causes conflicts.
Please try to adjust your mapping and provide a full script recreation such as:
PUT logs
PUT logs/logs/_mapping
{
"logs": {
"properties": {
"trace_id": {
"type": "long"
},
"timestamp": {
"type": "long"
},
"headers": {
"type": "object"
},
"body": {
"type": "string"
},
"bids": {
"type": "nested",
"properties": {
"host": {
"type": "string"
},
"uri": {
"type": "string"
},
"reqheaders": {
"type": "object"
},
"reqbody": {
"type": "object"
},
"respheaders": {
"type": "object"
},
"respbody": {
"type": "object"
}
}
}
}
}
}
PUT /logs/logs/1
{
// YOUR DOC HERE
}
It will be then easier to find the issue (and probably you'll be able to fix it by yourself).
Also, please upgrade to 2.0 if you are starting a project or at least read all breaking changes in 2.0 so you won't have to reindex when you will upgrade.