Reputation: 503
In my understand, usual case is using Datadog agent to send error to Datadog. However, I'd like to know there are some ways to send error to Datagog without Datadog agent.
For example, can we send by using Datadog webhooks?
Upvotes: 5
Views: 6914
Reputation: 2279
You can use most any of the common open source log shippers to send server logs to Datadog without using the Datadog agent, for example fluentd. But there can be several benefits to using the Datadog agent to collect server logs, such as:
There are other ways to collect logs in Datadog, among those is the HTTP API. Since this API uses a POST method, I bet you could configure Datadog's webhook integration to generate log events from Datadog events and alerts. That said, before you go through the trouble of doing this, if you have a use-case or reason you're interested in doing this, you may want to reach out to Datadog support to see if they have some features coming / in beta that would get you what you want without the extra work on your end. (What is your use-case? I'm curious)
Upvotes: 7