-
Hello, Is there support for match_enhancements in the helm chart? I'm trying to convert/format the @timestamp value in slack's alert body to a nicer date and time format.
My helm directory looks like this:
Thanks! :-) |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
You wouldn't normally modify the helm directory in this situation. Instead, use the volume mount settings: Then, per the various Kubernetes volume mount methods, you would source the custom enhancement contents from a ConfigMap, Secret, host file, etc. A simple way to accomplish this is by using a ConfigMap. Ex:
Apply that ConfigMap to your ElastAlert2 namespace. Then customize the volumes for the ElastAlert2 chart by adding the following to your value overrides file (looks like you are calling them values-dev.yaml, etc):
This is all written from memory so some paths or syntax errors will need corrected, but it should point you in the right direction. The Kubernetes documentation is useful for this type of information. Here's a good doc page to start with: https://kubernetes.io/docs/tasks/configure-pod-container/configure-pod-configmap/ |
Beta Was this translation helpful? Give feedback.
You wouldn't normally modify the helm directory in this situation. Instead, use the volume mount settings:
Then, per the various Kubernetes volume mount methods, you would source the custom enhancement contents from a ConfigMap, Secret, host file, etc. A simple way to accomplish this is by using a ConfigMap. Ex:
Apply that ConfigMap to your ElastAlert2 namespace. Then customize the volume…