We’re excited to announce the launch of the LogDNA Configuration API, expanding on our existing API to allow users to manage their Views and Alerts programmatically. Use the new Configuration API to increase automation on LogDNA’s logging platform.
Previously, ensuring new Alerts for one region were uniformly applied to all other regions was a challenge for multi-region deployments. Now, with the Configuration API, users can create and update multiple Alerts and Views programmatically for consistent alerting rules across new and existing regions. Additionally, users with microservices or dynamically scaled infrastructure will be able to create and delete Views and Alerts automatically as services spin up and down, enabling granular control over how you monitor your deployments.
All LogDNA customers have access to the Configuration API. To get started, generate a service key. Then create your first View via the API with the following curl command:
curl https://api.logdna.com/v1/config/view \
-H 'servicekey: YOUR_SERVICE_KEY' \
-H 'content-type: application/json' \
"name": "My Configuration API View",
"query": "level:debug My first automated search query"
To learn more about the Configuration API, check out the docs here. Want to configure your account using Terraform? Check out our Terraform Provider announcement, which is built on top of this Configuration API.
We know that Views and Alerts are just the tip of the iceberg for things our users would like to configure via API. If you’d like to see more configurable resources, please feel free to share your feedback with us at firstname.lastname@example.org.
We’re excited to see what you will build on top of our API!