Can we fetch custom logs in Azure OMS

624 views Asked by At

Our Project is a Java Spring boot application, We have a logging system using log4j, Which we are pushing into the Azure Storage accounts.

Question: I want to query these custom logs in OMS. (Is it possible) If Yes how.

Till now what i have tried is. 1. Pushed the logs in Blob storage using Logback and container looks like Blob Storage

  1. Pushed logs in table storage enter image description here

And configured Storage accounts in log analytics in Azure workspace enter image description here

But i am unable to see any Analytic data to query in OMS . Please help.

1

There are 1 answers

0
Francis Yu - MSFT On

If you can't use Application Insights, you can read logs files from Storage and use HTTP Data Collector API to push logs into Log Analytics workspace. Samples and reference: https://learn.microsoft.com/en-us/azure/log-analytics/log-analytics-data-collector-api