请问如何将message中的时间覆盖@timestamp的时间?message时间格式为:14:29:53.628
我logstash的grok配置为:
grok {
match => ["message", "%{TIMESTAMP_ISO8601:logdate}"]
}
date {
match => ["logdate", "HH:mm:ss.SSS"]
target => "@timestamp"
}
message时间无法传递给@timestamp,请问各位大神正确配置应该是怎样的?
我logstash的grok配置为:
grok {
match => ["message", "%{TIMESTAMP_ISO8601:logdate}"]
}
date {
match => ["logdate", "HH:mm:ss.SSS"]
target => "@timestamp"
}
message时间无法传递给@timestamp,请问各位大神正确配置应该是怎样的?
2 个回复
strglee
赞同来自:
strglee
赞同来自: