A GET request that returns the percentage of noise reduction from events-to-alerts aggregation and deduplication in the specified time range.
Back to Stats API.
Endpoint getNewEventsPerAlertsStats
takes the following request arguments.
Endpoint getNewEventsPerAlertsStats
returns the following response:
Successful requests return a JSON object containing the following:
Name | Type | Description |
---|---|---|
| String | "New Events per Alerts" |
| Number Array | An array of data points. Each data point is an array in the format [data point, timestamp]:
|
The following examples demonstrate typical use of endpoint getNewEventsPerAlertsStats
:
A cURL request that retrieves that event to alert noise reduction in Moogsoft Enterprise from 7.07pm on Wednesday, 17th January until 7.07pm on Thursday, 18th January 2018:
curl -G -u graze:graze -k -v "https://localhost/graze/v1/getNewEventsPerAlertsStats" --data-urlencode 'from=1516216020' --data-urlencode 'to=1516302431'
A successful response indicating a 58% noise reduction:
[
{"datapoints":[
[58.0,1523438216685]
],
"target":"New Events per Alerts"}
]