我的日志值为5.0278483e + 7格式。 bu ES完全忽略具有此类值的文档。 例如
5.0278483e+7,31504.0,172800.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.99,0.0,6732.0,3.1596388e+7,0.0,0.0,0.0,0.0,0.0,0.0,58.0,61973.0,8640.0,0.0,12.0,6732.0,8640.0,1000.0,0.0,0.0,0.0,0.0,72.32,20.2,8640.0,8640.0,7684763.0,101250.0,5.2743465e+7,0.0,0.0,6.219406e+7,10125
我必须做什么?
答案 0 :(得分:0)
我不确定,但似乎流利的是在每个字段中添加引号:"首先(计数)":" 2e + 3"。 以下是有效的(没有引号)
POST /test/doc
{
"@timestamp" : "2016-09-07",
"first (count)": 2e+3
}
w/o quotes e_notation working!
same but with quotes "first (count)": "2e+3" not working
仅供参考:但正常表示法带引号也是......
{
"@timestamp" : "2016-09-07",
"first (count)": "9999"
}