Log Analytics
Connecting ClearInsights to your Azure Log Analytics workspace
An Azure App Registration is required to connect and grant ClearInsights read access into your log analytics workspace.
Creating An Azure App Registration
Go To App Registration Service: Search for and navigate to Azure's App Registration service. This can be done by navigating to All Services page or searching via Azure portals main search bar.
Create An App Registration: From the App Registration service > click on New Registration.
Add a name for this App Registration. (Suggested Name: ClearInsights Log Managment)
Choose Supported Account Type (Recommended: Accounts in this organizational directory only)
It's recommended to create a new app registration as the sole purpose of this app registration is to grant ClearInsights read only access to the desired Log Analytics Workspaces.
Connect ClearInsights to App Registration
Grab your Tenant ID: How to find your Azure Tenant ID?
Get Your App Client ID: From the Overview tab on your Azure App Registration - copy & paste the value of Application (client) ID into the ClearInsights Log Analytics Workspace form.
Get Your Client Secret: From the Certificates & Secrets tab on your Azure App Registration - Create a new client secret and copy & paste the secret value into the ClearInsights Log Analytics Workspace form.
Get Your Log Analytics Workspace ID: In Azure, go to Log Analytics workspaces > Select Workspace and then "Overview" tab. From here you can retrieve a Workspace ID. Copy & paste this Workspace ID into the ClearInsights Log Analytics Workspace form.
Grant App Registration access to Log Analytics Workspace
Go To Log Analytics workspaces Service: Search for and navigate to Azure's Log Analytics workspaces service. This can be done by navigating to All Services page or searching via Azure portals main search bar.
Select the workspace: You may have more than 1 workspace available in this list, most likely separated by environment or resource group. Select the appropriate workspace(s) that contain the logs that you'd like to ingest into ClearInsights.
Grant Access: From the Access control (IAM) blade > Select the "Role assignments" tab.
Click on "Add role assignment" under the Add menu.
Select "Reader" from the Role tab.
Assign access to User, group, or service principal
Members: Click select members > Search for the name of the App Registration created above (Suggested Name: ClearInsights Log Managment)
Save: Click "Review + Assign". Your app registration should now have read access to this log analytics workspace.
Additional Resources
Last updated