question

MulchandaniJaideep-9605 avatar image
MulchandaniJaideep-9605 asked ·

Azure Logic App : Logs not showing in Log Analytics workspace and AzureDiagnostics log table

I have been following the following article :
https://docs.microsoft.com/en-gb/azure/logic-apps/monitor-logic-apps-log-analytics

But even after following all the steps in the article , I cant see any data in Logic Apps Management section of my Log Analytics workspace.
It is always showing 0 data.

20290-image.png


By further analysis , I can see that there is no data in AzureDiagnostics table in my logs. There is data in rest 2 tables i.e. AzureActivity and AzureMetrics. Ideally when I have enabled the diagnostics, the table should have been populated.

20545-image.png


azure-logic-appsazure-stream-analytics
image.png (7.6 KiB)
image.png (36.6 KiB)
2 comments
10 |1000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hi @MulchandaniJaideep-9605

Following up to see if my answer helps. Do let me know if you any queries.

0 Votes 0 · ·

Hi @MulchandaniJaideep-9605

I hope the answer helps. Please let me know if you any further queries.

0 Votes 0 · ·
MichaelKoerner-1999 avatar image
MichaelKoerner-1999 answered ·

Make sure the Logic App is configured as shown in the section "Set up Azure Monitor logs"

1 comment Share
10 |1000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Yes. It is configured as per the section. Still not working.

0 Votes 0 · ·
MayankBargali-MSFT avatar image
MayankBargali-MSFT answered ·

Hi @MulchandaniJaideep-9605

Can you click on preview data for AzureActivity and see if you are able to see any data?
20823-image.png

Once the preview data window is opened please click on "See in query editor" and write the below query to check the last 1hr data after performing a test execution in logic app end.

AzureActivity
| where TimeGenerated > ago(24h)
| limit 10

Also, can you confirm if you have selected "workflow runtime" and "all metrics" in the diagnostic setting configuration of your logic app.

20795-image.png

I have tested the setup at my end following this article and didn't observe any issue.
20767-image.png



image.png (14.1 KiB)
image.png (16.2 KiB)
image.png (15.3 KiB)
Share
10 |1000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

KailashPandey-8878 avatar image
KailashPandey-8878 answered ·

Hi @MulchandaniJaideep-9605 & @MayankBargali-MSFT ,
I ran into the same issue and my Azure Logic App Management dashboard is always empty. And logics app are running every day and they have been configured exactly the same way as been described in the https://docs.microsoft.com/en-gb/azure/logic-apps/monitor-logic-apps-log-analytics.

@MayankBargali-MSFT -
under a specific logic app logs, if I run this query "AzureMetrics | where TimeGenerated > ago(24h) ", I get some results but as you asked to click on Preview Data under Azure Activity, I get an error saying "Error retrieving data". Please see the screenshot and any help will be appreciated
33000-image.png




image.png (35.0 KiB)
1 comment Share
10 |1000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hi @KailashPandey-8878

Thanks for reaching out. I can see that this is a different issue where the data is not retrieved from log analytics. I do see that you have posted your new issue here.

0 Votes 0 · ·