and I want to display the temperature for the second event given that the events are linked through the id field
Is there a way to do that in kibana?
I searched and found the only way is by de-normalizing the data and propagate
the temperature to the other events but the problem is we don't want to control the data from the source system
Also I tried using logstash for that but the events are not guaranteed to come in specific order and the rate of the events are high so accessing Elasticsearch to get the required data and populate it is also not guaranteed because the event may still not been indexed
I thought the only way is to use another UI framework and control what data to retrieve and what to display (by using a backend layer on top of it to do that)
But I want to keep all the events separate to be able to display the other fields in separate rows (those other fields may differ from one event to another for the same id but the temperature and city will always be the same for the same id)
we know for a fact that any event with name "ShipmentLoaded" will always have "trailerId" field
And one trailer may contain multiple shipments
so the second event (which is having the same shipmentId as the first event) is also belonging to trailerId 10. But this second event is coming from the source system without this trailerId field in it
so I want to show a data table like this:
id trailer id eventName eventTimestamp
1 10 ShipmentLoaded 2021-10-01T10:00:00
1 10 ShipmentPrepared 2021-10-01T10:00:05
Since the lifecyle of a shipment is limited i guess, a shipment can goes through a limited number of steps, a entity centric index may be the good approach for that use case
You can explore other scenarios of enrichiment using Elasticsearch filter in logstash but may not be scalable
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.