Monitor Response

Hi

I am trying to create a monitor with the below extraction query. Which need to list out if any API_ERROR for every 5 minutes from the logs.

{
“query”: {
“match”: {
“LogType”: {
“query”: “API_ERROR”,
“operator”: “OR”,
“prefix_length”: 0,
“max_expansions”: 50,
“fuzzy_transpositions”: true,
“lenient”: false,
“zero_terms_query”: “NONE”,
“auto_generate_synonyms_phrase_query”: true,
“boost”: 1
}
}
}
}

But I am not sure this is correct or not. Because am receiving the alert with the below message,

API_ERROR Alerts
Monitor StoreApp API_ERROR Alerts just entered alert status. Please investigate the issue.

  • Trigger: StoreApp API_ERROR Trigger
  • Severity: 1
  • Period start: 2020-01-22T20:38:07.747Z
  • Period end: 2020-01-22T20:39:07.747Z

Is there anyway to publish the error message in the Trigger result.