load-balancing-dns-traffic-property-all-datacenters-liveness report

The following shows how to generate the load-balancing-dns-traffic-property-all-datacenters-liveness report using either the Reporting API’s Generate a report POST operation or the Get a cacheable report GET operation. Details about each report’s supported products, metrics, filters, and available data intervals are also available dynamically by running the API’s Get a report type operation, also shown below. See also other available reports.

Report definition

Liveness for a Property by all DataCenters.

This report allows you to configure the aggregation interval for each data record. Available interval values are: HOUR, DAY, FIVE_MINUTES.

Business object: fpdomain

Data available for: 90 days

Available metrics

Metric Description
Data metrics
notAlive Target Alive = 1 or Target Down = 0.
startdatetime Epoch time in milliseconds.
trafficTarget The Traffic Target.

Sample report

POST /reporting-api/v1/reports/load-balancing-dns-traffic-property-all-datacenters-liveness/versions/3/report-data{?start,end,interval}

Sample: /reporting-api/v1/reports/load-balancing-dns-traffic-property-all-datacenters-liveness/versions/3/report-data?start=2020-06-26T13%3A40%3A00Z&end=2020-06-26T14%3A00%3A00Z&interval=FIVE_MINUTES

Object type: Query

Download schema: report-request-schema.json

Query parameters

Parameter Type Sample Description
Required
start String 2020-06-26T13:40:00Z Specifies the start of the reported period as an ISO–8601 timestamp with optional time zone. The report includes data that matches the start value’s timestamp.
end String 2020-06-26T14:00:00Z Specifies the end of the reported period as an ISO–8601 timestamp with optional time zone. The report excludes any data that matches the end value’s timestamp.
interval Enumeration FIVE_MINUTES The duration of each data record. Available values: HOUR, DAY, FIVE_MINUTES.

JSON request members

Member Type Description
objectIds Array Specifies the set of fpdomain values you want to report on.
objectIds Enumeration As an alternative to an array of ID values, specify all as a string for unfiltered data. Either way, objectIds is required.
metrics Array The set of desired metrics. If omitted, the report includes all available metrics.

Request body:

{
    "objectIds": [
        "55232",
        "23433",
        "32433"
    ],
    "metrics": [
        "notAlive",
        "startdatetime",
        "trafficTarget"
    ]
}

GET /reporting-api/v1/reports/load-balancing-dns-traffic-property-all-datacenters-liveness/versions/3/report-data{?start,end,interval,objectIds,allObjectIds,metrics}

Sample: /reporting-api/v1/reports/load-balancing-dns-traffic-property-all-datacenters-liveness/versions/3/report-data?start=2020-06-26T13%3A40%3A00Z&end=2020-06-26T14%3A00%3A00Z&interval=FIVE_MINUTES&objectIds=55232,23433,32433&metrics=notAlive%2Cstartdatetime

Query parameters

Parameter Type Sample Description
Required
start String 2020-06-26T13:40:00Z Specifies the end of the reported period as an ISO–8601 timestamp with optional time zone. The report excludes any data that matches the end value’s timestamp.
end String 2020-06-26T14:00:00Z Specifies if unavailable reports should be shown.
interval Enumeration FIVE_MINUTES The duration of each data record. Available values: HOUR, DAY, FIVE_MINUTES.
Optional
allObjectIds Boolean true As an alternative to objectIds, enabling this generates a report that includes all IDs available for the fpdomain objectType. This parameter is ignored if the request also specifies a set of objectIds.
objectIds String 55232,23433,32433 As an alternative to allObjectIds, specifies the set of unique IDs for the fpdomain objectType you want to report on, formatted as a comma-delimited list.
metrics String notAlive,startdatetime Specifies a comma-separated list of metrics to include in the report, otherwise all metrics if omitted. The set of available metrics depends on the type of report. URL-encode the entire value in the GET request.

Status 200 application/json

Object type: Report

Download schema: report-response-schema.json

Response body:

{
    "metadata": {
        "name": "load-balancing-dns-traffic-property-all-datacenters-liveness",
        "version": "3",
        "outputType": "HIERARCHICAL",
        "groupBy": [
            "startdatetime",
            "trafficTarget"
        ],
        "interval": "FIVE_MINUTES",
        "start": "2020-06-26T13:40:00Z",
        "end": "2020-06-26T14:00:00Z",
        "availableDataEnds": null,
        "suggestedRetryTime": null,
        "rowCount": 4,
        "filters": [],
        "columns": [
            {
                "name": "groupBy",
                "label": "startdatetime"
            },
            {
                "name": "groupBy",
                "label": "trafficTarget"
            },
            {
                "name": "notAlive",
                "label": "Status"
            },
            {
                "name": "startdatetime",
                "label": "startdatetime"
            },
            {
                "name": "trafficTarget",
                "label": "Traffic Target"
            }
        ],
        "objectType": "fpdomain",
        "objectIds": [
            "55232",
            "23433",
            "32433"
        ]
    },
    "data": [
        {
            "startdatetime": "2020-06-26T13:40:00Z",
            "data": [
                {
                    "trafficTarget": 56273456,
                    "notAlive": "1",
                    "startdatetime": "909"
                },
                {
                    "trafficTarget": 54273611,
                    "notAlive": "1",
                    "startdatetime": "127"
                },
                {
                    "trafficTarget": "Other",
                    "notAlive": "Other",
                    "startdatetime": "1058"
                },
                {
                    "trafficTarget": 922300,
                    "notAlive": "0",
                    "startdatetime": "743"
                }
            ]
        },
        {
            "startdatetime": "2020-06-26T13:45:00Z",
            "data": [
                {
                    "trafficTarget": 56273456,
                    "notAlive": "1",
                    "startdatetime": "200"
                },
                {
                    "trafficTarget": 54273611,
                    "notAlive": "1",
                    "startdatetime": "479"
                },
                {
                    "trafficTarget": "Other",
                    "notAlive": "Other",
                    "startdatetime": "832"
                },
                {
                    "trafficTarget": 922300,
                    "notAlive": "0",
                    "startdatetime": "726"
                }
            ]
        },
        {
            "startdatetime": "2020-06-26T13:50:00Z",
            "data": [
                {
                    "trafficTarget": 56273456,
                    "notAlive": "1",
                    "startdatetime": "447"
                },
                {
                    "trafficTarget": 54273611,
                    "notAlive": "1",
                    "startdatetime": "728"
                },
                {
                    "trafficTarget": "Other",
                    "notAlive": "Other",
                    "startdatetime": "629"
                },
                {
                    "trafficTarget": 922300,
                    "notAlive": "0",
                    "startdatetime": "804"
                }
            ]
        },
        {
            "startdatetime": "2020-06-26T13:55:00Z",
            "data": [
                {
                    "trafficTarget": 56273456,
                    "notAlive": "1",
                    "startdatetime": "219"
                },
                {
                    "trafficTarget": 54273611,
                    "notAlive": "1",
                    "startdatetime": "411"
                },
                {
                    "trafficTarget": "Other",
                    "notAlive": "Other",
                    "startdatetime": "736"
                },
                {
                    "trafficTarget": 922300,
                    "notAlive": "0",
                    "startdatetime": "481"
                }
            ]
        }
    ],
    "summaryStatistics": {}
}

