Open FireBurn opened 1 year ago
This issue doesn't have a Team:<team>
label.
If I keep using "log" rather then "filestream" I see:
2023-02-20T11:18:39.029Z WARN [cfgwarn] log/input.go:89 DEPRECATED: Log input. Use Filestream input instead.
2023-02-20T11:18:39.030Z INFO [input] log/input.go:171 Configured paths: [/apps/was/httpd/logs/request.log] {"input_id": "690947f6-d989-4c2e-bc23-c0ea773bed79"}
2023-02-20T11:18:39.030Z INFO [crawler] beater/crawler.go:106 Loading and starting Inputs completed. Enabled inputs: 0
2023-02-20T11:18:39.033Z INFO cfgfile/reload.go:164 Config reloader started
2023-02-20T11:18:39.034Z INFO [input] log/input.go:171 Configured paths: [/apps/was/httpd/logs/request.log] {"input_id": "cecbd7f0-524c-4107-8cf4-dd0881cb4b14"}
2023-02-20T11:18:39.034Z INFO cfgfile/reload.go:224 Loading of config files completed.
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, I'm facing the same problem with filebeat 8.7.0.
Same problem on my side. Any solutions ?
The same issue with Filebeat 8.6.1.
Might be related to the issue https://github.com/elastic/beats/issues/31767 (fixed in 8.9.0) and to https://github.com/elastic/beats/issues/36379.
Upgraded to Filebeat 8.9.1, and the error disappeared.
Hi! We just realized that we haven't looked into this issue in a while. We're sorry!
We're labeling this issue as Stale
to make it hit our filters and make sure we get back to it as soon as possible. In the meantime, it'd be extremely helpful if you could take a look at it as well and confirm its relevance. A simple comment with a nice emoji will be enough :+1
.
Thank you for your contribution!
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