Event management not generating message key automatically

kumaraj
Kilo Sage

Hi All,

I am pushing event using API explorer and get everything working as I expect but when i see in event's "message_key" field then I don't find any auto generated message key when i do not provide this value in API explorer.

I do not get message key generated in event record but I do get it in Alert's "message_key" field.

Any idea what can be wrong?

Thanks

19 REPLIES 19

Hitoshi Ozawa
Giga Sage
Giga Sage

message_key is set in Event Rule's Transform and Compose Alert Output. Check if the corresponding event's rule and check the Message key format to make sure they are being set.

1. From Navigator "Event Management" > "Rules" > "Event Rules"

2. Select the rule corresponding to the event that's missing message_key

3. Click on "Transofrm and Compose Alert Output"

4. Check the "Message key" field and the corresponding Event Input shown to the right.

find_real_file.png

Hi Hozawa,

Thank you for looking at it.

This is issue is with all the events, so i don't think it is due to event rules.

robertgeen
Tera Guru

Hello Kumaraj,

This is expected behaviour because the message key is only auto generated at the alert level and not at the event level. I believe it's done by a business rule on the alert table but I could be wrong as well (I also think it's done by the back-end processing code). Hope this helps.

Thank you Robert, you seems to be correct.