I have a field called start.point and end.point in my logs. We can assume it has values in x and y coordinates.
A part of my raw logs looks like this:
... , "start" : { "time_s" : 1234 , "point" : [2.5,5.5]}, "end" : { "time_s" : 2344 , "point" : [9.5,8.5]}, ...
And in the list view, when I select the fields it shows in this format:
start.point{} = 2.5 start.point{} = 5.5 end.point{} = 9.5 end.point{} = 2.5
Now, all I want to do is calculate the distance from start point to the end point and construct a dasbboard that shows the distance graph. The formula is: √[(x2 – x1)^2 + (y2 – y1)^2]. However, I am having difficulty extracting the values x1, y1 and x2, y2 from the field start.point and end.point.
... View more