Skip to main content
When you have a stream of log records rather than a file, post them directly to a source. Splendor accepts a batch and processes it asynchronously.

Prerequisites

Send a batch

POST /v1/ingest/sources/{source_key}/logs accepts a batch of records and returns 202 Accepted. The records are queued and become searchable once indexed. Authenticate with the source’s ingest token as a bearer credential — the token already names the source and tenant, so no X-Splendor-Tenant-Id header is needed. Send the batch as a top-level JSON array (Content-Type: application/json), or as newline-delimited JSON, one object per line (Content-Type: application/x-ndjson). Gzip is allowed.
The response includes how many records were received and a fragment_id for the batch.
A 202 means the batch was accepted, not that it is searchable yet. Track progress with ingest runs or dataset readiness.

Ingest a dataset

Upload a file through a hosted source.

Run a search

Query the logs once they are indexed.