Create a Custom Strapi Plugin

Asit Kumar Panda2 min read
Create a Custom Strapi Plugin

Problem :

If you don't configure log-based alerts, you may miss important events or patterns in your system logs that could indicate issues or potential problems. This could result in slower issue resolution times, increased downtime, and reduced system reliability. Without log-based alerts, you may not be aware of issues until they become more serious and impact your users or business operations. In addition, you may not be able to meet compliance and security requirements that require monitoring and alerting on specific events or patterns. Overall, not using log-based alerts can put your systems and applications at risk and hinder your ability to proactively monitor and respond to issues.

Solution :

Configuring log-based alerts involves setting up notifications that are triggered based on specific events or patterns found in system logs. This is important for proactive monitoring, faster issue resolution, improved system reliability, and compliance and security. By setting up log-based alerts, you can respond to issues faster and improve the overall reliability and security of your systems and applications.

Before configuration we need two permission on gcp:

  1. monitoring.alertPolicies.create
  2. logging.notificationRules.create

Create a log-based alert by using the Logs Explorer :

The Logs Explorer interface for creating and editing log-based alerts guides you through the following steps:

  • Provide a name and description for the alert.
  • Choose the logs for which you want to receive a notification.
  • Set the time between notifications.
  • Set the time for automatic closure of incidents.
  • Specify whom to notify.

Click on -> Create alert

Ready to build something that matters?

We solve problems that don't have Stack Overflow answers. Let's talk.

Book a Discovery Call