Vector is a popular observability pipeline tool that can be used to transform data as it traverses your ecosystem. Commonly we use it to filter logs or convert those logs to metrics, but recently we have started using it to turn logs into Datadog Events.
Compared to logs, Datadog Events have a more rigid object structure which enables Datadog to use them for features like Watchdog and Event Correlation. They are best suited for sparse events, like when an application is started or stopped, a new configuration is loaded, or an unexpected fault that results in application crash and/or restart. Datadog includes 500 events per host per month as part of its Pro plan and 1,000 events per host per month as part of its Enterprise plan.
Critical events like these are often buried in log files that are filled with other verbose messages. With Vector, you can watch for specific log events and generate a Datadog Event with the relevant Title, Status, and Service tag. These events can then be used for Monitors, Dashboard Overlays, or Triggering Workflows.
Here is an example where we use Vector to watch our logs for three specific messages and publish an event into Datadog with varying status levels.
With Vector's powerful transformation capabilities, you can seamlessly convert critical log data into actionable Datadog Events. Try it yourself and see how it can enhance your monitoring and response efficiency.
Have questions or want to learn more? Reach out to our team at chat@rapdev.io to learn more.