Linux data collection and metrics
Log Analytics can collect Linux operating system performance counters as well as counters for Linux applications such as MySQL and Apache HTTP server.
How to do it...
To configure performance counter data collection on connected Linux systems in your Log Analytics workspace:
- Log into the Azure portal at https://portal.azure.com.
- In the Azure portal, type
Log Analytics
in theSearch resources
search field and underServices
, selectLog Analytics
.
- Select your workspace from the list and, in the workspace blade, under
Settings
, click onAdvanced settings
. - In the
Advanced settings
window, click onData
and then onLinux Performance Counters
. - Check the option to
Apply below configuration to my machines
and click onAdd the selected performance counters
. The listed options enable you to quickly create common counters.
- Click on
Save
at the top of the page to save the configuration:

Figure 9.3
The selected counters are added and data collection is configured for a 10-second...