getDefaultMergeGroup
A Graze API GET request that returns details of the default merge group in Moogsoft Enterprise.
Clustering algorithms, such as Cookbook and Tempus, use the default values in the default merge group unless you have set up custom merge groups with different values to merge Situations from these clustering algorithms. You can set up merge groups using the UI (see Merge Groups for details) or using the Graze API endpoint addMergeGroup.
Back to Graze API EndPoint Reference.
Request arguments
Endpoint getDefaultMergeGroup
takes the following request argument:
Endpoint getDefaultMergeGroup
takes no other arguments because this endpoint returns details of the default merge group in Moogsoft Enterprise.
Response
Endpoint getDefaultMergeGroup
returns the following response:
Successful requests return a JSON object containing the following:
Name | Type | Description |
---|---|---|
| Integer | Minimum number of alerts that must be present in a cluster before it can become a Situation in the merge group. Default value is 1. |
| Floating Point | Percentage of alerts two Situations must share before they are merged for this group. A value between 0 and 1. Default value is 0.7. |
Examples
The following examples demonstrate typical use of endpoint getDefaultMergeGroup
:
Request example
Example cURL request to return the default merge group in Moogsoft Enterprise:
curl -G -u graze:graze -k "https://example.com/graze/v1/getDefaultMergeGroup"
Response example
Example response returning details of the default merge group in Moogsoft Enterprise:
{ "alert_threshold": 1, "situation_similarity_limit": 0.7 }