Guides
Alerts and Monitoring

Alerts

The first thing you need to do is configure the IUDEX integration for your Slack or PagerDuty via the top right corner of the logs page.

Slack integration button

Setting up alerts can either be done by:

  • Per-log basis in code with tags.
  • Creating filters from log searches in our UI.

It’s easier to set up filters through the UI. If you need more fine-grained control or version control over your alerts, you can configure it in code. We recommend using Tag-Based alerts in most cases.

Tag-Based Alerts

Tag your logs with the iudex.slack_channel_id attribute.

logger.info("Hello from Slack!", extra={"iudex.slack_channel_id": "YOUR_SLACK_CHANNEL_ID"})

Your channel ID can be found by clicking the name of the channel in the top left, then at the bottom of the dialog that pops up.

As long as the channel is public or you’ve invited the IUDEX app, logs will be sent as messages to their tagged channel any time they are logged.

Filter-Based Alerts

To create an alert, just run any search and click create alert in the top right.

Create alert

Then you can view your alerts from the “alerts” dashboard.

Filter Alerts Dashboard

You can view, pause, and delete your alerts by clicking the alerts link in the top right of the dashboard.