Member since
01-08-2019
3
Posts
0
Kudos Received
0
Solutions
03-28-2019
02:01 PM
@Matt Burgess It works fine if there is just one object in the input tree if there are more it makes them as an array rather than separate records. Like {
"agent_submit_time" : [ -1, -1 ],
"agent_end_time" : [ 123445, 123445 ],
"agent_name" : [ "Marie Bayer-Smith", "Marie Bayer-Smith" ]
} I would like to to be something like [
{
"agent_submit_time" : -1,
"agent_end_time" : 123445,
"agent_name" : "Marie Bayer-Smith"
},
{
"agent_submit_time" : -1,
"agent_end_time" : 123445,
"agent_name" : "Marie Bayer-Smith"
}
] How to do that. I tried but I couldnt replaceing "*": "&" with "@": "[&]" makes it separate but the transformation of - to _ doesnt takes place.
... View more
01-08-2019
04:27 PM
@Matt Burgess @Shu so Im a bit confused. I want to monitor the queue(s) and create and Alert. I understand this post and the Nifiworkflow but is it the right way? Alert: send data to Prometheus and from there read and display in Alerta. Im not sure whats the correct way. as I read there are ReportingTasks which can also be used to do something similar. e.g SiteToSiteStatusReportingTask can be used to get connection status? Also how to send data to Prometheus? Some Post processor or ReportingTask or something custom? Could anyone please explain a bit?
... View more