Pagerduty Custom Details Option is Misleading and Limiting #1673
-
My initial thoughts were that I could put anything under elastalert2/docs/source/alerts.rst Lines 1898 to 1899 in 55e2659 For example:
But what happens is that on the pageryduty alert side these key's values are set to null.
After tinkering around I've concluded the pagerduty alert option elastalert2/elastalert/alerters/pagerduty.py Lines 50 to 53 in 55e2659 Example of an elastalert match to find keys in for custom details payload : It's neat to be able to reference the value of a elastalert match key, but is there a reason why we are restricted to whatever is in the elastalert match and that we can't put whatever we want for custom details? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
I agree, that does seem overly limiting. If you'd like to submit a PR to support falling back to the static value when it's not found in the match I would support that. Perhaps something like:
The contribution guidelines explain the requirements for submitting a PR. |
Beta Was this translation helpful? Give feedback.
I agree, that does seem overly limiting. If you'd like to submit a PR to support falling back to the static value when it's not found in the match I would support that.
Perhaps something like:
The contribution guidelines explain the requirements for submitting a PR.