Centralized Log Management

Aggregate logs from every service and server into a single, searchable stream. Logs are automatically captured by Senzor APM and RUM agents, or you can push custom logs manually via our secure HTTPS ingestion endpoint.

Prerequisites

  • A Global Log Ingestion API Key generated from the Senzor Dashboard.

1. Dashboard Configuration

Before injecting code into your application, you must provision an API key from the Senzor dashboard.

1

Auto-Collection

If you have Senzor APM or RUM installed, application and console logs are captured and correlated automatically.

2

Generate Manual Key

Navigate to 'Log Explorer' -> 'Settings' and generate a global Log Ingestion API Key to push logs from unsupported environments.

2. SDK Installation

Select your environment below to view the initialization code.

curl -X POST https://api.senzor.dev/api/ingest/logs \
-H "x-log-api-key: <YOUR_LOG_API_KEY>" \
-H "Content-Type: application/json" \
-d '{"level":"error", "message":"Payment failed", "userId": 123}'

You can append any arbitrary JSON attributes into the payload. They will be automatically indexed and searchable via MQL.