ilogtail
ilogtail copied to clipboard
[FEATURE]: Support for multiple input configurations
Concisely describe the proposed feature Ability to configure multiple log collection inputs in one yaml configuration file
可以在一个yaml配置文件中配置多个input
For example
enable: true
inputs:
- Type: file_log
LogPath: /data/logs/StarRocks
FilePattern: '*.log'
- Type: file_log
LogPath: /data/starrocks/
FilePattern: '*.INFO'
flushers:
- Type: flusher_stdout
OnlyStdout: true
The log collection input configuration of community open source components like beats and fluent-bit is also more like the above method, so the configuration file is easier to use.
beats、fluent-bit开源组件的采集输入配置也更像上面的这种方式,这样配置文件使用也简单一些。 Describe the solution you'd like (if any)
Additional comments
@yyuuttaaoo 关注下,后续考虑支持下
我刚刚也发现好像不支持多个input,但是input是个数组。
user_yaml_config.d/下可以创建多个yaml,支持热加载