Loading image...Kiro
  • CLI
  • Enterprise
  • Pricing
DOWNLOADS
Loading image...Kiro
  1. Docs
  2. IDE
  3. Enterprise billing
  4. Monitor and track
  5. View per-user activity

Viewing per-user activity

On this page
  • About the report
  • Enable user activity reports
  • Prerequisite
  • To enable user activity reports
  • User activity report metrics

Loading image...Kiro
Product
  • About Kiro
  • CLI
  • Pricing
  • Downloads
For
  • Enterprise
  • Startups
Resources
  • Documentation
  • Blog
  • Changelog
  • FAQs
  • Report a bug
  • Suggest an idea
  • Billing support
Social
Site TermsLicenseResponsible AI PolicyLegalPrivacy PolicyCookie Preferences

You can configure Kiro to collect user activity telemetry of individual Kiro subscribers in your organization and present that information in a report. The report gives you insights into how specific users are using Kiro.

About the report

Kiro generates the user activity report every day at midnight (00:00) Coordinated Universal Time (UTC), and saves it in a CSV file at the following path:

s3://bucketName/prefix/AWSLogs/accountId/KiroLogs/ by_user_analytic/Region/year/month/day/00/accountId_by_user_analytic_timestamp.csv The CSV file is laid out as follows:

  • Each row shows a user who interacted with Kiro that day.
  • Each column shows a metric, as described in User activity report metrics. Metrics are calculated based on the user telemetry collected over the course of the day.

If more than 1,000 users interact with Kiro during the day, Kiro splits the data into several CSV files containing 1,000 users each. Files are suffixed with part_1, part_2, and so on.

Info

When you enable user activity reports, Kiro collects user telemetry and stores it in the S3 bucket in your account. The admin options override user preferences on whether the organization can collect telemetry data on them. For more information about this setting, see Opt out of data sharing.

Enable user activity reports

Use the following instructions to enable user activity reports.

Prerequisite

Create an Amazon S3 bucket to hold the user activity report CSV file. The bucket must:

  • Be in the AWS Region where the Kiro profile was installed. This profile was installed when you subscribed IAM Identity Center workforce users to Kiro Pro for the first time. For more information about this profile and the Regions where it's supported, see Kiro profile and Supported Regions.

  • Be in the AWS account where users are subscribed. If users are subscribed in multiple AWS accounts, then you must create buckets in each of those accounts. Cross-account buckets are not supported.

  • (Optional but recommended) Be different from the bucket you might be using for logging users' prompts.

  • Include a prefix, also known as a subfolder, where Kiro will save the CSV file. The CSV file cannot be saved in the root of the bucket.

  • Have a bucket policy like the one that follows. Replace bucketName, Region, accountId, and prefix with your own information.

json
{ "Version": "2012-10-17", "Statement": [ { "Sid": "KiroLogsWrite", "Effect": "Allow", "Principal": { "Service": "q.amazonaws.com" }, "Action": [ "s3:PutObject" ], "Resource": [ "arn:aws:s3:::bucketName/prefix/*" ], "Condition": { "StringEquals": { "aws:SourceAccount": "111122223333" }, "ArnLike": { "aws:SourceArn": "arn:aws:codewhisperer:us-east-1:111122223333:*" } } } ] }

To learn about protecting the data in your Amazon S3 bucket, see Protecting data with encryption in the Amazon Simple Storage Service User Guide.

To enable user activity reports

  1. Sign in to the AWS console.

  2. Switch to the Kiro console. To use the Kiro console, you must have the permissions defined in Policy: Allow administrators to configure Kiro and subscribe users.

  3. Choose Settings.

  4. Under Kiro user activity reports, choose Edit.

  5. Toggle Collect granular metrics per user.

  6. Under S3 location, enter the Amazon S3 URI that you will use to hold the CSV reports. Example: s3://amzn-s3-demo-bucket/user-activity-reports/

User activity report metrics

The following table describes the metrics that are included in the user activity reports generated by Kiro.

