Skip to content

[AWS][CloudWatch] Add record timestamp if missing from the original event - #19078

Merged
Kavindu-Dodan merged 1 commit into
elastic:mainfrom
Kavindu-Dodan:feat/aws-cw-add-timestamp-if-missing
May 20, 2026
Merged

[AWS][CloudWatch] Add record timestamp if missing from the original event#19078
Kavindu-Dodan merged 1 commit into
elastic:mainfrom
Kavindu-Dodan:feat/aws-cw-add-timestamp-if-missing

Conversation

@Kavindu-Dodan

@Kavindu-Dodan Kavindu-Dodan commented May 19, 2026

Copy link
Copy Markdown
Contributor

Proposed commit message

This PR enhance the AWS CloudWatch logs integration by adding @timestamp if the original event does not include one.

This change allows the AWS CW pipeline to be used by any ingest system that does not include a timestamp. For example, FileBeat input does include a timestamp. But another system that ingest through bulk API may not include one.

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
@Kavindu-Dodan
Kavindu-Dodan requested review from a team as code owners May 19, 2026 18:07
Signed-off-by: Kavindu Dodanduwa <kavindu.dodanduwa@elastic.co>
@Kavindu-Dodan
Kavindu-Dodan force-pushed the feat/aws-cw-add-timestamp-if-missing branch from b3ac514 to 3a0eb61 Compare May 19, 2026 18:08
@Kavindu-Dodan Kavindu-Dodan changed the title [AWS][CloudWatch]feat: Add record timestamp if missing from the original event May 19, 2026
@andrewkroh andrewkroh added Integration:aws AWS Team:obs-ds-hosted-services Observability Hosted Services team [elastic/obs-ds-hosted-services] labels May 19, 2026
@elastic-vault-github-plugin-prod

Copy link
Copy Markdown
Contributor

🚀 Benchmarks report

Package aws 👍(12) 💚(6) 💔(4)

Expand to view
Data stream Previous EPS New EPS Diff (%) Result
s3access 5102.04 3759.4 -1342.64 (-26.32%) 💔
securityhub_insights 1503.76 1164.14 -339.62 (-22.58%) 💔
waf 9009.01 6756.76 -2252.25 (-25%) 💔
cloudwatch_logs 500000 166666.67 -333333.33 (-66.67%) 💔

To see the full report comment with /test benchmark fullreport

@elasticmachine

Copy link
Copy Markdown

💚 Build Succeeded

@github-actions github-actions Bot mentioned this pull request May 20, 2026
5 tasks
@Kavindu-Dodan
Kavindu-Dodan merged commit 2da78e5 into elastic:main May 20, 2026
8 checks passed
@elastic-vault-github-plugin-prod

Copy link
Copy Markdown
Contributor

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

herrBez pushed a commit to herrBez/integrations that referenced this pull request Jun 1, 2026
Signed-off-by: Kavindu Dodanduwa <kavindu.dodanduwa@elastic.co>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Integration:aws AWS Team:obs-ds-hosted-services Observability Hosted Services team [elastic/obs-ds-hosted-services]

5 participants