Skip to main content
Skip table of contents

Get D3 Application Metrics

Add Incident Tags to the current incident.

Implementation

System

Command Category

Basic Utility

Tags

METRICS

Inputs

N/A

Output

Return Data

The returned result of this command. If some required parameters are not defined, this returned data could be empty. The returned result can be passed down directly to a subsequent command in playbooks.

SAMPLE DATA

JSON
Successful
Raw Data

The response data from the utility command.

SAMPLE DATA

CODE
123

Remote Command API

The D3 command API allows you to send requests to D3 SOAR to execute this utility command via REST API.

Request

POST

CODE
https:/{base_url}/{api_namespace}/api/Command/GetD3ApplicationMetrics

Headers

Please refer to the page Webhook Configuration Guide - Authentication Method: API Keys for more details.

Request Body

JSON
{
  "Username": "<Username here>",
  "Site": "<Site here>",
  "CommandParams": {
  }
}

Body Parameters

Parameter Name

Type

Required/Optional

Description

Username

string

Required

The username of your D3 SOAR account.

Site

string

Required

The D3 SOAR site to run the remote command.

Sample Request

SAMPLE DATA

JSON
{
  "Username": "Admin",
  "Site": "Security Operations",
  "CommandParams": {}
}

Response

Response Fields

Field Name

Type

Description

error

Text

The error message if the API request has failed.

returnData

JSON Object

The return data from the API request.

Sample Response

JSON
{
    "error": "",
    "returnData": {
        "IngestedEvents": {
            "Total": 60064,
            "AverageDaily": 2002,
            "AverageHour": 199,
            "AverageMinute": 9,
            "LastDay": 0,
            "LastHour": 0,
            "LastMinute": 0
        },
        "CreatedIRs": {
            "Total": 1940,
            "AverageDaily": 18,
            "AverageHour": 5,
            "AverageMinute": 1,
            "LastDay": 0,
            "LastHour": 0,
            "LastMinute": 0
        },
        "RunTimeTasks": {
            "Total": 84871,
            "AverageDaily": 738,
            "AverageHour": 170,
            "AverageMinute": 10,
            "LastDay": 0,
            "LastHour": 0,
            "LastMinute": 0
        },
        "CompletedTasks": {
            "Total": 72452,
            "AverageDaily": 658,
            "AverageHour": 151,
            "AverageMinute": 8,
            "LastDay": 0,
            "LastHour": 0,
            "LastMinute": 0
        },
        "RemoteContainerMetrics": {
            "ExecutingTasks": [
                {
                    "ExecutorURL": "https://exampleUrl.com",
                    "CurrentTaskCount": 10,
                    "Status": "offline"
                }
            ],
            "Online": 0,
            "Offline": 1
        },
        "AgentConnected": 0
    }
}
JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.