-
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
Azure Platform Logs: rename identity as identity_name when the value is a string #33654
Conversation
This pull request does not have a backport label.
To fixup this pull request, you need to add the backport labels for the needed
|
ebee8fd
to
ce10c7c
Compare
3e79a47
to
4ff070d
Compare
57b4acc
to
727cc75
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
need a changelog?
Yeah, definitely. |
a427c0d
to
fc978ce
Compare
This pull request is now in conflicts. Could you fix it? 🙏
|
The identity field comes in different flavours, depending on the specific log category. If it comes as a string, the pipeline renames it as identity_name to avoid collisions when the value is an object.
I am not setting up this test in the right way
Improves readability as it usually is the last element of the processor definition.
fc978ce
to
fd50989
Compare
Kudos, SonarCloud Quality Gate passed! 0 Bugs No Coverage information |
…is a string (#33654) * Rename identity as identity_name when is a string The identity field comes in different flavors, depending on the specific log category. If it comes as a string, the pipeline renames it as identity_name to avoid collisions when the value is an object. (cherry picked from commit ea9b0cb)
…is a string (#33654) * Rename identity as identity_name when is a string The identity field comes in different flavors, depending on the specific log category. If it comes as a string, the pipeline renames it as identity_name to avoid collisions when the value is an object. (cherry picked from commit ea9b0cb)
…is a string (#33654) (#33959) * Rename identity as identity_name when is a string The identity field comes in different flavors, depending on the specific log category. If it comes as a string, the pipeline renames it as identity_name to avoid collisions when the value is an object. (cherry picked from commit ea9b0cb) Co-authored-by: Maurizio Branca <[email protected]>
…is a string (#33654) * Rename identity as identity_name when is a string The identity field comes in different flavors, depending on the specific log category. If it comes as a string, the pipeline renames it as identity_name to avoid collisions when the value is an object. (cherry picked from commit ea9b0cb) # Conflicts: # x-pack/filebeat/module/azure/fields.go
…ty_name when the value is a string (#33958) * Azure Platform Logs: rename identity as identity_name when the value is a string (#33654) * Rename identity as identity_name when is a string The identity field comes in different flavors, depending on the specific log category. If it comes as a string, the pipeline renames it as identity_name to avoid collisions when the value is an object. (cherry picked from commit ea9b0cb) * Remove extra changelog entries Co-authored-by: Maurizio Branca <[email protected]>
…is a string (#33654) * Rename identity as identity_name when is a string The identity field comes in different flavors, depending on the specific log category. If it comes as a string, the pipeline renames it as identity_name to avoid collisions when the value is an object. (cherry picked from commit ea9b0cb) # Conflicts: # x-pack/filebeat/module/azure/fields.go
…ity_name when the value is a string (#33957) * Azure Platform Logs: rename identity as identity_name when the value is a string (#33654) * Rename identity as identity_name when is a string The identity field comes in different flavors, depending on the specific log category. If it comes as a string, the pipeline renames it as identity_name to avoid collisions when the value is an object. (cherry picked from commit ea9b0cb) # Conflicts: # x-pack/filebeat/module/azure/fields.go * Remove extra entries in changelog * Update fields.go * Remove extra entries in changelog Co-authored-by: Maurizio Branca <[email protected]> Co-authored-by: Maurizio Branca <[email protected]>
…is a string (#33654) * Rename identity as identity_name when is a string The identity field comes in different flavors, depending on the specific log category. If it comes as a string, the pipeline renames it as identity_name to avoid collisions when the value is an object.
What does this PR do?
If the
identity
field comes as astring
, the pipeline renames it asidentity_name
to avoid collisions when the value is anobject
.Why is it important?
The identity field comes in different flavors: depending on the specific log category, it can be an
object
or astring
.We can avoid conflicts in a well-known field by renaming it according to its type.
Checklist
CHANGELOG.next.asciidoc
orCHANGELOG-developer.next.asciidoc
.Related issues