Logstash 阻止日志存储配置文件中的注释
我刚刚开始使用Logstash,想知道是否有办法在Logstash配置文件中指定块注释?Logstash 阻止日志存储配置文件中的注释,logstash,logstash-configuration,block-comments,Logstash,Logstash Configuration,Block Comments,我刚刚开始使用Logstash,想知道是否有办法在Logstash配置文件中指定块注释? 这将非常有用,因为我正在测试跨越多行的长grok模式。目前没有可用的块注释。我们只能在需要注释的行的开头使用#进行单行注释 注释也可以在行中的任何位置使用 # this is a comment input { # comments can appear at the end of a line, too # ... }
这将非常有用,因为我正在测试跨越多行的长grok模式。目前没有可用的块注释。我们只能在需要注释的行的开头使用#进行单行注释 注释也可以在行中的任何位置使用
# this is a comment
input { # comments can appear at the end of a line, too
# ...
}