Metric nameDescription
Chat_AICodeLinesLines of code suggested by Kiro and accepted by the user. This metric includes code that was generated through the Kiro chat (not inline chat) and inserted into the IDE.
Chat_MessagesInteractedNumber of chat messages where the user has interacted positively with Kiro. Examples of positive interactions: clicking a link, inserting a suggestion, and upvoting a response from Kiro. This metric includes messages that were generated by Kiro chat (not inline chat).
Chat_MessagesSentNumber of messages sent to and from Kiro. This metric includes the user prompts and Kiro responses in the Kiro chat (not inline chat).
CodeFix_AcceptanceEventCountNumber of code fixes suggested by Kiro and accepted by the user. This metric applies to code fixes generated through the code review feature.
CodeFix_AcceptedLinesLines of code suggested by Kiro and accepted by the user. This metric applies to lines of code generated through the code review feature.
CodeFix_GeneratedLinesLines of code suggested by Kiro. This metric applies to lines of code generated through the code review feature.
CodeFix_GenerationEventCountNumber of code fixes suggested by Kiro. This metric applies to code fixes generated through the code review feature.
CodeReview_FailedEventCountNumber of code issues that were found but for which Kiro could not suggest a code fix. This metric applies to code issues generated using the code review feature.
CodeReview_FindingsCountNumber of code issues found by Kiro. This metric applies to code issues found using the code review feature.
CodeReview_SucceededEventCountNumber of code issues that were found and for which Kiro was able to generate a suggested code fix. This metric applies to code issues found using the code review feature.
Dev_AcceptanceEventCountNumber of code features suggested by Kiro and accepted by the user. This metric applies to code features generated through the /dev command.
Dev_AcceptedLinesLines of code suggested by Kiro and accepted by the user. This metric applies to lines of code generated through the /dev command.
Dev_GeneratedLinesLines of code suggested by Kiro. This metric applies to lines of code generated through the /dev command.
Dev_GenerationEventCountNumber of code features suggested by Kiro. This metric applies to code features generated through the /dev command.
DocGeneration_AcceptedFileUpdatesNumber of file updates suggested by Kiro and accepted by the user. This metric applies to file updates generated through the /doc command.
DocGeneration_AcceptedFilesCreationsNumber of file creations suggested by Kiro and accepted by the user. This metric applies to file creations generated through the /doc command.
DocGeneration_AcceptedLineAdditionsLines of documentation additions suggested by Kiro and accepted by the user. This metric applies to documentation generated through the /doc command.
DocGeneration_AcceptedLineUpdatesLines of documentation updates suggested by Kiro and accepted by the user. This metric applies to documentation generated using the /doc command.
DocGeneration_EventCountNumber of times the user engaged with Kiro using the /doc command.
DocGeneration_RejectedFileCreationsNumber of file creations suggested by Kiro and rejected by the user. This metric applies to file creations generated through the /doc command.
DocGeneration_RejectedFileUpdatesNumber of file updates suggested by Kiro and rejected by the user. This metric applies to file updates generated through the /doc command.
DocGeneration_RejectedLineAdditionsLines of documentation additions suggested by Kiro and rejected by the user. This metric applies to documentation generated through the /doc command.
DocGeneration_RejectedLineUpdatesLines of documentation updates suggested by Kiro and rejected by the user. This metric applies to documentation generated using the /doc command.
InlineChat_AcceptedLineAdditionsLines of code additions suggested by Kiro and accepted by the user. This metric includes code additions generated through the inline chat (not Kiro chat).
InlineChat_AcceptedLineDeletionsLines of code deletions suggested by Kiro and accepted by the user. This metric includes code deletions suggested through the inline chat (not Kiro chat).
InlineChat_AcceptanceEventCountNumber of inline chat (not Kiro chat) suggestions that were accepted by the user.
InlineChat_DismissalEventCountNumber of inline chat (not Kiro chat) suggestions that were abandoned by the user. By 'abandoned', we mean that the code suggestion was displayed but the user kept typing or performing other operations in their IDE, and did not explicitly accept or reject the code suggestion.
InlineChat_DismissedLineAdditionsLines of code additions suggested by Kiro and abandoned by the user. By 'abandoned', we mean that the code suggestion was displayed but the user kept typing or performing other operations in their IDE, and did not explicitly accept or reject the code suggestion. This metric includes code additions generated through the inline chat (not Kiro chat).
InlineChat_DismissedLineDeletionsLines of code deletions suggested by Kiro and abandoned by the user. By 'abandoned', we mean that the code suggestion was displayed but the user kept typing or performing other operations in their IDE, and did not explicitly accept or reject the code suggestion. This metric includes code deletions suggested through the inline chat (not Kiro chat).
InlineChat_EventCountNumber of inline chat (not Kiro chat) sessions that the user engaged in.
InlineChat_RejectedLineAdditionsLines of code additions suggested by Kiro and rejected by the user. This metric includes code additions generated through the inline chat (not Kiro chat).
InlineChat_RejectedLineDeletionsLines of code deletions suggested by Kiro and rejected by the user. This metric includes code deletions suggested through the inline chat (not Kiro chat).
InlineChat_RejectionEventCountNumber of inline chat (not Kiro chat) suggestions that were rejected by the user.
Inline_AICodeLinesLines of code suggested by Kiro and accepted by the user. This metric includes code that was accepted as inline suggestions.
Inline_AcceptanceCountNumber of inline suggestions accepted by the user.
Inline_SuggestionsCountNumber of inline suggestions displayed to the user.
TestGeneration_AcceptedLinesLines of code suggested by Kiro and accepted by the user. This metric applies to lines of code generated through the /test command.
TestGeneration_AcceptedTestsNumber of unit tests suggested by Kiro and accepted by the user. This metric applies to unit tests generated through the /test command.
TestGeneration_EventCountNumber of times the user engaged with Kiro through the /test command.
TestGeneration_GeneratedLinesLines of code suggested by Kiro. This metric applies to lines of code generated through the /test command.
TestGeneration_GeneratedTestsNumber of unit tests suggested by Kiro. This metric applies to unit tests generated through the /test command.
Transformation_EventCountNumber of times the user engaged with Kiro through the /transform command, excluding the times when the user transformed code on the command line.
Transformation_LinesGeneratedLines of code suggested by Kiro. This metric applies to code generated through the /transform command, excluding code transformed on the command line.
Transformation_LinesIngestedLines of code provided to Kiro for transformation. This metric applies to code that is provided through the /transform command, excluding code provided for transformation on the command line, or for an SQL conversion.
Page updated: November 16, 2025
View usage (dashboard)
Log user prompts