I am collecting lat/lon data for a moving object containing three fields.
"geo": "lat lon",
I am also receiving heading information from a different source.
The lat/lon is collected hourly, heading at random intervals.
I want to use the heading data to plot the direction of an icon on the MAPS app. But because the data is not in the same document this doesn't look like a straight forward job. I tried using term joins but I don't think they can do what I want.
Is there any way Kibana can somehow pull the closest heading data (based on @timestamp) into the document containing the lat/lon?