Create Tags and Alerts

Step 3: Create Tags and Alerts

Tags can help you quickly spot important issues in your logs and are the building blocks for generating alerts in InsightOps. With tags and alerts, you can:

  • Filter for events that matter the most to your business.
  • Easily recognize keywords or patterns in your data.
  • Receive real-time alerts of known issues or critical events.
  • Get notified when anticipated events don’t occur as expected.

Create a Tag

  1. Click the Manage Alerts icon on the left-side navigation bar.
    • Note: You need to create tags before setting up alerts.
  2. Click the Add tag/alert button.
  3. Select Basic tag.
  4. Enter a tag name (e.g. “500 error” or “critical”).
  5. Enter a pattern to be matched. For example, you can match a basic keyword, a regular expression, or an advanced calculation (e.g. CPU>70).
  6. Select a label for your tag from the pre-populated list or create a new label. Note: Labels are how the tag will display in your logs.
  7. Choose the logs to which the tags will apply.

Learn more about Tags.

Create an Alert

Once you’ve created a tag, you can configure its alert settings.

  1. Specify how many times a pattern must match a log entry before an alert is triggered.
  2. Specify how often you would like to receive alert reports.
  3. Check the "Include context" box if you want your alert to include entries that were logged at the same time as the entry that generated the alert.
  4. Specify how you would like to be notified. Options include email address(es), Web Hook, Slack, Campfire, Pager Duty, and Hip Chat.
  5. Click Save Changes.

Learn more about Alerts.