Access the exact message from the log

Shyam Kasturi _CW_ July 20, 2023

Hello team,

Is there a way where we can populate the exact log message from the Kibana logs in the description of OpsGenie alerts.

We had some API endpoints created by our team. We are logging all the logs like for all the CRUD operations of those API's in Kibana space. We made an integration between Kibana and OpsGenie where if any of our API endpoint gets hit and if it is success, we send an alert and if it's error there is another alert for that.

We are able to get the alerts in OpsGenie but in the description box we are only seeing the value(how many logs are there) and the link which will be redirected to the Discover page of the Kibana where we can see the logs there.

If we expand any log there will be a "message" parameter, which we want to populate in the description box of OpsGenie alert.

1 answer

0 votes
John M
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
July 21, 2023

Hi @Shyam Kasturi _CW_ ,

If you go to the "Advanced settings" of the integration you can drag and drop the dynamic fields from the sidebar into any of the other fields. Here is an example of dragging 'message' into the description field, which will populate whatever is sent in the message field of the raw payload into the alert's description. 2023-07-21_14-15-15.png

Suggest an answer

Log in or Sign up to answer
AUG Leaders

Atlassian Community Events