-
Notifications
You must be signed in to change notification settings - Fork 4.9k
New issue
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
filebeat.config.inputs to load external configuration produces error #34613
Comments
This issue doesn't have a |
If I keep using "log" rather then "filestream" I see:
|
I also facing a similar error. The error is: {"log.level":"error","@timestamp":"2023-03-22T17:11:22.014Z","log.logger":"input","log.origin":{"file.name":"input-logfile/manager.go","file.line":182},"message":"filestream input with ID 'spark-executors-file-stream-e40cd871-dabd-46b5-a245-decac624262a' already exists, this will lead to data duplication, please use a different ID","service.name":"filebeat","ecs.version":"1.6.0"} My filebeat configuration is: filebeat.autodiscover:
providers:
- type: kubernetes
templates:
- condition:
equals:
kubernetes.namespace: "spark"
config:
- type: container
paths:
- /var/log/containers/*-${data.kubernetes.container.id}.log
multiline.type: pattern
multiline.pattern: '^[[:space:]]+(at|\.{3})[[:space:]]+\b|^Caused by:|^java'
multiline.negate: false
multiline.match: after
- type: log
id: spark-executors-file-stream-${data.kubernetes.node.uid}
paths:
- /var/log/spark/work/*/*/stdout
- /var/log/spark/work/*/*/stderr
processors:
- add_cloud_metadata:
- add_host_metadata:
output.logstash:
hosts: ["logstash:5044"] I am using the latest version i.e 8.6.2 for filebeat. I thought the bug has been fixed in #31512. |
Hi, |
Same problem on my side. Any solutions ? |
Upgraded to Filebeat 8.9.1, and the error disappeared. |
Hi! We're labeling this issue as |
We're migrating from filebeat 6.8 to 7.17 and we're finding that using:
conf.d/httpd.yml
This gives the following log:
The main concern being:
2023-02-20T10:50:03.635Z ERROR [input] input-logfile/manager.go:183 filestream input with ID 'httpd-request-log' already exists, this will lead to data duplication, please use a different ID
There is only one input so this shouldn't be displayed, if the contents are directly loaded we don't see this message
The text was updated successfully, but these errors were encountered: