Skip to content

fix(azure logs) interim fix to support non-standard log events#15205

Merged
zmoog merged 7 commits intomainfrom
zmoog/fix/azure/azure-logs/categoryvalue-and-created-date-time
Sep 15, 2025
Merged

fix(azure logs) interim fix to support non-standard log events#15205
zmoog merged 7 commits intomainfrom
zmoog/fix/azure/azure-logs/categoryvalue-and-created-date-time

Conversation

@zmoog
Copy link
Contributor

@zmoog zmoog commented Sep 5, 2025

Proposed commit message

Interim fix to start supporting non-standard log events.

  • sign-in logs: Rename the created_date_time field as time, when this is not set.
  • routing: Rename CategoryValue as category to fix routing

Checklist

  • I have reviewed tips for building integrations and this pull request is aligned with them.
  • I have verified that all data streams collect metrics or logs.
  • I have added an entry to my package's changelog.yml file.
  • I have verified that Kibana version constraints are current according to guidelines.
  • I have verified that any added dashboard complies with Kibana's Dashboard good practices

Related issues

@zmoog zmoog self-assigned this Sep 5, 2025
@zmoog zmoog added Integration:azure Azure Logs Team:Obs-InfraObs Observability Infrastructure Monitoring team [elastic/obs-infraobs-integrations] bugfix Pull request that fixes a bug issue Team:obs-ds-hosted-services Observability Hosted Services team [elastic/obs-ds-hosted-services] labels Sep 5, 2025
Some Azure services generate log without the standard `time` field,
and use the non-standard `created_date_time` field instead.

This fix renames the `created_date_time` field as `time`, when this is
not set.
@zmoog zmoog force-pushed the zmoog/fix/azure/azure-logs/categoryvalue-and-created-date-time branch from 393d276 to 6c4977d Compare September 5, 2025 11:11
@zmoog zmoog marked this pull request as ready for review September 5, 2025 11:12
@zmoog zmoog requested review from a team as code owners September 5, 2025 11:12
@elastic-vault-github-plugin-prod
Copy link

elastic-vault-github-plugin-prod bot commented Sep 5, 2025

🚀 Benchmarks report

To see the full report comment with /test benchmark fullreport

@zmoog zmoog requested review from efd6 and muthu-mps September 11, 2025 07:49
Copy link
Contributor

@muthu-mps muthu-mps left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Left a comment on Reference link. Change looks good to me!

@elasticmachine
Copy link

💚 Build Succeeded

History

cc @zmoog

@elastic-sonarqube
Copy link

Quality Gate failed Quality Gate failed

Failed conditions
66.7% Coverage on New Code (required ≥ 80%)

See analysis details on SonarQube

@zmoog zmoog merged commit c376a09 into main Sep 15, 2025
8 of 9 checks passed
@zmoog zmoog deleted the zmoog/fix/azure/azure-logs/categoryvalue-and-created-date-time branch September 15, 2025 12:02
@elastic-vault-github-plugin-prod

Package azure - 1.28.7 containing this change is available at https://epr.elastic.co/package/azure/1.28.7/

tehbooom pushed a commit to tehbooom/integrations that referenced this pull request Nov 19, 2025
…ic#15205)

Interim fix to start supporting non-standard log events.

- sign-in logs: Rename the `created_date_time` field as `time`, when this is not set.
- routing: Rename CategoryValue as category to fix routing
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bugfix Pull request that fixes a bug issue Integration:azure Azure Logs Team:obs-ds-hosted-services Observability Hosted Services team [elastic/obs-ds-hosted-services] Team:Obs-InfraObs Observability Infrastructure Monitoring team [elastic/obs-infraobs-integrations]

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants