Manage Syslog Rules

User can update or delete a syslog rule

Update syslog rule

Path Parameters

  • tenantIdstringrequired

    Describes the clientId or mspId of tenant

  • uuidstringrequired

    Describes the rule uuid

Request Body

application/json

  • namestringrequired

    Syslog rule name

  • uuidstring

    Rule uuid.(Not required while creating a rule)

  • ruleActionstringrequired

    Include or exclude the expression rule while filtering syslog messages

  • patternstringrequired

    Filter pattern to filter syslog messages

  • metricNamestringrequired

    Custom metric name for the alert generated

  • alertSubstringrequired

    Alert Subject

  • alertDescstringrequired

    Alert Description

  • alertServeritystringrequired

    Alert Severity

    Enum:
    CriticalWarning
  • tagsstring

    Group Tag name of the rule

  • additionalPropertiesobject

    Additional details for alerts. Eg Resource Component.

Loading Examples...

Responses

  • namestring

  • uuidstring

Loading Examples...

Deletes the given rule.

Path Parameters

  • tenantIdstringrequired

    Describes the clientId or mspId of tenant

  • uuidstringrequired

    Describes the rule uuid

Responses

  • codestring

  • messagestring

Loading Examples...