[Datadog] Automating with Datadog #1 – Getting Started with Workflows

Print

Datadog collects a wide range of data and can generate various events such as alerts and security signals based on that data.

Using these data and events, automation can be implemented directly within Datadog.


Datadog Workflow Automation provides over 400 actions across multiple tools, including workflow-specific actions such as HTTP tasks and JavaScript data operators.

You can trigger workflows from Monitors, Security Signals, or Dashboards, on a schedule, or manually. Workflows can also be triggered externally via API.

Here are some examples of workflows you can build:

  • Automatically scale an AWS Auto Scaling Group when a monitor tracking key metrics enters an alert state.

  • Automatically create an investigation notebook for malicious IPs detected by a security signal, and with one click, block those IPs via Cloudflare.

  • Trigger a workflow directly from a dashboard tracking system health to roll back to a stable version of an application.

  • Automatically update feature flag configuration files in GitHub and automate the pull request and merge process to manage feature flags.


Getting Started with Workflows 

Build Workflows Using Blueprints 

Datadog provides Workflow Blueprints. Go to Actions > Workflow Automation > Blueprints.

You can browse various types of blueprints you can create with Datadog.

Use the filters on the left (Use Cases and Action Types) to find relevant blueprints.


Build Workflows with AI 

Click New Workflow in Workflow Automation, or go to Actions > New Workflow to create a custom workflow. 


On the created Workflow page, click the Build with AI button. 

You can describe the desired workflow to the AI, 

and it will generate a basic structure with pre-configured actions.

The more detailed your instructions, the more precisely the workflow will be built.


Build Custom Workflows 

Click New Workflow in Workflow Automation, or go to Actions > New Workflow to create a fully customized workflow. 


You can use various triggers including Datadog Dashboards, Monitors, Security Events, as well as manual or external event triggers. (See: Workflow Trigger )


After specifying a trigger for the workflow, choose and configure the actions to be executed. Logic functions such as IF, FOR, SWITCH, and SLEEP are also supported. Most actions can be configured by simply filling in the required fields. 

Data from each action can be reused in other actions. If further data transformation is needed, you can use JavaScript Actions or JavaScript Expressions for simple adjustments. 

( references : Workflow Logic  / Actions / Action Catalog / Variableds / Javascript Expressions)


Some actions may require setting up an Integration or  Connection이 필요할 수 있습니다.


If you’d like to explore more advanced examples, we recommend following [Datadog] Automating with Datadog #2 – Disk Management.

この回答は役に立ちましたか? はい いいえ

フィードバックを送信
お役に立てずに申し訳ございません。この記事を向上させるためにフィードバックをお願い致します。