Manage Syslog Rules
User can update or delete a syslog rule
Update syslog rule
Path Parameters
- tenantId
Describes the clientId or mspId of tenant
- uuid
Describes the rule uuid
Request Body
application/json
- name
Syslog rule name
- uuid
Rule uuid.(Not required while creating a rule)
- ruleAction
Include or exclude the expression rule while filtering syslog messages
- pattern
Filter pattern to filter syslog messages
- metricName
Custom metric name for the alert generated
- alertSub
Alert Subject
- alertDesc
Alert Description
- alertServerity
Alert Severity
- Enum:
- CriticalWarning
- tags
Group Tag name of the rule
- additionalProperties
Additional details for alerts. Eg Resource Component.
Loading Examples...
Responses
- name
- uuid
Loading Examples...
Deletes the given rule.
Path Parameters
- tenantId
Describes the clientId or mspId of tenant
- uuid
Describes the rule uuid
Responses
- code
- message
Loading Examples...