要不要再翻翻文档呢?

liunx在启动packetbeat时如何使用命令行修改yml参数

Beats | 作者 crbEs | 发布于2019年12月30日 | 阅读数:2529

packetbeat.protocols:
- type: http
# Configure the ports where to listen for HTTP traffic. You can disable
# the HTTP protocol by commenting out the list of ports.
ports: [8080],修改此属性
已邀请:

crbEs

赞同来自:

 -E "packetbeat.protocols[5].ports=[8124]"  按照官方文档写的不行,type前面有个横杠不就是个list吗?有大神知道吗

要回复问题请先登录注册