Difference between revisions of "Ctx.results"
Jump to navigation
Jump to search
(10 intermediate revisions by the same user not shown) | |||
Line 4: | Line 4: | ||
* https://forum.opensearch.org/t/a-value-from-ctx-not-showing-in-alert-message/6731/2 | * https://forum.opensearch.org/t/a-value-from-ctx-not-showing-in-alert-message/6731/2 | ||
− | {{OpenSearch}} | + | |
+ | <pre> | ||
+ | {{ctx.results.0}} | ||
+ | {{ctx.results.0.hits}} | ||
+ | {{ctx.results.0.hits.total.value}} | ||
+ | |||
+ | _source.error_code | ||
+ | |||
+ | |||
+ | </pre> | ||
+ | |||
+ | <pre> | ||
+ | {{#ctx.results.0.hits.hits}} | ||
+ | > {{_source.ObjectID}} - {{_source.Module}} - {{_source.MessageID}} | ||
+ | > {{_source.ErrorMessage}} | ||
+ | |||
+ | {{#ctx.results.0.hits.hits__source.ErrorMessage}} | ||
+ | </pre> | ||
+ | |||
+ | == Related == | ||
+ | * [[ctx]] | ||
+ | |||
+ | == Activities == | ||
+ | * Review how to extract data: https://forum.opensearch.org/t/kibana-email-alert-extracting-field-results/3606/19 | ||
+ | |||
+ | == See also == | ||
+ | * {{OpenSearch}} |
Latest revision as of 16:39, 4 May 2022
{{ctx.results.0}} {{ctx.results.0.hits}} {{ctx.results.0.hits.total.value}} _source.error_code
{{#ctx.results.0.hits.hits}} > {{_source.ObjectID}} - {{_source.Module}} - {{_source.MessageID}} > {{_source.ErrorMessage}} {{#ctx.results.0.hits.hits__source.ErrorMessage}}
Related[edit]
Activities[edit]
- Review how to extract data: https://forum.opensearch.org/t/kibana-email-alert-extracting-field-results/3606/19
See also[edit]
Advertising: