diff --git a/alerting/src/main/kotlin/org/opensearch/alerting/transport/TransportGetFindingsSearchAction.kt b/alerting/src/main/kotlin/org/opensearch/alerting/transport/TransportGetFindingsSearchAction.kt index f4ebb604d..714e6d03d 100644 --- a/alerting/src/main/kotlin/org/opensearch/alerting/transport/TransportGetFindingsSearchAction.kt +++ b/alerting/src/main/kotlin/org/opensearch/alerting/transport/TransportGetFindingsSearchAction.kt @@ -142,6 +142,7 @@ class TransportGetFindingsSearchAction @Inject constructor( override fun onResponse(response: SearchResponse) { val totalFindingCount = response.hits.totalHits?.value?.toInt() val findings = mutableListOf() + log.info("response: $response") for (hit in response.hits) { // Debug use log.info("Parsing hits.")