date {
match => ["logtime","HH:mm:ss,SSS","ISO8601"]
target => "logtime1"
locale => "cn"
timezone => "Asia/Shanghai"
}
配了这个后,取出的时间
logtime
13:43:12,009
logtime1
2018-01-01T05:43:12.009Z
match => ["logtime","HH:mm:ss,SSS","ISO8601"]
target => "logtime1"
locale => "cn"
timezone => "Asia/Shanghai"
}
配了这个后,取出的时间
logtime
13:43:12,009
logtime1
2018-01-01T05:43:12.009Z
1 个回复
zyy
赞同来自: