java.lang.IllegalStateException:参数命令必须是
规定
对于
的
exec
</强>
资源,
command
是必需的财产。您的配置文件有
commands
代替。
修改配置为,
agent.sources.src1.type = exec
agent.sources.src1.command = cat /xxxxx/xxxxxx/Xxxxx/xxxxx/test.dat
</code>
而这些属性不属于
file_roll
下沉,删除它们。
agent.sinks.sink1.sink.rollSize = 0
agent.sinks.sink1.idleTimeout = 0
</code>