Add Alerts to Views
You can add an alert to a single view, or create an alert template that you can apply to multiple views.
Add an Alert to a Single View
We'll create an email alert for the 404 view created in Create and Edit Views. Views can have multiple alerts and multiple alert types.
- Go to Views and select your Alert.
- Click the Alert name and select Attach an Alert.
- Under Build My Own, select View Specific Alert.
- Select Email.
- You can configure presence or absence alerts. Set the alert to Presence.
- For this example, set it to 100 log lines in 15 minutes. As you update the number of log lines and times, the graph will update to show how many lines for that time.
The graph will update reflect your selections, the gray areas show the times you will not receive alerts.
- You can send an alert at the end of 15 minutes, immediately after 100 lines, or set a custom schedule. For this example, we'll select at the end of 15 minutes.
- Add you email recipients.
- Set the timezone to send the alerts.
Congratulations. You've set an alert, for the 404 View. Now you'll get an alert at the end of 15 minutes if there are 100 or more 404 errors logged.
Create an Alert Template for Views
Preset alerts are templates that can be used on multiple Views. In this example, you'll create a custom schedule for alerts that only notifies those on call Monday, Wednesday, and Friday from 8:00 AM - 5:00 PM. Then you'l assign that alert to a view.
Create the Preset
- Go to Settings > Alerts.
- Click Add a Preset.
- Select Email.
- Give the preset a name.
- Set Presence and when 5 log lines appear within 15 minutes.
- Send the alert at the end of 15 minutes.
- Toggle Custom Schedule. When you set a custom schedule, alerts will only be send during that time. If your app alerts outside of that time, you will not receive an alert.
- Select Monday, Wednesday, and Friday as the active days.
- Restrict the time to 8:00 AM - 5:00 PM.
As you update the days and time, you'll notice the graph updating. Areas shaded gray will not send alerts during that time.

A custom alert schedule showing Monday, Wednesday, and Friday from 8:00 AM - 5:00
Assign Preset to a View
- Go to Views.
- Select the View you want to add the alert to.
- Click the View name in the Viewer, then attach alert.
- Search for the alert name.
Tips and Troubleshooting
For tips and troubleshooting information, check out the Mezmo Log Analysis Support Knowledge Base.