Log Insight 4.5: Alert Enhancements

Log Insight 4.5 added some nice enhancements around alerts. I would like to cover all the enhancements in this post. Read on to learn more!

Description and Recommendation

As Log Insight 4.5, user alerts now support a description as well as a recommendation:

This information is shown no matter what destination(s) are configured for the alert.

Basic Auth for Webhooks

Log Insight introduced webhook in version 3.3. The feedback has been incredible for this feature. One missing capability was the ability to set basic authentication as part of the webhook. I am happy to announce this feature is available in version 4.5. Simply add the basic authentication in the standard HTTP format:

Of course, I would recommend using HTTPS for this traffic. You can validate that things are working as expected by leveraging the test endpoint available in the webhook shim (be sure to update to the latest version since) with the send test alert button in the Log Insight UI:

If you base64 decode the basic header, you can see it matches what I configured in the UI:

Note that all webhook shims that supported basic auth have been updated to pass basic auth information received in the header — be sure to grab the latest version!

Count for AQ in Alert History

Alert history was added in Log Insight 4.3. One thing this feature was missing was the ability to show the count for aggregation queries. This capability has been added in version 4.5:

API for Alert Execution and History

Another limitation of the alert history in version 4.3 was that no API was made available. As of version 4.5, an API is now available for alert history.

© 2018 – 2017, Steve Flanders. All rights reserved.

Leave a Reply