Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Announcement: Try the Ask AI chatbot for answers to your technical questions about Juniper products and solutions.

close
header-navigation
keyboard_arrow_up
close
keyboard_arrow_left
REST API Version 17.0 References
Table of Contents Expand all
list Table of Contents
file_download PDF
{ "lLangCode": "en", "lName": "English", "lCountryCode": "us", "transcode": "en_US" }
English
keyboard_arrow_right

POST /health/metrics/system_metrics_global_config

date_range 24-May-22

SUMMARY Updates the frequency and enabled value of all the qradar metrics identified by metric_id parameter.

Updates the frequency and enabled fields of all the system metrics.

Table 1: POST /health/metrics/system_metrics_global_config resource details:

POST /health/metrics/system_metrics_global_config resource details

MIME Type

application/json

Table 2: POST /health/metrics/system_metrics_global_config request parameter details:

POST /health/metrics/system_metrics_global_config request parameter details

Parameter Type Optionality Data Type MIME Type Description

fields

header

Optional

String

text/plain

Optional - Use this parameter to specify which fields you would like to get back in the response. Fields that are not named are excluded. Specify subfields in brackets and multiple fields in the same object are separated by commas.

Table 3: POST /health/metrics/system_metrics_global_config request body details:

POST /health/metrics/system_metrics_global_config request body details

Parameter Data Type MIME Type Description Sample

global_config

Object

application/json

GlobalMetricConfiguration DTO. This DTO has time_resolution and enabled fields in JSON format.

{ "enabled": true, "time_resolution": 42 }

Table 4: POST /health/metrics/system_metrics_global_config response codes:

POST /health/metrics/system_metrics_global_config response codes

HTTP Response Code Unique Code Description

200

Global system metric configuration resource defined by the GlobalMetricConfiguration DTO.

422

1010

The time_resolution value cannot be less than 5000.

422

1014

Time_resolution and enabled both cannot be empty.

500

1020

Internal Server Error.

Response Description

A GlobalMetricConfiguration DTO. A GlobalMetricConfiguration object contains the following fields:
  • global_config - The GlobalMetricConfiguration DTO provides the time_resolution and enabled fields in JSON format.

Response Sample

content_copy zoom_out_map
{
    "enabled": true,
    "time_resolution": 42
}
footer-navigation