So my gratuation project is to monitor a vehicle through IoT technology. I got all the sensors working sending data to logstash and ultimately visualizing it through graphs in Kibana.
Now my goal is to track the vehicle using coordinate maps in Kibana. To do that I started by having logstash read from a file wich is being updated by a python script with some coordinates to simulate movement. Logstash then output to a Elasticsearch index that has a geopoint field to receive the coordinates.
Now the issue that I'm having is that I can't seem to find a way to show only that last location of the vehicle in a way where I would see the point moving in the map. The only way that I got it to work was setting the time range to last 5 seconds, so any aggregation would be unique and the coordinate bucket would only have a single value, if I understood it correctly.
What I'm looking for is a way for me to visualize a single point with the last coordinates sent where the time range would not be only last 5 seconds, since I'll have other graphs that won't work with that time range.
I don't know if I made my self very clear. I hope someone could help me figuring it out.
Thanks in advance!