New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Provide an official provision for tie-breaking events with the same @timestamp #1064
Comments
Can you give a bit more details around the need here? Are you simply looking for an official field you can fill with values depending on the context, to help with tie breaking? Or are you also looking for a more prescriptive recommendation of how to do tie breaking in these situations? |
I believe this is something that should be handled by default in the ECS schema, beats and Kibana apps. So that log messages and other events retain their order as much as possible. As it currently stands, log messages/events that are written with the same time lose their order, and require you to manually do a secondary sort. This is something that is not even possible to do in the Kibana logs app, and the tie-breaking field there is fixed (Cannot be changed in the UI) to the not so useful Of course, what kind of field this should be, and how it should be filled, will have to be specified, and beats, Kibana and others will have to be modified for it. |
For data sources that publish such a value, the The EQL search API in Elasticsearch is one example where |
|
Note that based on my quick experiment to workaround this issue, even if you copy I suspect https://discuss.elastic.co/t/not-able-to-sort-data-in-kibana-ui/254102/11 is reporting this same issue. |
Description of the issue:
ECS doesn't currently have an official provision for tie-breaking events with the same
@tiemstamp
. This means that saved queries in Kibana populated by beats and the Kibana logs app don't have a way of doing so and end up displaying such events in the wrong order.This is very inconvenient for log events which can often be written quite fast in succession.
ECS should have a documented official provision for this, and the relevant Kibana apps/plugins and beats pre-loaded objects should be modified to use it by default.
This can be a set of fields that are used for this by default, or a new field dedicated for it that beats and apps should generate.
Any additional context or examples:
The Kibana logs app defaults the tie-breaker field to
_doc
and no longer makes it settable, referring you to the ECS schema, which has no field for this, leaving you between a rock and a hard place.The text was updated successfully, but these errors were encountered: