Checked multiple other potential solutions, I am trying to exporter the aggregation data to some other data storage.
Logstash elasticsearch input plugin seems to be an alternative. Sadly plugin version we are using does no support it.
  
  
    
    
  
      
    
      logstash-plugins:main ← MikhailMS:main
    
      
        
          opened 06:40PM - 11 Oct 23 UTC 
        
        
        
       
   
 
  
    As title says, this PR enables this plugin to execute aggregation queries
The…  work is based on the existing PR #90 (and potentially resolves #58)
However code & tests were updated to include all the changes that were introduced since original PR was created/last updated
Tests are included and also was live tested with Logstash v8.8.2 
   
   
  
    
    
  
  
 
Watcher seems to be another alternative. Below is a thread about it
  
  
    Hi @cjcenizal .  Could you provide any feedback on my results?   
Also, would array compare be applicable here? 
"condition": {
    "array_compare": {
      "ctx.payload.aggregations.node_name.buckets" : { 
        "path": "unsure which path leads to unack_count.value", 
        "gte": { 
          "value": 0 
        }
      }
    }
  }