Seal Logstore
Seal the data of a Logstore to prove that the stored files haven’t changed, and that none of them were deleted, since the Store sealed them. Sealing helps you meet compliance and audit requirements that need tamper-evident log storage.
How sealing works
If you enable sealing, the Store regularly creates a seal: a file that lists the files of the store with their SHA-256 hashes. If a sealed file changes, its hash doesn’t match the seal anymore. If a sealed file is deleted, it’s missing from the store, but it’s still listed in the seal. Each seal also links to the previous seal, so the seals form a chain. A timestamp authority (TSA) signs the hash of every seal with an RFC 3161 timestamp. The timestamp proves that the files existed in that form at that time, as far as you trust the timestamp authority.
Sealing runs on the AxoRouters that host the store. A seal covers the files of a single day: the files in the warm tier and in the archive. The Store seals a file when the file is complete, so data can be sealed before it reaches the archive.
Prerequisites for sealing
-
A Store. You can enable sealing when you create the store , or later .
-
The URL of an RFC 3161 timestamp authority. Every AxoRouter that hosts the store must be able to reach this URL.
-
The root certificates of the timestamp authority, in PEM format.
Sealing options
Your own RFC 3161 timestamp authority signs the seals. Set the following options:

-
TSA URL: The RFC 3161 endpoint of the timestamp authority, for example,
https://tsa.example.com/tsr. -
CA Certificates: The root certificates (in PEM format) that the timestamps of the authority must chain to. You can add multiple certificates.
- To provide the CA certificates from the AxoConsole, select Paste value and paste the CA certificates. AxoConsole will automatically deploy the CA certificates to the related AxoRouters.
- To provide the CA certificates from a file, select File path and enter the path where the CA certificate file is located (for example,
/etc/axorouter/user-config/tsa-ca.pem). The path must be mounted into the container,/etc/axorouteris mounted by default. You must manually copy that file to its place on every affected AxoRouter, or you can use the configuration management system of your choice.
-
Sealing Interval: The minimum time between two seals of the store, in whole hours or days. Default value: 24 hours. With the default interval, sealing needs about one request a day for each store to the timestamp authority. If the store receives data for a day that’s already sealed, a new seal covers the new files.
Enable or disable sealing on an existing store
-
Navigate to Routers > Stores, and select the store.
-
Select Edit.
-
Turn on Sealing.
-
Set the sealing options .
-
Select Update.
The Overview of the store shows Sealing with the sealing interval, or Disabled. Timestamp Authority shows the timestamp authority that signs the seals. The Store creates the first seal at its next hourly check after it has data to seal.
To disable sealing, turn off Sealing on the Edit page of the store, then select Update.
CAUTION:
Don’t disable sealing on a store if you plan to enable it again. When you enable sealing again, the new seals start from that time. The existing seals stay.
Change the timestamp authority
You can change the timestamp authority of a store at any time. The existing seals stay valid, and the seal chain continues. If you change from one external timestamp authority to another, keep the root certificate of the previous timestamp authority in the CA Certificates field. You need this certificate to verify the earlier seals.
Troubleshooting
The Store checks once an hour whether a store needs a new seal. The timestamp authority can fail to answer within 30 seconds, or return an error. Then the seal stays pending, and the Store logs a warning. The Store tries the pending seal again at the next check. Until the timestamp authority signs the pending seal, the Store doesn’t create new seals for the store.