Moogsoft Docs

updateMergeGroup

A Graze API POST request that updates a custom merge group in Moogsoft AIOps.

Back to Graze API EndPoint Reference.

Request arguments

Endpoint updateMergeGroup takes the following request arguments:

Name

Type

Required

Description

name

String

Yes, along with at least one other argument.

The custom merge group's name.

moolets

List

No

List of clustering algorithm Moolets to include in the custom merge group.

alert_threshold

Integer

No

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 null if you want the custom merge group to use the default merge group value. Default merge group value is 2.

situation_similarity_limit

Floating Point

No

Percentage of alerts that two Situations in this merge group must share before they are merged. A value between 0 and 1. Enter null if you want the merge group to use the default merge group value. Default merge group value is 0.7.

Response

Endpoint updateMergeGroup returns the following response:

Examples

The following examples demonstrate typical use of endpoint updateMergeGroup:

Request example

Example cURL request to update a custom merge group's situation_similarity_limit:

curl -X POST 
-u graze:graze -
k -v "https://example.com/graze/v1/updateMergeGroup" 
-H "Content-Type: application/json; charset=UTF-8" 
-d '{
    "name":"Merge Group 1",
    "situation_similarity_limit":0.6
    }'
Response example