By: Ming Zhou

Read Time: 2 min

LogDNA is releasing Custom Webhooks, enabling customers to easily integrate LogDNA alerts with 3rd-party services. Custom Webhooks allows you to configure a webhook’s header and body and add specific LogDNA tokens to your alerts going through that webhook. 

Use case: 

If you’re using LogDNA alerts to inform your team of infrastructure or development issues, the next step in your workflow might be to create a ticket to track the task required to resolve the error from the alert. To do so, you now can trigger an API call from the LogDNA log alert. For example, if 100 loglines match a specified query, you can set up an alert to trigger an external webhook like Jira to create a new work ticket.

You can find this feature under the Alerts section: /manage/alerts

We’ve included the five most commonly used HTTP methods (POST, PUT, PATCH, GET, DELETE) to allow for maximum configurability. Custom Webhooks also allow for authentication via header fields, allowing users to secure the webhook URL.

Lastly, the body (payload) can be configured with JSON or plain text, hard-coded content, and tokens that map to data from the LogDNA alert. Tokens (template variables) we currently offer include:

  • view name
  • number of matched lines
  • raw output of matched lines, and
  • severity level.

Without configuration, LogDNA will provide a preset template. I’m excited to see the creative ways you’ll use Custom Webhooks! If you have ideas on additional tokens we should include, please let me know at ming@logdna.com.

Custom Webhooks docs can be found here.

Tags:

About Ming Zhou

RELATED POSTS

A New Chapter

Today is an exciting day for LogDNA! I have two wonderful announcements to make. First, we’ve officially announced that LogDNA has closed a $25 million...

Awards

LogDNA Wins 2020 IBM Cloud Embed Excellence Award

We are so excited to announce that LogDNA received the IBM Cloud Embed Excellence Award during the ​IBM Think 2020​ conference on May 5, 2020....

IBM

Deploy Log Analysis with LogDNA and Activity Tracker with LogDNA Faster on IBM Cloud

First published on www.ibm.com on December 19, 2019. Written by: Charles Comiskey, Product Manager - IBM Cloud We are making it easier than ever to deploy LogDNA on...

IBM