Skip to content

[Filebeat] Fix user_agent processor issue with 7.0#10661

Closed
ruflin wants to merge 1 commit intoelastic:6.7from
ruflin:user_agent_fix
Closed

[Filebeat] Fix user_agent processor issue with 7.0#10661
ruflin wants to merge 1 commit intoelastic:6.7from
ruflin:user_agent_fix

Conversation

@ruflin
Copy link
Copy Markdown
Contributor

@ruflin ruflin commented Feb 11, 2019

This is an attempt to solve #10650

The conflicting fields are

  • os.*
  • device.*

These fields are renamed to the old fields if they exist and then the generated key is removed. Right now I check if any of the os_* fields exists but it would be nice to check if os and device are an object but haven't found yet how to do this in painless.

To make this work, all user_agent usage in Filebeat needs the additions below.

This is an attempt to solve elastic#10650

The conflicting fields are

* os.*
* device.*

These fields are renamed to the old fields if they exist and then the generated key is removed. Right now I check if any of the os_* fields exists but it would be nice to check if `os` and `device` are an object but haven't found yet how to do this in painless.
@ruflin
Copy link
Copy Markdown
Contributor Author

ruflin commented Feb 12, 2019

Closing in favor of #10688

@ruflin ruflin closed this Feb 12, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

in progress Pull request is currently in progress.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant