sonar-create-event-ticket
Create a JSON ticket from an event in Logpresso Sonar.
sonar-create-event-ticket repo-guid=VALUE event-guid=VALUE [duration=VALUE] [from=VALUE] [to=VALUE] [title=VALUE] [priority=VALUE]
- repo-guid=VALUE
- Required. Ticket repository GUID
- event-guid=VALUE
- Required. Source event GUID
- duration=VALUE
- Optional. Time range from now to search the event (e.g. 7d). Specify duration or from.
- from=VALUE
- Optional. Search start time (yyyyMMddHHmmss)
- to=VALUE
- Optional. Search end time (yyyyMMddHHmmss, default: now)
- title=VALUE
- Optional. Ticket title (default: event message)
- priority=VALUE
- Optional. Priority: LOW, MEDIUM, or HIGH (default: LOW)
Output Fields
| Field | Type | Name | Description |
|---|---|---|---|
| ticket_guid | String | Ticket GUID | GUID of the created ticket |
| status | String | Status | Result status |