how to apply condition on json response in NIFI

前端 未结 1 544
独厮守ぢ
独厮守ぢ 2021-01-27 10:23

{


\"alamrs\": [
{ 
  \"correlate\": [
    \" \", 
    \" \", 
    \" \" 
  ], 
\"event\": \" \", 
  \"group\": \" \", 
  \"history\": [
    {
      \"event\"         


        
1条回答
  •  有刺的猬
    2021-01-27 11:03

    I'd suggest using PartitionRecord with a JsonPathReader to send all records in the flowfile with /*[./alarms/resource=abc] to one relationship and the others to a different relationship.

    0 讨论(0)
提交回复
热议问题