Hi everyone,
I'm currently working with Elasticsearch snapshots and I need some clarification on how to estimate the size of a snapshot, especially for a specific index.
For example:
- Let's say I have an index called
logs-2025.04.08
. - I take a snapshot using the
_snapshot/my_repo/snap-20250408
API. - I would like to calculate or estimate the storage size that this snapshot will consume in the snapshot repository (e.g., on S3 or a shared filesystem).
I have some questions:
- Is there a way to get the exact or approximate size of the snapshot for this specific index?
- Does Elasticsearch expose this information via any API?
- Are there any tools or best practices to monitor snapshot sizes over time?
Some additional context:
- Elasticsearch version: 8.6.1, 8.8
- Repository type: S3 or FS