在Logstash中,agent命令行参数有什么作用吗?它被弃用了吗?我没有找到太多关于它的文档,在我测试的(简单)案例中,添加或删除似乎没有什么不同。
发布于 2015-08-19 23:16:44
我认为这个参数没有任何作用,因为它不再存在于documentation中
发布于 2015-08-19 23:29:33
运行最新的Logstash版本,我看到以下内容:
Usage: logstash <command> [command args]
Run a command with the --help flag to see the arguments.
For example: logstash agent --help
Available commands:
agent - runs the logstash agent
version - emits version info about this logstash所以agent仍然是一个有效的论点。因为它实际上是唯一可用的运行模式,所以它是可选的,并且总是隐含的。
https://stackoverflow.com/questions/32099113
复制相似问题