Skip to main content
All CollectionsClaude for Work (Team & Enterprise Plans)Enterprise Plan Features
Creating Usage Analytics with Claude for Enterprise Audit Logs
Creating Usage Analytics with Claude for Enterprise Audit Logs
Updated yesterday

Claude for Enterprise provides comprehensive audit logs that enable organizations to gain valuable insights into their Claude usage patterns. This guide will walk you through creating an interactive analytics dashboard using your organization's audit log data.

Prerequisites

  • Access to Claude for Enterprise

  • Primary Owner privileges to access Recorded Events in audit logs (available in CSV or JSON format)

  • A Claude project for analytics

Step-by-Step Implementation

1. Create a Dedicated Analytics Project

Begin by creating a new Claude project specifically for usage analytics:

  1. Navigate to your Claude workspace

  2. Create a new project named "Usage Analytics"

  3. Open the project settings to add custom instructions

2. Configure Project Instructions

Add the custom instructions that are pasted at the end of this document to your Usage Analytics project. These instructions will enable Claude to create consistent, interactive dashboards whenever you upload audit log data.

The dashboard will provide:

Key Metrics Display

  • Total unique users

  • Total conversations

  • Total projects

  • Total uploaded files

Interactive Features

  • Overview tab showing daily active users trend

  • Conversations tab with detailed metrics:

    • Period summaries (7-day, 30-day, all-time)

    • Per-user conversation statistics

    • User engagement leaderboard

    • Daily conversation trends

3. Generate Analytics

Once your project is configured:

  1. Download your organization's audit log in CSV format (Instructions to access audit logs)

  2. Start a new chat in your Usage Analytics project

  3. Upload the audit log CSV file

  4. Ask Claude: "Can you create an interactive dashboard for me using the project custom instructions?"

4. Explore and Customize

The resulting dashboard provides various ways to analyze your organization's Claude usage:

  • Track user adoption through the daily active users chart

  • Monitor conversation volumes across different time periods

  • Identify usage patterns

  • Analyze file and project volumes

You can further customize the dashboard by asking Claude to modify specific aspects or add new visualizations based on your needs.

Technical Implementation Notes

The dashboard implementation includes:

  • Automated CSV parsing and data processing

  • Interactive data visualizations using Recharts

  • Sortable tables with Tailwind CSS styling

  • Error handling for JSON parsing

  • Real-time data updates

Best Practices

To get the most value from your analytics dashboard:

  1. Regularly update your analysis with fresh audit log data

  2. Use consistent time periods for trend analysis

  3. Track key metrics that align with your organization's goals

Did this answer your question?