在 Mapping 里面,将 dynamic 参数设置成 strict 可以拒绝索引包含未知字段的文档。 此条 Tips 由 medcl 贡献。

logstash output exec

Logstash | 作者 pegasus_zhang | 发布于2019年10月21日 | 阅读数:2096

logstash运行这个配置为何在shell上输出为空?
output {
exec {
command => "echo \"%{message}\""
}
}
(message确定是有内容的)
已邀请:

rochy - rochy_he

赞同来自:

output {
exec {
command => "echo %{message}"
}
}

要回复问题请先登录注册