---
title: "Audit log"
description: "Who changed what: filters by date, person and event type, changes grouped by day with before → after values, details and CSV export."
plan: Pro
docs: https://ui.edbn.me/docs/blocks/audit-log
---

# Audit log

Who changed what: filters by date, person and event type, changes grouped by day with before → after values, details and CSV export.

Filters by date range (Today, Last 7, 30 or 90 days, or days picked on a calendar that stops where the plan's history does), by person or the shop's automatic rules, and by event type. Changes are grouped by day, newest first, each with the person's initials, what they did, the old value struck through beside the new one, and the time and device. A row opens for when, where, the device and the event ID, with a link to the item; twelve show at first and Show more brings the next. A note says history is kept for 90 days on the plan. Export CSV downloads exactly what the filters show, and a filter that matches nothing says so with Clear filters.

A Pro block built on Base UI and Tailwind CSS v4.

## Installation

This is a Pro item. Once per project, create a token at https://ui.edbn.me/dashboard/tokens, put it in `.env.local` as `EDBN_TOKEN`, and add the registry to `components.json`:

```json
{
  "registries": {
    "@edbn": {
      "url": "https://ui.edbn.me/r/{name}.json",
      "headers": { "Authorization": "Bearer ${EDBN_TOKEN}" }
    }
  }
}
```

Then install:

```bash
npx shadcn@4.19.0 add @edbn/audit-log
```

## Dependencies
- npm: lucide-react@^1.33.0
- edbn: edbn-base, avatar, button, calendar, card, collapsible, empty, popover, select, text-link, data-table

## Source

The source is part of Pro (https://ui.edbn.me/pricing). The install above adds it to the project, ready to edit.

## More settings blocks

All 13, with install commands: https://ui.edbn.me/docs/blocks/settings (Markdown: https://ui.edbn.me/docs/blocks/settings.md)

## For agents
- Base theme, once per project: npx shadcn@4.19.0 add https://ui.edbn.me/r/edbn-base.json
- MCP server with search, items, examples and source: https://ui.edbn.me/mcp
- Every page and item: https://ui.edbn.me/llms.txt
