-
Hello everyone in this example i tried 3 diffrent format
|
Beta Was this translation helpful? Give feedback.
Replies: 3 comments
-
Your example does not follow the documentation. For example, you are trying to reference a Please read the section in the docs that is specific to TheHive, and change your config to match the example shown in those docs. |
Beta Was this translation helpful? Give feedback.
-
hello @jertel thanks for your reply,
|
Beta Was this translation helpful? Give feedback.
-
Please use correct formatting on this discussion forum per our project guidelines in #11. Use ``` If you want further assistance, provide a rule that follows the format used in the documentation example, and the debug ElastAlert2 logs. Also, search the discussion forums for TheHive to find discussions that already give examples, like #465. |
Beta Was this translation helpful? Give feedback.
Your example does not follow the documentation. For example, you are trying to reference a
rule.name
variable in Jinja syntax in thetitle:
parameter, but thetitle
anddescription
and other TheHive parameters do not support Jinja. They support ordered parameter references, as shown in the included example. Only thealert_text
andalert_subject
support Jinja, neither of which you have specified in your rule above.Please read the section in the docs that is specific to TheHive, and change your config to match the example shown in those docs.