-
Hey there,
is there any smooth way to do that? alternatively, can I use enhancement method? @jertel I saw your answer here #1441 (reply in thread) |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 7 replies
-
The rule
Instead your enhancement would need to have the original description pattern string. Ex:
|
Beta Was this translation helpful? Give feedback.
-
Are you setting |
Beta Was this translation helpful? Give feedback.
The rule
description
field is a static field so no, it doesn't support the syntax you pasted above. What are you trying to do with the description? If you're trying to insert dynamic meta data into theelastalert_*
indices upon an alert triggering, then you might be able to write a similar enhancement to the one you linked. But keep in mind you'd be modifying the actual description field on the rule object, so all future alerts would have that modified rule description. In otherwords, you couldn't do something like this in your enhancement:Instead your enhancement would need to have the original de…