News for hackers. Stuff that matters.
Re:Ask HN: What's your preferred logging stack in Kubernetes by nullify88 on Monday July 22, 2024 @01:47AM (#41031244)
I'm currently migrating from Elasticsearch to Loki, and it's much simpler to run and still meet our requirements.

I think Elasticsearch had its day when it's used to derive metrics from logs and performing aggregate searches. But now as logging is often paired with metrics from Prometheus or similar tdb, we don't run such complex log queries anymore, and so we find ourselves questioning whether it's worth running such a intensive and complex Elasticsearch installation.

Re:Ask HN: What's your preferred logging stack in Kubernetes by jaachan on Monday July 22, 2024 @02:28PM (#41037895)
We migrated away from an Elastic stack to a Loki stack, and were able to store order of magnitude more data for less money. Maybe we did Elastic wrong, but we tried various managed solutions and always ran into limits. The new Loki stack has always given quicker answers too.
Re:Ask HN: What's your preferred logging stack in Kubernetes by nullify88 on Tuesday July 23, 2024 @02:04PM (#41048984)
There are many ways to get Elastic wrong, index templates and field types, shard sizes, number of primary and replica shards, node heap size, and those are only a fraction. It's very easy to get Loki right in comparison.
Re:Ask HN: What's your preferred logging stack in Kubernetes by nijave on Wednesday July 24, 2024 @05:04PM (#41062096)
Elasticsearch being strongly typed I think creates a lot of overhead since you need to manage the schema for all your logs. Loki only expects certain (indexes) fields which are key, value pairs so you can throw all kinds of data into it and only mess with schema when you're querying