-
Hello, I'm trying to use elastalert to alert when our cluster hdfs capacity is less than a specific threshold (min_cardinality). I tried the cardinality type but it doesn't seem to be working. It's triggering alerts/matches even though it shouldn't as the cluster has much more capacity than the specified threshold. Am I using the appropriate type for this kind of alert? The more I try to work on this I'm not sure elastalert is necessarily the proper tool for this particular alert/use case but it's entirely possible I'm not using it correctly. Any tips/direction are appreciated and i'm happy to provide any additional information should it be useful - thank you! My config is as follows:
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
Cardinality is the count of unique values for a given field. That's probably not what you want. Check out the Metric Aggregation rule instead, using these inputs:
Which would alert when you have less than 3.46TB remaining. |
Beta Was this translation helpful? Give feedback.
Cardinality is the count of unique values for a given field. That's probably not what you want. Check out the Metric Aggregation rule instead, using these inputs:
Which would alert when you have less than 3.46TB remaining.