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


#1

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()
"
}
....


(Nathan Reese) #2

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


#3

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


(Nathan Reese) #4

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


(system) #5

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