Skip to main content

updateDefaultMergeGroup

A Graze API POST request that updates the default merge group in Moogsoft Onprem.

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 updateDefaultMergeGroup takes the following request arguments:

Name

Type

Required

Description

alert_threshold

Integer

No

Minimum number of alerts that must be present in a cluster before it can become a Situation in the merge group. Must be greater than or equal to 1. Default value is 1.

situation_similarity_limit

Floating Point

No

Percentage of alerts two Situations must share before they are merged. A value between 0 and 1. Default value is 0.7.

Response

Endpoint updateDefaultMergeGroup returns the following response:

Examples

The following examples demonstrate typical use of endpoint updateDefaultMergeGroup:

Request example

Example cURL request to set the default merge group's alert_threshold to 2:

curl -X POST 
-u graze:graze -
k -v "https://example.com/graze/v1/updateDefaultMergeGroup" 
-H "Content-Type: application/json; charset=UTF-8" 
-d '{
    "alert_threshold":2
    }'

Response example