Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Per Document Monitor Documents still not Showing up [BUG] #1583

Open
cansentay opened this issue Jun 20, 2024 · 1 comment
Open

Per Document Monitor Documents still not Showing up [BUG] #1583

cansentay opened this issue Jun 20, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@cansentay
Copy link

cansentay commented Jun 20, 2024

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
image

@cansentay cansentay added bug Something isn't working untriaged labels Jun 20, 2024
@dblock
Copy link
Member

dblock commented Jul 8, 2024

[Catch All Triage, attendees 1, 2, 3, 4, 5, 6, 7]

Thanks for opening this, do you have repro steps for it?

@dblock dblock removed the untriaged label Jul 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants