I have some data which is along the following format;
{"event":
{
"Timestamp":"2019-01-16 22:20:26.123"
"Stream":"123456",
"Id":"789",
"Data": [
{
"name":"0",
"rank":"1",
"score":"34.56787"
},
{
"name":"1",
"rank":"3",
"score":"4.74287"
},
{
"name":"2",
"rank":"2",
"score":"12.54863"
},
{
"name":"3",
"rank":"4",
"score":"1.78916"
},
]
}
}
We get around 800,000 of these per day and have around 50 data elements in each one.
I am trying to find the best way to return the top 2 rank name and score for each event, e.g.;
1_name = 0
1_score = 34.56787
2_name = 2
2_score = 12.54863
And another search to timechart all scores by name
... View more