A Graze API GET request that returns details of all the custom merge groups in Moogsoft Enterprise.
Back to Graze API EndPoint Reference.
Endpoint getMergeGroups
takes the following argument:
Endpoint getMergeGroups
takes no other arguments because this endpoint returns details of all the custom merge group in Moogsoft Enterprise.
Endpoint getMergeGroups
returns the following response:
Successful requests return an array of JSON objects containing the following:
Name | Type | Description |
---|---|---|
| String | The merge group's name. |
| Array of Strings | List of clustering algorithm Moolets to include in the custom merge group. |
| Integer | Minimum number of alerts that must be present in a cluster before it can become a Situation. Must be greater than or equal to 1. Enter |
| Floating Point | Percentage of alerts two Situations must share before they are merged for this group. Enter a value between 0 and 1. Entering |
The following examples demonstrate typical use of endpoint getMergeGroups
:
Example cURL request to return all the custom merge groups in Moogsoft Enterprise:
curl -G -u graze:graze -k "https://example.com/graze/v1/getMergeGroups"
Example response returning details of all the custom merge groups in Moogsoft Enterprise:
[
{
"name":"Default Cookbook",
"moolets":
[
"Default Cookbook"
],
"alert_threshold":2,
"situation_similarity_limit":0.6
},
{
"name":"Merge Group 1",
"moolets":
[
"Recipe 1"
"Recipe 2"
],
"alert_threshold":null,
"situation_similarity_limit":0.5
},
{
"name":"Merge Group 2",
"moolets":
[
"Recipe 2"
"Time Based (Tempus)"
],
"alert_threshold":2,
"situation_similarity_limit":null
}
]