met strange issue.
created one ingest with condition by Kibana, and tested pass with my data in ingest edit by 'Add documents'. but failed when I use 'Dev Tools' in kibana, 'PUT' same data. why?
will be failed, paste the follow data in 'Dev Tools'.
POST filebeat-up-plus-app1-7.12.0-2021.04.25-000001/_doc?pipeline=test_ingest-copy
{
"message": """2021-04-15 00:04:49.322 [INFO ][my-threadpool-executor-6] c.p.p.b.m.service.impl.MaterialsLeaveServiceImpl getBaseUserInfo: {"empAuthStatus":"1","enterpriseId":XXX,"enterpriseName":"XXXXXX","mobilephone":"XXXXX","realname":"XXX","username":XXXXXXXX}"""
}
and error msg:
{
"error" : {
"root_cause" : [
{
"type" : "mapper_parsing_exception",
"reason" : "object mapping for [jsondata] tried to parse field [jsondata] as object, but found a concrete value"
}
],
"type" : "mapper_parsing_exception",
"reason" : "object mapping for [jsondata] tried to parse field [jsondata] as object, but found a concrete value"
},
"status" : 400
}
but when I change data from 'getBaseUserinfo' to 'getBaseUserinfo map' will be passed test in 'Dev Tool'. I don't know why.