Experimental

Download 116
Last updated Oct 9, 2025

sonar-batch-rules

Enumerate batch rules in Logpresso Sonar.

sonar-batch-rules [keywords=KEYWORDS] [enabled=ENABLED]
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
scheduleStringScheduleExecution schedule in CRON format
durationIntegerDurationTime window for data analysis (in seconds)
datetruncIntegerDate truncationDate truncation unit (in seconds)
dataset_guidStringDataset GUIDDataset's unique identifier
dataset_nameStringDataset nameName of the dataset
queryStringQueryBatch query string
category_nameStringCategory nameName of the batch rule category
category_guidStringCategory GUIDUnique identifier for batch rule category
ticket_repo_guidStringTicket repository GUIDTicket repository's unique identifier
suppress_keyStringSuppression keySuppress key field with macro support
event_suppress_intervalIntegerEvent suppression intervalSuppression period for duplicate events (seconds)
ticket_suppress_intervalIntegerTicket suppression intervalSuppression period for duplicate tickets (seconds)
keep_aliveBoolKeep aliveWhether to maintain timer or reset it
ticket_assignee_namesListTicket assignee namesName of ticket assignee
ticket_assignee_guidsListTicket assignee GUIDsTicket assignee's unique identifier
alarm_group_guidStringAlarm group GUIDAlarm group's unique identifier
alarm_group_nameStringAlarm group nameName of alarm group
address_group_guidStringAddress group GUIDAddress group's unique identifier
address_fieldStringAddress fieldTarget field for address group
blacklist_expire_minuteIntegerBlacklist expirationBlacklist expiration time in minutes
field_orderListField orderEvidence file output order
employee_key_fieldStringEmployee key fieldEmployee number field
auditor_guidStringAuditor GUIDAuditor's unique identifier
auditor_nameStringAuditor nameName of the auditor
audit_daysIntegerAudit retention daysAudit due date (in days)
audit_category_nameStringAudit category nameName of audit category
audit_category_guidStringAudit category GUIDAudit category's unique identifier
user_noteStringUser noteAudit request details
user_guidStringUser GUIDUser who created batch rule's identifier
user_nameStringUser nameName of user who created batch rule
createdDateCreatedCreation timestamp
updatedDateUpdatedLast modification timestamp
app_codeStringApp codeApp identifier
app_built_inBoolApp objectBatch rule object included in app