Kiro icon indicating copy to clipboard operation
Kiro copied to clipboard

Kiro usage log is not appear in the s3 bucketge

Open sunnyzhang0 opened this issue 1 year ago • 5 comments

Before opening, please confirm:

Operating System

macos

Kiro Version

Version: 0.6.18

Bug Description

The Kiro usage log has not appeared in the S3 bucket, and the bucket is configured with simple settings. { "Version": "2012-10-17", "Statement": [ { "Sid": "KiroLogsWrite", "Effect": "Allow", "Principal": { "Service": "q.amazonaws.com" }, "Action": [ "s3:PutObject", "s3:PutObjectAcl", "s3:GetObject", "s3:ListBucket" ], "Resource": [ "arn:aws:s3:::disney-kiro/usage-activity/*", "arn:aws:s3:::disney-kiro" ] } ] }

Steps to Reproduce

  1. Kiro settings and enabled the usage setting for the user activity report. Collect user activity metrics and generate daily reports, saving them in the S3 bucket located at s3://disney-kiro-usage/usage-activity/.

  2. Set s3 policy and path with s3://disney-kiro-usage/usage-activity/ { "Version": "2012-10-17", "Statement": [ { "Sid": "KiroLogsWrite", "Effect": "Allow", "Principal": { "Service": "q.amazonaws.com" }, "Action": [ "s3:PutObject", "s3:PutObjectAcl", "s3:GetObject", "s3:ListBucket" ], "Resource": [ "arn:aws:s3:::disney-kiro/usage-activity/*", "arn:aws:s3:::disney-kiro" ] } ] }

  3. use kiro Version: 0.6.18 VSCode Version: 1.103.2 Commit: a4c56f19ff6fed69b979b2f3ae8df1b4fb9db28d Date: 2025-11-24T19:26:52.647Z (1 wk ago) Electron: 37.10.2 ElectronBuildId: undefined Chromium: 138.0.7204.251 Node.js: 22.21.1 V8: 13.8.258.32-electron.0 OS: Darwin arm64 24.6.0

  4. after waiting 24 hours, still no logs have come in. A few coworkers are running into the same issues too.

Expected Behavior

usage log should show up in s3 bucket

Conversation ID

No response

Additional Context

No response

sunnyzhang0 avatar Dec 05 '25 16:12 sunnyzhang0

Hey @sunnyzhang0, Thank you for reporting this issue. I've confirmed the problem on my end and have flagged it as a bug for our team to investigate further.

AnilMaktala avatar Jan 06 '26 15:01 AnilMaktala

@AnilMaktala Hello,

This issue has been open for nearly 2 months now. Could you please provide an update on:

  1. Has the root cause been identified?
  2. Is there a workaround available while waiting for a fix?
  3. What's the expected timeline for resolution?

Additional context:

  • Multiple users are affected (as mentioned in the original report)
  • S3 bucket policy appears correctly configured
  • No logs appear even after 24+ hours of usage

Any guidance would be greatly appreciated. Thank you!

plantegg avatar Jan 26 '26 05:01 plantegg

Hey @sunnyzhang0 and @plantegg, Thanks for your patience on this one! Good news, this has been fixed in a recent release. Could you update to the latest version and let us know if you're still seeing the issue?

AnilMaktala avatar Mar 06 '26 15:03 AnilMaktala

This issue has been automatically closed due to inactivity. It has been 7 days since we requested additional information.

If you still need help with this issue, please feel free to reopen it or create a new issue with the requested details.

github-actions[bot] avatar Mar 14 '26 00:03 github-actions[bot]

@AnilMaktala

Thank you for adding the user_report files to augment the by_user_analytic files.

however, the by_user_analytic file still has data (like Chat, Inline Completions, Inline Chat, Code Fix, Code Review, Doc Generation, Test Generation, Dev Agent, Transformation) which is not captured in the user_report files, so it would be really great if you can also get the Kiro IDE to report to the by_user_analytic file, too.

user_report files contain different type of data Credits_Used per user Overage_Credits_Used and Overage_Cap Client_Type breakdown (CLI vs IDE vs Plugin) Chat_Conversations count Total_Messages Subscription_Tier Overage_Enabled flag

also can you say which version of Kiro and/or which PR the update was made in for reference?

racker7 avatar Mar 16 '26 23:03 racker7