Audit logs your customers can actually see

Ship customer-facing audit logs in under 10 minutes. One SDK call to ingest, one API to query. PII redacted automatically.

app/api/events.ts
import { LogStitch } from '@logstitch/sdk';
 
const logs = new LogStitch({ projectKey: 'pk_live_...' });
 
await logs.log({
action: 'document.shared',
category: 'mutation',
actor: { id: 'user_123', type: 'user' },
tenant_id: 'acme_corp',
});

Why LogStitch

Everything you need to ship audit logs — nothing you don't.

5-Minute Integration

Install the SDK, add your project key, call log(). Production-ready audit logs shipping in a single sprint.

Multi-Tenant by Default

Every event is scoped to a tenant. Generate viewer tokens so your customers can query their own logs — no extra backend code needed.

PII Redaction Built-in

Credit cards, SSNs, emails, and secrets are automatically detected and scrubbed before storage. No config needed.

Security Alerts Built-in

Brute force attacks, privilege escalation, and anomalous patterns are detected in real time. Webhook alerts on paid plans.

Trusted by teams shipping fast

From solo devs to product teams — LogStitch fits the way you work.

We needed audit logs yesterday and didn't have the bandwidth to build them. LogStitch took us 10 minutes to integrate — just SDK calls in our existing API handlers. Now our customers can see exactly what happened in their account without us building a single UI for it.

We evaluated three audit log vendors. LogStitch gave us everything the enterprise options did — immutable storage, PII redaction, tenant scoping — at a fraction of the cost. Easy decision.

Product Manager

ThreatScan.ai

I'm a solo dev and StackBurn runs on the free tier. LogStitch's free plan covers everything I need — structured logs, search, and a viewer I can embed. Audit logging shouldn't cost more than the app itself.

Indie Hacker

StackBurn.dev

<100ms

p95 API response

99.9%

Uptime SLA

5 min

Avg. integration time

Zero

PII stored in plaintext

Build this in minutes

Use our API to give your customers full visibility into their account activity.

app.acme.com/settings/audit-log

Audit Log

Search events...
Filter
document.sharedAlice ChenQ4 Report.pdf
2 min ago
member.invitedBob Smithcarol@acme.com
5 min ago
permission.updatedAlice ChenEngineering Team
12 min ago
document.createdCarol DavisAPI Spec v2.md
18 min ago
member.removedBob Smithdave@acme.com
1 hr ago
setting.changedAlice ChenSSO Configuration
2 hr ago

What your customers see — built with a single API call and a few lines of React.

Fetch events

Generate a viewer token server-side, then fetch your tenant's events from the client.

app/api/audit-log/route.ts
const { token } = await logstitch.viewerTokens.create({
tenant_id: orgId,
});
 
const res = await fetch('/api/v1/events', {
headers: { Authorization: `Bearer $${token}` },
});

Render the UI

Map over events and render them however you want. Full control, zero lock-in.

components/audit-log.tsx
{events.map((e) => (
<div key={e.id}>
<Badge>{e.action}</Badge>
<span>{e.actor.name}</span>
<time>{e.occurred_at}</time>
</div>
))}
Security Built In

Detect threats before your customers notice

LogStitch analyzes every event in real time against built-in security patterns. Brute force attacks, privilege escalations, and anomalous spikes are flagged the moment they happen.

Built-in detection rules

Brute force, privilege escalation, impossible travel, and mass deletion patterns ship out of the box on every plan.

Custom rules & thresholds

Define your own patterns: match on action, category, or metadata fields with configurable time windows.

Webhook alerts

Push alerts to Slack, PagerDuty, or any HTTP endpoint with automatic retries and HMAC signatures.

Security Alerts
Live
Brute Force Detectedcritical
12s ago

14 failed login attempts from actor user_8291 in 2 minutes

Privilege Escalationhigh
3 min ago

role.updated to admin by non-admin actor user_4410

Anomalous Volumemedium
8 min ago

340 events in 60s from tenant acme_corp (baseline: 12/min)

3 alerts triggered in the last 10 minutes

Three steps to production

From zero to customer-facing audit logs in under 10 minutes.

1

Install & Configure

Install the SDK and initialize with your API key.

terminal
npm install @logstitch/sdk
2

Send Events

Log any action in your app with a single function call.

app/actions.ts
await logstitch.log({
action: 'invoice.paid',
category: 'mutation',
actor: { id: userId, type: 'user' },
tenant_id: orgId,
});
3

Query Logs via API

Fetch events with filtering, pagination, and tenant scoping. Build any UI you want.

app/audit-log.ts
const events = await logstitch.events.list({
tenant_id: 'acme_corp',
category: 'mutation',
});

Everything included

No feature gates on the essentials. Every plan includes the full platform.

REST API with cursor pagination and tenant scoping
Full-text search across all event fields
Immutable, content-hashed event storage
Automatic PII redaction for cards, SSNs, emails, and secrets
Configurable visibility tiers per tenant
API key management with granular scoping
Real-time security alert detection with webhooks
Embeddable log viewer React component
Custom redaction rules per project

Built for compliance

Enterprise buyers evaluate audit log solutions through a compliance lens. LogStitch maps directly to the logging requirements in SOC 2, GDPR, HIPAA, and other major frameworks — no extra work on your end.

We don't claim certifications. We give you the infrastructure that makes passing audits straightforward.

CapabilitySOC 2GDPRHIPAAISO 27001PCI DSSCCPA
Immutable, append-only event storage
Actor, action, and target on every event
Automatic PII redaction
Tenant-scoped access controls
Configurable data retention
Full-text search and filtering
Exportable audit data via API

Simple, transparent pricing

Start free. Scale as you grow. No surprises.

All plans store 90 days of events. Free tier accesses 7 days — upgrade to unlock your full history instantly.

Free

$0

Get started. Integrate and ship.

Start Free
Events / day1,000
Event Access Window7 days
Event Storage90 days
Projects1
API Keys5
PII RedactionBuilt-in only
Security AlertsBuilt-in rules
Webhook Delivery
SupportDocs
Most Popular

Pro

$29/mo

Full production tier for growing teams.

Start Free Trial
Events / day50,000
Event Access Window90 days
Event Storage90 days
Projects10
API Keys100
PII RedactionCustom rules
Security AlertsCustom rules
Webhook Delivery
SupportEmail

Enterprise

Custom

Custom everything. SLAs and dedicated support.

Contact Sales
Events / dayCustom
Event Access WindowCustom
Event StorageCustom
ProjectsUnlimited
API KeysCustom
PII RedactionCustom rules
Security AlertsCustom rules
Webhook Delivery
SupportDedicated

Ship audit logs today, not next quarter

Free tier: 1,000 events/day with 7-day retention. No credit card required.