ProductObservability
Log Archives and Rehydration
Keep every log in object storage you own, and load any time range back into search when you need it.
No credit card · Take the 2-minute bill tour
- storage types: S3 and compatible, Google Cloud Storage, Azure Blob Storage
- 3
- one archive object per hour of logs
- 1 hour
- default time rehydrated logs stay searchable (1 to 30)
- 3 days
- largest time range of one rehydration
- 7 days
Overview Preview
A log archive copies the logs that match its query to your own object storage every hour, as compressed JSON lines that any tool can read. When you need old logs, rehydration loads a time range and query back into a temporary searchable tier. Archives work with S3 and S3-compatible storage, Google Cloud Storage and Azure Blob Storage. Rehydrated logs open in the same Log Explorer as live logs, with the same links to traces and hosts on the MeerStack graph. Archives are set up through the API today.
Preview: this product is partly built. The page says what works today and marks the rest “In development”.
An hourly copy in storage you own
Each complete hour is written 15 minutes after it ends. The database reads and writes the objects in your bucket directly, and uploads are idempotent: one object per hour, written again if late data arrives.
- An archive has a query, so you can archive everything or only the logs that match
- Format: gzip-compressed JSON lines with id, date, host, source, service, status, message, tags and attributes
- Trace ids are kept in the attributes, so rehydrated logs still link to their traces
- An hour is uploaded again when late data changes its count
- Logs excluded from indexes or over a daily quota are still archived
Three kinds of object storage
Choose the storage you already use. The secret for each destination is sealed at rest, is never returned by the API, and is bound to the destination it was given for.
- S3 and any S3-compatible store, by region or by endpoint
- Google Cloud Storage with HMAC keys. Service account JSON keys are not accepted
- Azure Blob Storage with an account key, a SAS token or a connection string
- Endpoints must use HTTPS and must not be internal addresses
- If the provider, endpoint, bucket or authentication method changes, you must enter the credential again
Search old logs again
A rehydration loads the logs of one archive, time range and query into a separate tier. They stay searchable for a set number of days and then expire on their own.
- One rehydration covers a time range of up to 7 days and an optional log query
- Rehydrated logs stay searchable for 3 days by default. You can set 1 to 30 days
- The request returns at once with a status, and you can list rehydrations and read their progress
- Logs come back at their original timestamps
The same explorer, a different tier
Rehydrated logs are kept apart from live logs. In the Log Explorer you pick the storage tier, and the search API takes the same choice as a filter.
- A storage tier choice in the Log Explorer: live logs or logs rehydrated from archives
- The search API takes the rehydrated tier as a filter, and a query can name one rehydration
- The same search syntax, facets and log panel as live logs
Read archives your previous tool wrote
Rehydration lists the objects in the bucket instead of trusting its own upload records. It reads both the MeerStack layout and a common hourly archive layout written by another log platform.
- Point an archive at the bucket and path of your earlier archive to rehydrate what is already there
- For Azure, a container SAS with read and list is enough if you only rehydrate
- Reading earlier archives is tested against a sample written from the public format description, not yet against a real archive on Google Cloud Storage or Azure
Product views on this page are illustrations with sample data from Meer Bank, a fictional bank. Console screenshots will replace them.
Capabilities
Everything in Log Archives and Rehydration
Archive query
Each archive selects the logs it copies with a log query.
Open format
Gzip-compressed JSON lines that standard command line and query tools can read.
Idempotent uploads
One object per hour, overwritten when the hour is written again.
Sealed credentials
Secrets are sealed at rest and never returned. Responses only say that a secret is set.
Temporary tier
Rehydrated logs live in their own tier and expire after the number of days you set.
Config API
Create, read, update and delete archives over HTTP at /api/v2/logs/config/archives.
Audited changes
Archive and retention changes run as registered actions. AI can only propose them, and they can be rolled back.
Scoped access
Changing archives, retention and rehydration needs the logs_archives_write scope. Reading needs logs_read.
Console page for archivesIn development
Create archives and start rehydrations from the console.
How it works
From nothing to an answer
- 1
Create a bucket and a key
Use storage you own. Give MeerStack a key that can read, write and list under one path.
- 2
Create the archive
Post the destination and a query to the archives API. The first complete hour is written 15 minutes after it ends.
- 3
Rehydrate when needed
Post an archive id, a time range and a query. Poll the rehydration until it is done.
- 4
Search
Pick the rehydrated tier in the Log Explorer, or pass it as a filter to the search API.
Specifications
What is supported
- Destinations
- S3 and S3-compatible storage, Google Cloud Storage (HMAC keys), Azure Blob Storage (account key, SAS token or connection string)
- Object layout
- <path>/org=<org>/dt=YYYYMMDD/hour=HH/archive.json.gz
- Format
- gzip-compressed NDJSON, one log per line
- Schedule
- Every complete hour, 15 minutes after it ends
- Rehydration range
- Up to 7 days per rehydration
- Rehydrated retention
- 1 to 30 days, default 3
- APIs
- /api/v2/logs/config/archives, /api/v2/logs/archives/rehydrate, /api/v2/logs/archives/rehydrations
- Delivery
- Hosted software (SaaS). The archive lives in your own storage.
What it does not do yet
- There is no console page for archives or rehydrations yet. They are set up through the API.
- Searching logs in place in your bucket, without rehydrating them, is not available.
- Google Cloud Storage needs HMAC keys. Service account JSON keys are not accepted.
- Federated authentication without a stored secret is not available for any destination.
- One rehydration covers at most 7 days. Longer periods need several rehydrations.
- A rehydration cannot be rolled back. Its logs expire after the retention you set.
We would rather you read it here than find out in a trial. Anything marked “In development” on this page is not available today.
Pricing
Public, per unit
Billed annually or month to month, in USD. Team has no minimum spend. Enterprise agreements get volume discounts.
| What is billed | Unit | Annual | Month to month |
|---|---|---|---|
| Log ingestionArchive to your own S3-compatible bucket at no extra charge | per GB ingested | $0.07 | $0.07 |
| Indexed logs, 3-day retention | per 1M log events, per month | $0.74 | $0.89 |
| Indexed logs, 7-day retention | per 1M log events, per month | $0.89 | $1.06 |
| Indexed logs, 15-day retention | per 1M log events, per month | $1.19 | $1.43 |
Questions
Asked before buying
Where do archived logs live?
In your own object storage: S3 or an S3-compatible store, Google Cloud Storage or Azure Blob Storage. The files are gzip-compressed JSON lines that you can read without MeerStack.
How is it billed?
Archiving to your own storage has no rate on the rate card. You pay log ingestion, and your storage provider for the bucket. Indexed logs are billed per million events by retention.
How long do rehydrated logs stay searchable?
Three days by default. You can set from 1 to 30 days. After that they expire from the rehydrated tier and stay in your bucket.
Can I rehydrate archives written by the tool I use today?
Rehydration reads a common hourly archive layout as well as its own. Point an archive at the same bucket and path. This is tested against a sample of that format, not yet against a real archive on every cloud.
Are logs that I exclude from indexes archived?
Yes. Exclusion filters and daily quotas only decide what is searchable. Excluded and over-quota logs still reach archives.
Does the Sensitive Data Scanner apply to archives?
Yes. Scanning runs first at intake, so archives only ever hold the obfuscated text.
See Log Archives and Rehydration on your own stack.
Start a free trial with no credit card, or ask an engineer to show it to you.