Integrate Slack with Elasticsearch and Kibana.
Our step-by-step guide to setting up and integrating Slack with Elasticsearch and Kibana to receive instant notifications.
The TL;DR
(Too Long; Didn't Read)
Learn how we at reelyActive use Slack to send alerts and enable instant access to valuable information.
- What will this accomplish?
- Configure Slack and Elastic Cloud to send notifications.
- Is there an easier way?
- Manual counts and analysis of data behavior using pen and paper?
- So why would I read this?
- To learn both how and why to alert specific behavior in Kibana.
Add incoming webhooks to Slack channel
- Why Slack?
- Slack is an instant messaging platform that uses channels to share information with a group of people or a team.
- What are Incoming Webhooks?
- Incoming Webhooks are a simple way to post messages from apps into Slack.
From your browser:
- Browse to: https://companyname.slack.com/apps
- Click the Find essential apps button
- Search for and select Incoming WebHooks
- Click Add to Slack
- Copy the Webhook URL
- Select the channel to post alerts to
- Click Add incoming Webhooks integration
Configuring Elastic Cloud
Step 2 of 2
Configure Elastic Cloud to send alerts by Slack.
- Why an alert?
- To periodically check when data goes above or below a certain threshold within a given time interval.
- What's for?
- To be instantly informed of specific data behavior from kibana.
From Elastic Cloud:
- Browse to the desired Deployment
- Select the Security page
- Click the Create settings button
- Enter the Setting name which is xpack.notification.slack.account.slackaccountname.secure_url.
- Enter the Secret which is the Webhook URL copied from Slack.
You should now be able to send alerts with Slack from kibana Watcher.
Winner of a 2020 Elastic Search Award!
For our innovation of making physical spaces searchable like the web.
Where to next?
Create other visualizations, or continue exploring our open architecture and all its applications.