Skip to content
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] Ensure user_agent.original cannot be duplicated #6867

Merged
merged 2 commits into from
Jul 10, 2023
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions packages/azure/changelog.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
- version: "1.5.26"
changes:
- description: Handle duplicate user_agent.original field in signinlogs logs
type: bugfix
link: https://github.com/elastic/integrations/pull/6867
- version: "1.5.24"
changes:
- description: Handle firewall events for DNAT'ed requests with attributes
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -274,6 +274,13 @@ processors:
field: azure.signinlogs.properties.user_agent
target_field: user_agent.original
ignore_missing: true
if: 'ctx.user_agent?.original == null'
description: 'Renames the original `azure.signinlogs.properties.user_agent` field to `user_agent.original` to match the ECS field name. The `user_agent.original` field is not touched if the document already has one.'
- remove:
field: azure.signinlogs.properties.user_agent
ignore_missing: true
if: 'ctx.user_agent?.original != null'
description: 'The `azure.signinlogs.properties.user_agent` field is no longer required if the document has a `user_agent.original` field.'
- user_agent:
field: user_agent.original
ignore_missing: true
Expand Down
2 changes: 1 addition & 1 deletion packages/azure/manifest.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: azure
title: Azure Logs
version: 1.5.24
version: 1.5.26
release: ga
description: This Elastic integration collects logs from Azure
type: integration
Expand Down