Skip to content

Conversation

@zmoog
Copy link
Contributor

@zmoog zmoog commented Dec 10, 2025

Proposed commit message

Fix conditionals to use the correct field before attempting a field rename operation.

The conditionals are checking the existence of the wrong field audit.stageTimestamp, so the rename processor fails with the "field [kubernetes.audit.stageTimestamp] already exists" error.

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
@elastic-vault-github-plugin-prod

🚀 Benchmarks report

To see the full report comment with /test benchmark fullreport

@zmoog zmoog added Team:obs-ds-hosted-services Observability Hosted Services team [elastic/obs-ds-hosted-services] bugfix Pull request that fixes a bug issue labels Dec 11, 2025
@zmoog zmoog self-assigned this Dec 11, 2025
@zmoog zmoog marked this pull request as ready for review December 11, 2025 09:08
@zmoog zmoog requested a review from a team as a code owner December 11, 2025 09:08
@zmoog zmoog requested a review from chemamartinez December 11, 2025 09:11
@elasticmachine
Copy link

💚 Build Succeeded

History

cc @zmoog

@zmoog
Copy link
Contributor Author

zmoog commented Dec 11, 2025

I ran a quick test on Kind and the integration seems to work correctly, I see no errors so far:

image
@zmoog zmoog merged commit 5a5d30c into main Dec 11, 2025
7 checks passed
@zmoog zmoog deleted the zmoog/kubernetes/audit_logs/fix-conditionals branch December 11, 2025 12:34
@elastic-vault-github-plugin-prod

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

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:kubernetes Kubernetes Team:obs-ds-hosted-services Observability Hosted Services team [elastic/obs-ds-hosted-services]

5 participants