Experimental

Download 116
Last updated Oct 9, 2025

sonar-stream-rules

Enumerate stream rules in Logpresso Sonar.

sonar-stream-rules [keywords=KEYWORDS] [enabled=t|f]
keywords=KEYWORDS
Search term for filtering rule names
enabled=ENABLED
Filter by enabled status (t/f)

Output Fields

FieldTypeNameDescription
guidStringGUIDRule GUID
nameStringNameRule name
descriptionStringDescriptionRule description
priorityStringPriorityRule priority
enabledBoolEnabledWhether rule is enabled
msgStringMessageMessage template. Macro in the $field format available
schema_codeStringSchema codeLog schema code
schema_nameStringSchema nameLog schema name
source_typeStringSource typeRule source type (LOGGER or LOGGER_MODEL)
logger_model_guidsListLogger model GUIDsList of logger model identifiers
logger_guidsListLogger GUIDsList of logger identifiers
query_stringStringQuery stringComplete query string assembled from commands
commandsListCommandsList of stream rule commands
category_nameStringCategory nameStream rule category name
category_guidStringCategory GUIDStream rule category GUID
ticket_repo_guidStringTicket repository GUIDTicket repository GUID
suppress_keyStringSuppression keySuppress key field. Macro in the $field format available
event_suppress_intervalIntegerEvent suppression intervalSuppression period for duplicated event in seconds
ticket_suppress_intervalIntegerTicket suppression intervalSuppression period for duplicated ticket in seconds
keep_aliveBoolKeep alivetrue to keep the timer alive, false to reset it
ticket_assignee_namesListTicket assignee namesList of ticket assignee names
ticket_assignee_guidsListTicket assignee GUIDsList of ticket assignee GUIDs
alarm_group_guidStringAlarm group GUIDAlarm group GUID
alarm_group_nameStringAlarm group nameAlarm group name
address_group_guidStringAddress group GUIDAddress group GUID
address_fieldStringAddress fieldTarget fields to add to the address group
blacklist_expire_minuteIntegerBlacklist expirationBlacklist expiration time in minutes
field_orderListField orderEvidence file output order. Comma-separated list of field names.
employee_key_fieldStringEmployee key fieldEmployee number field. Typically using a normalized emp_key field.
auditor_guidStringAuditor GUIDAuditor GUID. If not specified, the department head is assigned as default
auditor_nameStringAuditor nameAuditor name. If not specified, the department head is assigned as default
audit_daysIntegerAudit retention daysAudit due date (days)
audit_category_nameStringAudit category nameAudit category name
audit_category_guidStringAudit category GUIDAudit category GUID
user_noteStringUser noteAudit request details
user_guidStringUser GUIDGUID of the user who creates the stream rule
user_nameStringUser nameName of the user who creates the stream rule
app_codeStringApp codeApp identifier
app_built_inBoolApp objectStream rule object included in app
createdDateCreatedCreation timestamp
updatedDateUpdatedLast modification timestamp