简体   繁体   中英

Can we fetch custom logs in Azure OMS

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 斑点存储

  1. Pushed logs in table storage 在此处输入图片说明

And configured Storage accounts in log analytics in Azure workspace 在此处输入图片说明

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

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://docs.microsoft.com/en-us/azure/log-analytics/log-analytics-data-collector-api

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM