Microsoft Azure – Enable Linux Performance Counters in Azure for Monitoring
Log Analytics is an Azure service that collects and stores information/data from a set of different sources and we can use Log Analytics queries to retrieve records that match particular criteria, identify trends, analyze patterns, and provide a variety of insights into our data.
Collect Linux performance counters from Log Analytics agents at custom intervals to gain insight into the performance of hardware components, operating systems, and applications.
Follow the below steps to enable Linux performance counters in Azure for Monitoring:
Step 1: Log in to Azure Portal
Step 2: Access the Log Analytics Workspace >> Select your Log Analytics.
Step 3: After selecting the select Log Analytics Workspace, Navigate to Settings >> Agents Configuration.
Step 4: Select Linux Performance Counters >> You can start with the recommended performance counters by clicking on Add recommended counters or using the add button to add a new performance counter.
- Click on + Add Performance Counter >> Select the Performance Counter name
Step 5: After adding the required Performance Counter name, click on Apply to make the changes.
That’s it. You are done. This is a simple way to enable Linux performance counters in Azure for Monitoring.