NiFi AzureLogAnalyticsReporting Task not working

5/7/2021

We have setup AzureLogAnalyticsReporting task in our NiFi to send some metrics in our azure log analytics workspace. It was working sometime and suddenly it stopped working with an error “java.lang.RuntimeException HTTP/1.1 403 Forbidden”. To troubleshoot this issue we first tried to see whether we are having issue with log analytics workspace and Azure Monitor Data Collector API (which is used by this reporting task). But it turns out there is no issue on either. What puzzling is when we talked with Microsoft support if they can see our request and somehow not authorizing, it turns out that they can’t see any log for these requests. Any suggestions on how to troubleshoot this issue?

Our Nifi is being setup to be secure and it’s running in k8s cluster.

-- Mohammad Kamar
apache-nifi
kubernetes

0 Answers