POST /health/metrics/qradar_metrics_global_config
Updates the frequency and enabled fields of all the qradar metrics.
Updates the frequency and enabled fields of all the qradar metrics.
MIME Type |
---|
application/json |
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. |
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 } |
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
- global_config - The GlobalMetricConfiguration DTO provides the time_resolution and enabled fields in JSON format.
Response Sample
{
"enabled": true,
"time_resolution": 42
}