We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
我尝试一个配置文件里配置多个input插件采集不同格式的文件,但无法正常采集到,,想咨询如何在一个配置中配置多个inpu插件采集不同格式的文件? 写出inputs的配置如下:
apiVersion: v1 kind: ConfigMap metadata: name: ilogtail-user-cm namespace: kube-system data: python-json.yaml: | enable: true inputs: - Type: file_log LogPath: "/data/logs/" FilePattern: "info.log" MaxDepth: 2 processors: - Type: processor_split_log_regex SplitRegex: ^\[\s?\S+].* SplitKey: content PreserveOthers: true flushers: - Type: flusher_kafka_v2 Brokers: ... enable: true inputs: - Type: file_log LogPath: "/data/logs/" FilePattern: "*.json" MaxDepth: 2 processors: - Type: processor_json SplitKey: content KeepSource: false ExpandDepth: 1 ExpandConnector: "" flushers: - Type: flusher_kafka_v2 Brokers:
The text was updated successfully, but these errors were encountered:
No branches or pull requests
我尝试一个配置文件里配置多个input插件采集不同格式的文件,但无法正常采集到,,想咨询如何在一个配置中配置多个inpu插件采集不同格式的文件?
写出inputs的配置如下:
The text was updated successfully, but these errors were encountered: