AWS Builder Center
AIdeas Finalist: LuminaLog — Privacy-First Observability

AIdeas Finalist: LuminaLog — Privacy-First Observability

LuminaLog is a serverless, privacy-first observability platform. It features SmartScrub™, a Kinesis-driven engine that replaces PII with realistic synthetic data before storage, preserving both data privacy and debuggability. Combined with real-time WebSocket live tailing and automated Gemini 2.5 Flash error analysis, it gives startups in regulated markets enterprise-grade compliance and insights without the enterprise price tag.

Senior Full-Stack Engineer

App Category

Commercial Solutions

My Vision

I didn’t start LuminaLog because observability is a glamorous problem. LuminaLog was inspired by real-world challenges in emerging markets, where teams must balance rapid development, strict privacy requirements, and limited infrastructure budgets — a challenge that exists globally.
Datadog costs more per month than most early-stage startups can justify. New Relic’s pricing is opaque. Self-hosting ELK requires a DevOps team you probably can’t afford yet. And none of them treat PII (Personally Identifiable Information) protection as a first-class feature out of the box. They bolt it on, or they leave it to you entirely.
Meanwhile, healthcare systems are logging patient privacy data, fintechs are logging transaction records, government systems are handling sensitive citizen data, and AI companies are logging training data. Any system that logs user data is a target customer. This makes LuminaLog a global infrastructure tool, not just a niche SaaS.
I built LuminaLog to solve this. The pitch is simple: you should be able to ship fast, observe everything in real time, and never accidentally expose your users' data in the process, all while meeting global compliance standards.
LuminaLog is a serverless, privacy-first observability platform with four core capabilities:
  • SmartScrub™ Privacy Engine: Automatic PII detection that replaces sensitive values with realistic, deterministic synthetic data before logs reach storage.
  • Real-time Log Ingestion & Live Tail: Stream logs via WebSocket and watch them safely in the browser.
  • AI-Powered Error Analysis: Models served via OpenRouter automatically classify new errors, generate root-cause summaries, and cluster similarities using OpenAI embeddings—without exposing raw PII.
  • Interactive AI Debug: Paste a stack trace and get a structured diagnosis in seconds.

Why This Matters

Two parallel events convinced me this was an urgent problem that required a fundamentally new approach to infrastructure. First, a fellow founder I know received a devastating legal notice. It wasn't a malicious hack or an external breach—it was simply their own application logging user emails and IP addresses in plain text to a third-party observability service. It cost them weeks of engineering time to scrub historical logs, halting their product roadmap entirely, to deal with an unexpected compliance audit.
Second, I sat down and priced out setting up a properly GDPR-safe logging infrastructure just to track errors on a side project. Between enterprise SaaS subscriptions, dedicated VPC configurations, and data egress fees, it was a minimum of $80–100 per month before acquiring a single paying user. In many of the global markets I want to serve, that $100 is equivalent to a physical office rent payment.
Here is the massive systemic tension LuminaLog resolves: the very startups that most need proper observability to build secure platforms early-stage health techs, nimble fintechs, and ambitious AI tools, are the ones who most intimately struggle to afford the cumbersome tools designed for massive enterprise teams. A bootstrapped fintech startup in Lagos, Nairobi, Jakarta, Seoul or anywhere else shouldn't have to make a painful compromise between "properly observing their system to prevent downtime" and "protecting their users' highly sensitive data."
By democratizing privacy-first logging at scale, LuminaLog transcends being just another B2B engineering tool, it provides a profound social impact. Providing an affordable, inherently safe infrastructure layer enables thousands of startups to launch securely, ultimately protecting the data of billions of everyday consumers without risking startup-killing GDPR fines or devastating public data breaches.
data-flow


How I Built This

I’ll be honest about the architecture choices: they were deliberate, lean, and designed for extreme cost-efficiency.

The AWS Production Stack

Service
Role in LuminaLog
AWS Lambda
Serverless microservices (Go): API endpoints, PII scrubbing, AI analysis, alerting, and WebSocket broadcasting
Amazon API Gateway
HTTP front-door for rapid log ingestion and WebSocket API for real-time Live Tail streaming
Amazon SQS
Decoupling the fast ingestion API from the intensive PII scrubbing processor
Amazon Kinesis Firehose
High-throughput delivery stream for micro-batching and writing scrubbed logs
Amazon S3
Durable, partitioned long-term storage for all log data and Terraform state
Amazon DynamoDB
Fast NoSQL state: API keys, WebSocket connections, error fingerprints, limits, and AI claim locks
Amazon Comprehend
ML-based natural language processing for auditing ambiguous PII edge cases (Scale tier)
AWS Secrets Manager
Secure storage and runtime injection for external credentials (ZeptoMail, AI API keys)
Everything is Terraform-managed, split into modules: ingestion, storage, database, websocket-api, authorizer, ai-analyzer, alert-dispatcher, pii-scrubber, billing-alert-handler, subscription-processor, and more.
Email notifications (alerts, invitations, billing warnings) run through a shared internal Go package that supports SES and ZeptoMail, including a dual-send migration mode. The abstraction means swapping providers do not touch any service code.

Accelerated by AWS Kiro

Building a distributed, privacy-first observability platform is typically a multi-engineer effort. To accelerate development, I relied heavily on AWS Kiro, Amazon’s agentic AI IDE, to build out the infrastructure. Its agentic capabilities helped me rapidly scaffold complex Terraform modules, author Go Lambda functions, and debug the event-driven architecture. With Kiro, I was able to translate architectural requirements into production-ready AWS infrastructure and deploy it far faster than traditional workflows.

Zero-to-Scale Pricing (The $200 Free Tier Advantage)

A core tenet of LuminaLog is that startups shouldn't be priced out of compliance. Despite the comprehensive feature set, this entire stack was explicitly designed to operate comfortably within the standard AWS Free Tier or initial $200 startup credits.
Because the architecture is 100% serverless and scales to zero relying entirely on API Gateway, Lambda, SQS, Kinesis Firehose, and DynamoDB (On-Demand), there are zero fixed compute costs. You only pay for what you actually use. There are no idle EC2 instances to maintain, no expensive NAT Gateways, and no standing database clusters demanding hourly fees. A startup can launch with enterprise-grade observability and pay mere pennies until their traffic meaningfully scales.
The Ingestion Layer & Cost Efficiency Every log batch hits an AWS API Gateway backed by a Go Lambda function. Go was the perfect choice because cold start times are virtually zero and memory overhead is minimal. The Lambda validates the API key, enforces rate limits, and immediately queues the batch to Amazon SQS, returning a fast  202 Accepted  response. A second Lambda, the ingestion processor, picks up from SQS and does the heavy lifting: PII scrubbing, error fingerprinting, and writing enriched records to Amazon Kinesis Firehose, which reliably delivers everything to S3 partitioned by organization, project, and date. This complete decoupling ensures the initial HTTP response time stays lightning-fast regardless of what the processing pipeline is doing. Ingestion is acknowledged immediately; the developer's SDK never blocks waiting on our analysis.
Live Tail via WebSocket Streaming This is the feature that makes the platform visceral. You don't refresh a page to see new logs; you watch them stream into the browser the moment they are ingested. It runs on an AWS API Gateway WebSocket API. When the processor Lambda finishes a batch, a broadcaster Lambda scans active connections in DynamoDB and pushes matching logs immediately via  PostToConnection . I also had to implement connection lifecycle management—catching  GoneException  (HTTP 410) responses to automatically clean up dead connections when a user closes their laptop.
AI Error Analysis & Deduplication Challenges When the processor encounters an error, it invokes our AI micro-service (routed via OpenRouter) to generate a root-cause summary. However, errors cluster dynamically. A single bug can fire thousands of times per minute. I had to build a robust two-layer deduplication system to prevent bankrupting the platform on AI API calls: an in-memory  sync.Map  for the current Lambda invocation, and a cross-invocation DynamoDB conditional write acting as an atomic lock. Whichever Lambda instance wins the lock performs the AI analysis; the others safely skip it.
We also implemented semantic error deduplication using  openai/text-embedding-3-small . The system generates vector embeddings for recurring errors and scores cosine similarity against the database, meaning users get grouped insights even if the error signatures mutate slightly. This was a challenging lesson in distributed AI systems design, but it guarantees massive efficiency.
The Monitoring Dashboard & Alerting Pipeline Logs are useless if nobody is notified when a fire breaks out. Rather than building a bulky, slow interface, I built a highly responsive, modern React dashboard that renders the ingested telemetry data gorgeously. But the true power lies in our alerting pipeline. I designed dedicated micro-services ( alert-rule-manager  and  alert-dispatcher ) that continuously evaluate incoming error anomalies against user-defined thresholds.
When an anomaly triggers or a specific error spikes, LuminaLog immediately fires off webhooks. Out of the box, we natively support routing these critical incidents directly to your Email, your team's Discord channels, Slack, or escalating them to PagerDuty for high-severity on-call pages. Because we already attached the AI-generated root-cause summary and PII-scrubbed context during the ingestion phase, the PagerDuty or Email alert doesn't just say "App Crashed"—it tells the on-call engineer exactly why it crashed and how to fix it before they even open their laptop.

Dispelling the "Hard to Use" Myth

One critical piece of feedback was that LuminaLog might require "significant AWS/DevOps knowledge" to implement. This is not the case.
You do not need to understand our AWS architecture to use the platform. We have comprehensive, elaborate documentation and natively built 1-click install SDKs available directly on popular package registries for Node.js (npm), Python (PyPI), and Go. It takes exactly two lines of code to implement:
import { LuminaLog } from '@luminalog/logger';
const logger = new LuminaLog({ apiKey: 'YOUR_API_KEY' });

logger.info('User logged in', { email: 'alice@company.com' });

// Or use our simple REST API directly:
fetch('https://api-dev.luminalog.cloud/v1/logs', {
method: 'POST',
headers: {
'x-api-key': 'll_YOUR_API_KEY_HERE',
'Content-Type': 'application/json'
},
body: JSON.stringify({ logs: [{ level: 'info', message: 'User logged in', email: 'alice@company.com' }] })
});
That’s it. You are now streaming logs with real-time AI debugging and PII scrubbing. No DevOps required.

SmartScrub™ — The Privacy Engine

This is the feature I am most proud of. Most PII scrubbers simply drop the sensitive value and put  [REDACTED]  in its place. That breaks your logs. You can't trace a user's session or see if an email was formatted correctly.
SmartScrub™ uses deterministic synthetic replacement.
  •  patient.name@hospital.com  →  user_3f8a92b1@example.com  (valid email, synthetic domain)
  •  192.31.4.210  →  192.168.174.23  (still a real-looking IP, now private range)
  •  sk_live_abc123...  →  sk_test_3f8a92b1...  (format preserved, live key destroyed)
The logs stay readable. Stack traces make sense. Error patterns cluster correctly. And because it relies on consistent SHA-256 algorithmic hashing behind the scenes, the exact same user email always generates the exact same synthetic string across thousands of logs. This lets engineers seamlessly trace a user's journey through an application without ever knowing the user's real identity.
Currently, the engine detects and parses 40+ pattern types, including highly localized data structures such as Yoruba, Igbo, Arabic, Chinese, and Indian names out of the box. By expanding far beyond typical Western datasets, we natively support the ecosystems that emerging markets actually build in from local naming conventions to region-specific data structures rather than forcing Western-centric assumptions onto global users.

Competitive Landscape Validation

LuminaLog is explicitly built as the first privacy-native observability platform, not just general observability with an add-on layer for data masking. Unlike incumbent tools where privacy is an afterthought requiring manual rules, LuminaLog is designed from the ground up so that unprotected PII literally cannot reach the database.
Feature
LuminaLog
Traditional Competitors (Datadog/New Relic)
Price for startups
$0 to $15/month
$150+ / month
PII Scrubbing
Built-in, Automatic & Synthetic
Requires manual configuration / Add-ons
AI Debugging
Included and fully integrated
Often treated as a paid premium add-on
Ease of Setup
1-click SDKs & REST API fallback
Often requires extensive DevOps config

Demo



What I Learned

The judging process was immensely valuable. Certain feedback challenged my assumptions, while other feedback helped me realize where my communication had fallen short. Here is how I addressed the judges' top concerns:

1. Emphasizing Accessibility

Judge Feedback: "Technical complexity may limit accessibility."
My Action: This feedback made me realize that my original article focused too heavily on internal AWS architecture, which may have made LuminaLog appear more complex than it is in practice. While the underlying system is highly sophisticated, the user experience is intentionally simple.
In reality, onboarding is essentially a one-step process: install the SDK (npm, pip, or Go), add your API key, and start streaming logs immediately. I’ve since updated my presentation to emphasize ease of use and accessibility rather than internal complexity. You just install our  NPM ,  Python , or  Go  packages, drop in your API key, and you are done.

2. Validating the "Zero-to-Scale" Pricing

Judge Feedback: "Scalability claims unproven: 'Zero-to-Scale' pricing within $200 AWS credits needs real-world validation."
My Action: The judges were entirely right to ask for concrete data, so I performed a verifiable stress test. Using an open-source load-testing CLI, I simulated aggressive production traffic, pushing 50,000 logs per hour through the complete LuminaLog pipeline (API Gateway → SQS → Lambda Scrubbing → Kinesis → S3).
To prove the financial sustainability, I queried the AWS Cost Explorer CLI ( aws ce get-cost-and-usage ) following the test. The result? Processing, scrubbing, and securely storing 50,000 logs cost under $0.20 on AWS.. Because the architecture is rigorously 100% serverless, there are absolute zero idle computing costs. Startups can genuinely run secure, enterprise-grade observability for pennies, meaning the standard $200 AWS Startup Credits will effortlessly carry them to massive scale.

3. Traction, Usage, and the "B2B Only" Critique

Judge Feedback: "Narrow B2B audience... Limited evidence of actual user adoption."
My Action: This feedback highlighted a gap in how I communicated both adoption and impact. While LuminaLog is a B2B infrastructure tool, its downstream beneficiaries are everyday users whose medical and financial data becomes significantly more secure.
To demonstrate real adoption, we have begun onboarding pilot organizations, that are already processing live production logs through SmartScrub™. Beyond pilots, we are seeing early usage signals: developers have started integrating the SDK via npm, and logs are actively being ingested and processed through our AWS pipeline (as shown in the images below from npm and DynamoDB). These are not simulations they reflect real-world usage of the system in active environments.



The journey of building LuminaLog has profoundly reshaped my understanding of both software engineering and product-market fit. It taught me that genuine privacy cannot simply be a downstream feature bolted onto an existing product; it must be the core architectural foundation from day one. I also learned that building brilliant technical architecture is only half the battle—translating that architecture into a narrative that resonates with users, investors, and judges is just as critical for real-world impact.
From emerging markets to global compliance: if you are building a product in a regulated space and have previously put off implementing proper, enterprise-grade observability because it felt too expensive or far too complex for your team size, LuminaLog is exactly what I built for you. We are proving that securing consumer data doesn't have to be a luxury reserved for unicorns—it can be the default standard for everyone.
Any opinions in this article are those of the individual author and may not reflect the opinions of AWS.
Enjoyed reading this content? Let the author know!

Your likes, comments, shares, and saves help creators reach more builders.

Loading recommendations

Loading article