input{
kafka {
bootstrap_servers => "localhost:9092"
topics => ["test"]
consumer_threads => 1
}
}
filter{
mutate{
copy => {
"@timestamp" => "test"
}
}
}
output{
stdout { codec => rubydebug }
}当用logstash的copy @timestamp时报错,其它字段(@version, message)都没有问题。
logstash 5.6.3 filter mutate cope
Logstash配置错误解析
最新推荐文章于 2025-11-12 14:04:21 发布
1782

被折叠的 条评论
为什么被折叠?



