快速开始
采集主机日志
wget https://ilogtail-community-edition.oss-cn-shanghai.aliyuncs.com/latest/ilogtail-latest.linux-amd64.tar.gz
tar -xzvf ilogtail-latest.linux-amd64.tar.gz
cd ilogtail-<version>enable: true
inputs:
- Type: file_log # 文件输入类型
LogPath: . # 文件路径Glob匹配规则
FilePattern: simple.log # 文件名Glob匹配规则
flushers:
- Type: flusher_stdout # 标准输出流输出类型
OnlyStdout: truecd user_yaml_config.d
wget https://raw.githubusercontent.com/alibaba/ilogtail/main/example_config/quick_start/user_yaml_config.d/file_simple.yaml
cd -更多采集配置
Last updated