Slack
Add IUDEX to your Slack workspace
Click the Slack logo in the top right of the dashboard and follow the prompts to add the IUDEX app to your workspace.
Note: you must have admin permissions to add apps to your workspace.
To see logs in Slack, you can follow either methods, using our UI or in code.
Filter-Based Alerts
To create an alert, just run any search and click create alert
in the top right.
From there, select the Slack channels to notify.
You can view, pause, and delete your alerts by clicking the alerts
link in the top right of the dashboard.
Tag-Based Alerts
You can also configure Slack alerts on a per-log basis.
Tag your logs with the iudex.slack_channel_id
attribute.
logger.info("Hello IUDEX!", extra={"iudex.slack_channel_id": "YOUR_SLACK_CHANNEL_ID"})
console.log('Hello IUDEX!', { ctx: { '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.