You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am newbie to Opensearch. Apologies in advance in case wrong terminologies are used. We recently started to use OpenSearch as logging database.
We are trying to setup Alerting in Opensearch. As we are using Opensearch for storing application logs, therefore we more interested to go ahead with Per document monitor in order to apply more complex query based on business needs.
We have configured Per document monitor with below extraction query snippet -
Its working well. Now the requirement is to pipe app_log.message in alerts message (to slack) -
"_source": {
"app_log": {
"message": "[No Bank Account id found with XX-YY-ZZ]",
"caller": "/app/internal/usecase/implementation/xyz.go:1801",
"level": "error"
},
"status": "error"
}
I am newbie to Opensearch. Apologies in advance in case wrong terminologies are used. We recently started to use OpenSearch as logging database.
We are trying to setup
Alerting
in Opensearch. As we are using Opensearch for storing application logs, therefore we more interested to go ahead withPer document monitor
in order to apply more complex query based on business needs.We have configured
Per document monitor
with below extraction query snippet -Its working well. Now the requirement is to pipe
app_log.message
in alerts message (to slack) -We tried below snippet but no luck worked-
We already tried with couple of blogs available on internet -
Apart from that, there is one more issue want to highlight is
Per document monitor
does work with nested fields ("query": "app_log.level:\"error\"") -Let me know if more information is required.
The text was updated successfully, but these errors were encountered: