我是vega的新手,我需要知道弹性搜索中是否有以下示例数据,如何格式化vega中的代码以正确解析它们。 请记住,我需要解析它们取决于时间戳。
{
"took": 4,
"timed_out": false,
"_shards": {
"total": 5,
"successful": 5,
"skipped": 0,
"failed": 0
},
"hits": {
"total": 288,
"max_score": 1,
"hits": [
{
"_index": "test index",
"_type": "timeWindow",
"_id": "rC_OkmoBUu7gT1VYBBFh",
"_score": 1,
"_source": {
"timestamp": "2018-09-10T00:20:00",
"first INDICATORS": {
"standard deviation": 36.213503918271975,
}
"Second INDICATORS":{
" Betweeness":0.3472
}
"Third Indicator":{
"centrality":0.2221
}
我尝试使用:format:{property:"hits.hits"}