Status 200 text/csv

Response Body:

#METADATA_START
name,load-balancing-dns-traffic-property-all-datacenters-liveness
version,3
source,load-balancing-dns-traffic-property-all-datacenters-liveness/versions/3
groupBy,startdatetime,trafficTarget
start,2020-06-26T13:40:00Z
end,2020-06-26T14:00:00Z
interval,`FIVE_MINUTES`
availableDataEnds,
suggestedRetryTime,
rowCount,4
objectType,fpdomain
objectIds,55232,23433,32433
#METADATA_END

#SUMMARYSTATISTICS_START

#SUMMARYSTATISTICS_END

#COLUMNS_START
startdatetime,trafficTarget,notAlive,startdatetime,trafficTarget
#COLUMNS_END

#DATA_START
2020-06-26T13:40:00Z,56273456,1,909
2020-06-26T13:40:00Z,54273611,1,127
2020-06-26T13:40:00Z,Other,Other,1058
2020-06-26T13:40:00Z,922300,0,743
2020-06-26T13:45:00Z,56273456,1,200
2020-06-26T13:45:00Z,54273611,1,479
2020-06-26T13:45:00Z,Other,Other,832
2020-06-26T13:45:00Z,922300,0,726
2020-06-26T13:50:00Z,56273456,1,447
2020-06-26T13:50:00Z,54273611,1,728
2020-06-26T13:50:00Z,Other,Other,629
2020-06-26T13:50:00Z,922300,0,804
2020-06-26T13:55:00Z,56273456,1,219
2020-06-26T13:55:00Z,54273611,1,411
2020-06-26T13:55:00Z,Other,Other,736
2020-06-26T13:55:00Z,922300,0,481
#DATA_END

Get report details

This sample Get a report type operation gets the same information you need to run the load-balancing-dns-traffic-property-all-datacenters-liveness report as provided in this reference documentation, but available dynamically to your API client application.

GET /reporting-api/v1/reports/load-balancing-dns-traffic-property-all-datacenters-liveness/versions/3

Status 200 application/json

Object type: ReportType

Download schema: data-row-schema.json

Response body:

{
    "name": "load-balancing-dns-traffic-property-all-datacenters-liveness",
    "description": "Liveness for a Property by all DataCenters.",
    "businessObjectName": "fpdomain",
    "version": 3,
    "status": "PUBLISHED",
    "deprecated": false,
    "timeBased": true,
    "outputType": "HIERARCHICAL",
    "available": true,
    "metrics": [
        {
            "name": "notAlive",
            "description": "Target Alive = 1 or Target Down = 0.",
            "label": "Status",
            "unit": "STRING",
            "summaryStatistic": false
        },
        {
            "name": "startdatetime",
            "description": "Epoch time in milliseconds.",
            "label": "startdatetime",
            "unit": "MILLISECOND",
            "summaryStatistic": false
        },
        {
            "name": "trafficTarget",
            "description": "The Traffic Target.",
            "label": "Traffic Target",
            "unit": "STRING",
            "summaryStatistic": false
        }
    ],
    "groupOutlyingValues": {
        "enabled": false
    },
    "groupBy": [
        "startdatetime",
        "trafficTarget"
    ],
    "intervals": [
        "HOUR",
        "DAY",
        "FIVE_MINUTES"
    ],
    "dataRetentionDays": 90,
    "links": [
        {
            "rel": "self",
            "href": "/reporting-reports-executor-api/v1/reports/load-balancing-dns-traffic-property-all-datacenters-liveness/versions/3"
        },
        {
            "rel": "versions",
            "href": "/reporting-reports-executor-api/v1/reports/load-balancing-dns-traffic-property-all-datacenters-liveness/versions"
        },
        {
            "rel": "all-reports",
            "href": "/reporting-reports-executor-api/v1/reports"
        },
        {
            "rel": "execute-report",
            "href": "/reporting-reports-executor-api/v1/reports/load-balancing-dns-traffic-property-all-datacenters-liveness/versions/3/report-data"
        }
    ]
}