frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

Open in hackernews

Ask HN: Is anyone doing intelligent tiering for logs?

2•didro•22h ago
You might be familiar with Amazon S3 Intelligent-Tiering: https://aws.amazon.com/s3/storage-classes/intelligent-tiering/. It automatically moves data to cheaper storage tiers when it hasn’t been accessed for a while.

I’m wondering if a similar approach could work for observability data — especially logs. Hot storage is expensive, and much of the data may not be queried after a short period. Moving unused logs to warm or cold storage (or dropping them) could potentially save a lot.

Has anyone tried this kind of tiering or aging strategy for logs or metrics? Would love to hear how you approached it — tools, heuristics, lessons learned. Thoughts and speculation are also very welcome!

Comments

ovaistariq•21h ago
If your logging system uses object storage like S3 or Tigris for persistence then it can automatically benefit from storage tiering.
didro•21h ago
But they don't offer intelligent tiering for hot, quick-access storage. The S3 Intelligent Tiering storage spans warm, cold and archive.
PaulShin•20h ago
Great question, and very timely. We've been tackling this exact problem at my startup, Markhub. The cost of hot storage for observability data, especially logs, can quickly become a significant line item.

We adopted a tiered approach that's working well for us so far:

1. Hot Tier (Last 7 Days): Elasticsearch. For our real-time debugging and immediate operational needs, nothing beats the query speed of Elasticsearch. We keep a rolling 7-day window of all logs here. It's expensive, but essential.

2. Warm Tier (7-90 Days): AWS S3 Standard. After 7 days, our log shipper (Fluentd) automatically archives the logs to S3. If we need to investigate an older issue, we can still query these logs directly using AWS Athena. It's much slower than Elasticsearch, but for occasional, deep-dive investigations, the cost savings are massive.

3. Cold Tier (After 90 Days): S3 Glacier Deep Archive. After 90 days, the logs are transitioned to Glacier Deep Archive via S3's lifecycle policies. This is purely for long-term compliance and "break glass in case of emergency" scenarios. It's incredibly cheap to store, but we know that retrieving it would be a slow and deliberate process.

The key lesson for us was to be realistic about our actual query patterns. We found that over 95% of our queries were for logs less than 3 days old. This data-driven approach allowed us to be aggressive with our tiering strategy without sacrificing critical visibility.

didro•19h ago
Hm, interesting insight. Thanks for sharing!

But how did you get that query patterns? Were there some Elasticsearch API, proxies or smth else?

notaharvardmba•18h ago
Splunk has done this forever
didro•16h ago
How? It allows out of the box for static retention policies only, as far as I know...

Show HN: Tattoy – a text-based terminal compositor

https://tattoy.sh
1•tombh•25s ago•0 comments

Mechanize is building AI tools to automate white-collar jobs

https://www.nytimes.com/2025/06/11/technology/ai-mechanize-jobs.html
1•alexgotoi•1m ago•0 comments

Deploy your own Docker registry and builder in 3 commands

https://knot.deployto.dev/
2•mooreds•2m ago•0 comments

HTML WARDen (A Wiki)

https://ratfactor.com/htmlwarden/index
2•ibobev•6m ago•0 comments

Show HN: Your Technical Voice

2•mooreds•8m ago•1 comments

Jacob's Phone Simulator

https://jacobfilipp.com/phone/
1•surprisetalk•12m ago•0 comments

Why the age of AI is the age of philosophy

https://theendsdontjustifythemeans.substack.com/p/why-the-age-of-ai-is-the-age-of-philosophy
1•surprisetalk•12m ago•0 comments

When pop music went supernova

https://scottsumner.substack.com/p/good-vibrations
2•surprisetalk•12m ago•0 comments

The Army's Newest Recruits: Tech Execs from Meta, OpenAI and More

https://www.wsj.com/tech/army-reserve-tech-executives-meta-palantir-796f5360
1•aspenmayer•13m ago•1 comments

Show HN: qrkey - Offline private key backup on paper

https://github.com/Techwolf12/qrkey
4•techwolf12•13m ago•0 comments

Futarchy's Fundamental Flaw

https://dynomight.net/futarchy/
1•surprisetalk•15m ago•0 comments

Your Barbershop Doesn't Need Kubernetes

https://algarch.com/blog/your-barbershop-doesnt-need-kubernetes
1•jdalton•16m ago•1 comments

Optimizing tea: An N=4 experiment

https://dynomight.net/tea/
1•surprisetalk•17m ago•0 comments

Fundamental skills will always serve you well

https://www.tsoon.com/posts/fundamental-skills/
1•mooreds•17m ago•0 comments

Show HN: I built a tool to turn handwriting into a font with PyTorch/OpenCV

https://handfonted.xyz/
1•reshamgaire•18m ago•0 comments

Makepad, a new way to build UIs in Rust for both native and the web

https://github.com/makepad/makepad
1•rapnie•18m ago•0 comments

The Development of an New Painkiller

https://www.newyorker.com/magazine/2025/06/02/the-radical-development-of-an-entirely-new-painkiller
1•PaulHoule•19m ago•0 comments

My advice on (internet) writing, for what it's worth

https://dynomight.net/writing-advice/
1•surprisetalk•19m ago•0 comments

Ask HN: How do I give back to people helped me when I was young and had nothing?

3•jupiterglimpse•22m ago•5 comments

What happens when our brain goes blank

https://www.popsci.com/health/brain-blanking-explained/
1•gmays•22m ago•0 comments

The Same Old Fantasies Behind AI and New Technology

https://www.lawfaremedia.org/article/the-same-old-fantasies-behind-ai-and-new-technology
3•hn_acker•22m ago•0 comments

Essentials for getting the most from Coding Agents

https://dylanwatt.com/posts/2025-06-12-5-things/
1•d_watt•22m ago•1 comments

Show HN: curlmin – Curl Request Minimizer

https://github.com/noperator/curlmin
1•noperator•23m ago•0 comments

PostgreSQL JDBC 42.7.7 Security update for CVE-2025-49146

https://www.postgresql.org/about/news/postgresql-jdbc-4277-security-update-for-cve-2025-49146-3088/
2•amalinovic•24m ago•0 comments

A New Digital Dawn for Syrian Tech Users

https://www.eff.org/deeplinks/2025/06/new-digital-dawn-syrian-tech-users
1•hn_acker•24m ago•0 comments

My BEAM History

https://www.youtube.com/watch?v=htWYS2tpVLY
1•unripe_syntax•25m ago•0 comments

Tell HN: GitHub gists are great for private/public bookmarks

1•smusamashah•26m ago•0 comments

Scalable Lithium Niobate Nanoimprinting for Nonlinear Metalenses

https://advanced.onlinelibrary.wiley.com/doi/10.1002/adma.202418957
1•rbanffy•28m ago•0 comments

Self-Adapting Language Models

https://jyopari.github.io/posts/seal
2•danielmorozoff•31m ago•0 comments

Here come the glassholes, part II

https://www.ft.com/content/9c21af68-28ba-489e-81a6-552aff61ddbb
5•bookofjoe•33m ago•4 comments