---
title: "Discussion on \"Multi-Tenant Audit Logging: The Architecture Mistakes We Made\" | Hashnode"
description: "Discussion on \"Multi-Tenant Audit Logging: The Architecture Mistakes We Made\". We shipped our SaaS product with a single audit_logs table that had a tenant_id column. Seemed fine. Every query filtered by tenant_id. We had an index on it. Done.\nThen a customer's admin found another customer's audit events in their activity feed...."
url: "https://hashnode.com/posts/multi-tenant-audit-logging-the-architecture-mistakes-we-made-auditkit-5/69c8fc58698113a9705fbc89"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Multi-Tenant Audit Logging: The Architecture Mistakes We Made](https://grimlabs.hashnode.dev/multi-tenant-audit-logging-the-architecture-mistakes-we-made-auditkit-5?utm_source=hashnode&utm_medium=feed)

We shipped our SaaS product with a single audit\_logs table that had a tenant\_id column. Seemed fine. Every query filtered by tenant\_id. We had an index on it. Done. Then a customer's admin found another customer's audit events in their activity feed....

Mar 29 · 6 min read · grimlabs.hashnode.dev  
Read the article

-   [#architecture](https://hashnode.com/tag/architecture)
-   [#audit-logging](https://hashnode.com/tag/audit-logging)
-   [#multi-tenant](https://hashnode.com/tag/multi-tenant)
-   [#saas](https://hashnode.com/tag/saas)

## Written by

[Grim R](https://hashnode.com/@grimlabs)

@grimlabs

  
[View profile](https://hashnode.com/@grimlabs)

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
