At the end of November, we’ll be migrating the Sematext Logs backend from Elasticsearch to OpenSearch

Alert Rules & Notification Hooks Sharing

April 12, 2017

Table of contents

Besides completely revamping the Sematext Cloud user interface recently (hello ReactJS & Redux!), we’ve also made some changes to how certain features work. One of them is related to Alert Rules and related Notification Hooks (aka Integrations).

Previously, Alert Rules defined for an App were visible to both Account Guests (who are essentially members of your team) and to App Guests. The idea behind App Guests is to give “outsiders” the ability to view App data (e.g. metrics, logs, events, etc.) and potentially use it to build their own Dashboards, Alerts, etc. Such “outsiders” clearly should not affect your team’s work in any way. However, since all Alert Rules and Notification Hooks were visible to them, it was possible for such “outsiders” to, whether on purpose or by mistake (e.g. by not realizing their actions would affect other users’ data)) delete or disable Alert Rules your team depends on, or maybe create new Alert Rules that your team does not need, possibly flooding your ChatOps tools or inbox with alert notifications.

Similarly, Notification Hook definitions (for Slack, PagerDuty, HipChat, VictorOps, etc.) used by your team were exposed to “outsiders”, which is something one rarely wants.

Now each Alert Rule and each Notification Hook is tied to account under which it was created. This way any member of your team will still see all Alert Rules created under the common shared account. Each team member will be able to use and create new Alert Rules and Notification Hooks, which will also be visible to other members of the team (but editable only by the shared account owner, or users with admin role). Such Alert Rules and Hooks will not be visible to App guests though, so your team’s work in the common shared account will not be affected by them.

You might be wondering what happened to Alert Rules and Notification Hooks created before this change. We analyzed each Alert Rule along with the associated Notification Hooks and assigned them to an account. In most cases that was the account that owned a particular app to which the Alert Rule was related.

In case your team is not using Account Sharing yet, consider benefits of this feature over plain App sharing:

  • you invite team members to parent account just once; when new apps are added to parent account, every existing account guest automatically gets access to it
  • your team members can share alert rules, notification hooks, even the dashboards
  • your whole team has the same view of all your metrics and logs
  • you can control what various team members can do by assigning them USER, ADMIN or BILLING_ADMIN role

If you are logged into your account and have trouble finding your old Alert Rules or Hooks – note that they are not gone!  They were just assigned to one specific account under which they are still active.

Get started with Account Sharing feature. If your team is already using Account Sharing, then it is just a matter of switching into right account in the UI.

Sematext Alert Rules & Notification Hooks Sharing

If you have any further questions, don’t hesitate to contact us at support@sematext.com.

Java Logging Basics: Concepts, Tools, and Best Practices

Imagine you're a detective trying to solve a crime, but...

Best Web Transaction Monitoring Tools in 2024

Websites are no longer static pages.  They’re dynamic, transaction-heavy ecosystems...

17 Linux Log Files You Must Be Monitoring

Imagine waking up to a critical system failure that has...