How to see the data in order of insertion in Data Table Visualization?

I have an array that I need to see in order of insertion.
I charge with logstash:
....
aggregate {
task_id => "%{taskid}"
code =>"
map['fecha_trx'] = event.get('@fecha_trx')
map['numerohc'] = event.get('numerohc')
map['mensajes'] ||= [];
map['mensajes'] << event.get('mensajes');
event.cancel()
"
}
....

Can you describe your use case a little more? I am not sure what you are asking

when I use a Visualize Data Table to show data, I don't have the option to order this field to order that I insert, I only have this options: term, metric:... and custom metric

For example I insert data in this order:

Yelow
Blue
pink

But when I use a Visualize Data Table, Only can to show:
Blue
Pink
Yelow
or
Yelow
Pink
Blue

But I want to show:
Yelow
Blue
pink

The data table visualization shows elasticsearch aggregations results. It is not possible to order elasticsearch aggregation results by document insertion order

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.