Slack Monitoring (Open Beta)Last updated on 30 January, 2023
Slack is a community platform designed for instant messaging and communications. LogicMonitor offers SaaS integration for Slack by default, with DataSources available to monitor user count and service health.
- You must be an administrator of an active Slack account using an Enterprise Grid license.
- Install the Slack LogicModules. For more information, see Slack LogicModules.
Creating an App in Slack
Before adding a new Slack SaaS resource to LogicMonitor, you need to create a Slack app and collect the app credentials.
- From the Slack API portal, select Create a New Slack App.
- Enter the App Name and Development Workspace.
- On the Basic Information page, navigate to the App Credentials section. Collect the following information and save it to a secure location:
- App ID
- Client ID
- Client Secret
- On the Basic Information page, navigate to Building Apps for Slack and select Permissions.
- On the OAuth & Permissions page, navigate to Redirect URLs. Select Add New Redirect URL and provide a URL. For example:
- Select Save URLs.
- On the OAuth & Permissions page, navigate to the Scopes section. Select Add an OAuth Scope to enable the following scopes:
- Bot Token Scopes
- User Token Scopes (for authorization)
- User Token Scopes (for DataSources)
- Bot Token Scopes
- Navigate to Features > Org Level Apps > Org apps program and select Opt In.
- Navigate to Features > OAuth & Permissions > Advanced token security via token rotation and select Opt In.
Adding Slack to Monitoring
Slack monitoring is added from the LogicMonitor Resources page. The SaaS Monitoring wizard guides you through the setup. You have the option to add new resource properties to your Slack instance, or to select existing properties.
- In LogicMonitor, navigate to Resources and select Add [+].
- From the Add Resources window, select Cloud and SaaS.
- Navigate to the SaaS Monitoring section and select Slack > Add.
- From the SaaS Monitoring wizard, enter a Name and Description for the Slack account. These fields determine how the resource is displayed throughout your LogicMonitor environment.
- Enter a Parent Group to add this resource to an existing group. The default value is root.
- Enter Properties (key-value pair) by typing a Name and Value. You can also select from a list of existing properties.
- Click Next.
- On the Permissions page, enter the permissions that you collected from your Slack account.
- Client ID: The Client ID in Slack.
- Secret Key: The Client Secret in Slack.
Note: To obtain the Shareable URL, navigate to the Slack API portal and select Manage Distribution > Share Your App with Your Workspace.
- Select Authorize and the Refresh Token is auto-generated.
- Select Test Permissions to authenticate.
- Select Add Service to add the new resource to LogicMonitor.
- Click View Resource to view the new Slack resource in LogicMonitor.
Approving the App in your Slack Workspaces
After adding the Slack resource to LogicMonitor, you must approve the newly created app in each of your Slack workspaces.
- From your Enterprise Slack page (
enterprise.slack.com), select Manage Organization.
- Select Integrations > Installed apps and select the LogicMonitor application.
- Select Manage > Approve this app.
Note: Grant approval for each workspace that you want to integrate by selecting Manage > Add to more workspaces. Enable the Default for future workspaces checkbox to add the app on all future workspaces.
The following modules are available for Slack SaaS integration. For more information, see Installing Modules and Packages.