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 have integrated my Gitlab with Opensearch and I have written alarms and redirected these alarms to the telegram. I have looked everywhere on the internet, including Opensearch's forum, but Per Document Monitoring still cannot pull the information in the document. My message box is as follows.
Also tried ctx.results
{ "text": "The following alerts have been triggered:\n{{#ctx.alerts}}\n Repository: {{#sample_documents}}{{_source.repository.git_http_url}}{{/sample_documents}}\n Branch: {{#sample_documents}}{{_source.ref}}{{/sample_documents}}\n Action: {{#sample_documents}}{{_source.object_kind}}{{/sample_documents}}\n User: {{#sample_documents}}{{_source.user.username}}{{/sample_documents}}\n Stage: {{#sample_documents}}{{_source.build_stage}}{{/sample_documents}}\n Status: {{#sample_documents}}{{_source.build_status}}{{/sample_documents}}\n-----------------\n{{/ctx.alerts}}" }
Output of telegram
The text was updated successfully, but these errors were encountered:
I have integrated my Gitlab with Opensearch and I have written alarms and redirected these alarms to the telegram. I have looked everywhere on the internet, including Opensearch's forum, but Per Document Monitoring still cannot pull the information in the document.
My message box is as follows.
Also tried ctx.results
{ "text": "The following alerts have been triggered:\n{{#ctx.alerts}}\n Repository: {{#sample_documents}}{{_source.repository.git_http_url}}{{/sample_documents}}\n Branch: {{#sample_documents}}{{_source.ref}}{{/sample_documents}}\n Action: {{#sample_documents}}{{_source.object_kind}}{{/sample_documents}}\n User: {{#sample_documents}}{{_source.user.username}}{{/sample_documents}}\n Stage: {{#sample_documents}}{{_source.build_stage}}{{/sample_documents}}\n Status: {{#sample_documents}}{{_source.build_status}}{{/sample_documents}}\n-----------------\n{{/ctx.alerts}}" }
Output of telegram
The text was updated successfully, but these errors were encountered: