Once you have met the prerequisites for connecting Linux systems to Log Analytics, obtain your workspace ID and key, as you will need these for manually installing the Linux agent. To obtain the workspace ID and key, perform the following steps:
- Log into the Azure portal at https://portal.azure.com
- In the Azure portal, type Log Analytics in the search resources search field and under Services, select Log Analytics
- Select your workspace from the list and in the workspace blade, click on Advanced settings
- In the Advanced settings window, select Connected Sources, and then select Linux Servers
- Copy the values for the WORKSPACE ID and PRIMARY KEY: