Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Log4net with azure application insights

I have azure cloud service project with web role and integrate log4netappender with application insights. How to show the logs on azure portal application insights?

like image 793
mahesh sharma Avatar asked Jul 07 '16 17:07

mahesh sharma


People also ask

How do I monitor my Azure application insights?

Enable monitoringSelect Application Insights in the Azure control panel for your app service, then select Enable. Choose to create a new resource, or select an existing Application Insights resource for this application.

Are application insights deprecated?

According to a message in the Azure Portal “Classic Application Insights is deprecated and will be retired in February 2024”. That means it's time to think about how to configure Application Insights to store it's data in a Log Analytics Workspac e.


1 Answers

Assuming you're using Application Insights Log4Net Appender, Go to Azure portal, open your application and then click on Search.

enter image description here

Then, you can filter only your traces.
Clicking on a result will open a new pane on the right with more detailed information like role name, role instance, device model etc.

enter image description here

like image 61
yonisha Avatar answered Nov 15 '22 03:11

yonisha