logstash-elasticsearch: sort data by timestamp

ぃ、小莉子 提交于 2020-01-06 15:00:11

问题


I centralize logfiles into one logfile by using logstash and for each event I have timestamp(the original one). Now, my last challenge it to get this data sorted by timestamp(if possible on real-time thats better).

my timestamp format is: yyyy-MM-dd HH:mm:ss

Now, I can make any change in the format/ file format in order to make it work, as long as it stays on our servers.

What's the best way to sort my data? any ideas?

Thanks in advance!

来源:https://stackoverflow.com/questions/30188847/logstash-elasticsearch-sort-data-by-timestamp

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!