NYC's Blog - 修改Logstash的@timestamp字段为业务时间 的评论 http://niyanchun.com/modify-attimestamp-field-in-logstash.html Logstash在处理数据的时候,会自动生成一个字段@timestamp,默认该字段存储的是Logstash收到消息/事件(event)的时间。很多时候我们用ELK是处理日志的,日志里面一般都是... NYC http://niyanchun.com/modify-attimestamp-field-in-logstash.html/comment-page-1#comment-690 2021-08-25T17:12:44+08:00 变了呀,业务时间就指的是日志里面的时间,默认是采集时间 bekey http://niyanchun.com/modify-attimestamp-field-in-logstash.html/comment-page-1#comment-689 2021-08-21T09:34:05+08:00 是我看花眼了吗,@timestamp始终没见转换为实际业务时间啊 NYC http://niyanchun.com/modify-attimestamp-field-in-logstash.html/comment-page-1#comment-598 2020-05-13T10:10:35+08:00 主要原因还是按照最佳实践都应该用UTC时间,所以需求按照最佳实践来说不是很重要 W_Z_C http://niyanchun.com/modify-attimestamp-field-in-logstash.html/comment-page-1#comment-592 2020-03-27T10:55:59+08:00 果然可以,看了半天文档竟然没有发现这个插件,也是醉了…… NYC http://niyanchun.com/modify-attimestamp-field-in-logstash.html/comment-page-1#comment-535 2019-02-05T11:06:15+08:00 @timestamp的格式好像是不能改的,至少Date插件里面没有提供修改的方式。 VPS234 http://niyanchun.com/modify-attimestamp-field-in-logstash.html/comment-page-1#comment-534 2019-02-01T12:22:04+08:00 这个时间格式可以改的吧 NYC http://niyanchun.com/modify-attimestamp-field-in-logstash.html/comment-page-1#comment-512 2018-11-28T09:08:42+08:00 个人觉得这个东西应该让用户可以指定,虽然用date插件可以实现,但还是麻烦 NYC http://niyanchun.com/modify-attimestamp-field-in-logstash.html/comment-page-1#comment-511 2018-11-28T09:07:54+08:00 客气~ guankai http://niyanchun.com/modify-attimestamp-field-in-logstash.html/comment-page-1#comment-510 2018-11-28T08:20:23+08:00 这个我前两天也刚好搞了。。 kubaoya http://niyanchun.com/modify-attimestamp-field-in-logstash.html/comment-page-1#comment-509 2018-11-16T20:14:55+08:00 学习,谢谢分享