We’re running a platform made out of 5 clusters. One of the clusters died. We’re using Kibana because its cheaper than Cloudwatch (log router with fluentbit). The 14 hour span that the cluster was dead shows 0 logs on Kibana, and we have no idea what happened to the cluster. A simple restart of the cluster fixed our issue. So, to make sure it doesn’t die again while we’re away, we need to set it up so it automatically restarts. Dev did not implement a cluster health check. We’re using Kibana, so I can’t use Cloudwatch to implement metrics, alarms and actions. What do I do here? How do I make the cluster restart itself when Kibana detects no incoming logs from it? Thank you.
Helps if you said what cluster this is
My bad, fargate, ecs. Cluster itself shows as healthy, the internal processes died.
Yo dawg - I heard you need a log platform to log your log platform and alert if your log platform no longer logs.
Cloudwatch for redundancy?
Man, I know its not the best solution, but where they spend their money isn’t up to me. I just need a way for this cluster to restart when it stops sending logs.
Who watches the watchers? ![]()
Cloudwatch → Splunk → DataDog → Sumo Logic → Logstash → S3?
Cluster getting out of storage space? Sometimes is not evident because it’s configured to stop accepting new logs when a certain threshold per node is reached and can accept new logs on restart. Anyway of course you should have logs and metrics of the elastic cluster somewhere else.
Kibana might be cheaper but you don’t have logs now. Was it worth the cost?
Long time ago when I thought using ELK / Kibana for monitoring was a good idea we had the commercial version which had alarms. What you could do is to setup an alarm if no data arrives in the index to run a script or trigger a lambda. That thing can the do some cluster restart logic.
Still a bit risky because data might not arrive in the index for many reasons. Yeah one of the reasons Kibana sucks as a monitoring tool.
Where’s newrelic? For datadog redundancy?
->some random email inbox
The only futureproof logging solution.
You can also create watchers and alerts on Kibana.
Are you sure it failed if there were no logs and no alarms? Have you looked where you last used it??
As I said, its not coming out of my pocket, nor is it my decision ![]()
Instance did not go “down” - shows as healthy, doesn’t work.
Update for everyone - created an alarm that restarts the cluster if the CPU util drops below 0.04 - that was the constant I noticed during our “downtime”. Yeah, I know, a shitty fix, but it seems that it was specifically stuck on 0.03 while it was “down”.
“Who protects the family from the man that protects the family?”
Developer opens ticket with IT: How do I open a 3PB outlook pst file?
You appear to have put the cluster together as hastily as this post.
What application are you even talking about? Elasticsearch?
You could do something as simple as having Nagios checking port 9200 on each cluster member.
But seriously, the winter break is coming, take some time and rearchitect this thing, it sounds like a hot mess to me.
Lol, I was onboarded a month ago, senior left a week later. It’s a production app, not ES or other logging stuff. I mean, another cluster is doing the ES-Kibana stuff, this one is just one part of a big app.