-
Notifications
You must be signed in to change notification settings - Fork 144
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
Event log file gets flooded with copy_fields
processor error
#5299
Comments
Pinging @elastic/elastic-agent-control-plane (Team:Elastic-Agent-Control-Plane) |
Another option is to move the log entry inside the Here is where we're logging it: https://github.com/elastic/beats/blob/f6b8701e8c8034836becb9ccaf3f4b2449fc589f/libbeat/processors/actions/copy_fields.go#L81C4-L87 |
@belimawr I believe the change in beats is a better change, seems weird that a |
Did you mean Even with |
Bump
|
For confirmed bugs, please report:
The
filestream-monitoring
deployed by Elastic-Agent to collect its own logs is flooding the event logs with ancopy_fields
processor error:On my test, that accounted for about 38% of the entries in the event log.
This seems to be coming from the following chain of processors (from
components/filestream-monitoring/beat-rendered-config.yml
):The third and forth processors copy different fields to the same destination, so if the third runs successfully, then the forth will always fail and generate the log message above.
While this can be the intended behaviour (trying to set
data_stream.dataset
from multiple sources), it is flooding our logs.We can use some processor conditions to avoid running the
copy_fields
processor if the field is already present, thus avoiding the flood of debug logs.Steps to reproduce
logs/elastic-agent-8.15.0-25075f/events/*.ndjosn
)The text was updated successfully, but these errors were encountered: