Parameter | Description |
---|---|
Limit | Limit the number of log searches returned in the response. Note: Valid range for the Limit parameter is 1-100 . |
Return All Pages | Automatically fetch all resources, page by page. |
Token | Continuation token to get the next page of results. |
{
"logSearches": [
{
"queryString": "error {{sourceCategory}}| count by _sourceCategory",
"timeRange": {
"type": "BeginBoundedTimeRange",
"from": {
"type": "RelativeTimeRangeBoundary",
"relativeTime": "-15m"
},
"to": null
},
"runByReceiptTime": false,
"queryParameters": [
{
"name": "sourceCategory",
"description": "source category for the string",
"dataType": "STRING",
"value": "apache"
}
],
"parsingMode": "AutoParse",
"name": "Short title",
"description": "Long and detailed description",
"schedule": {
"cronExpression": "0 0/15 * * * ? *",
"displayableTimeRange": "-2h",
"parseableTimeRange": {
"type": "BeginBoundedTimeRange",
"from": {
"type": "RelativeTimeRangeBoundary",
"relativeTime": "-15m"
},
"to": null
},
"timeZone": "string",
"threshold": {
"thresholdType": "string",
"operator": "string",
"count": 0
},
"notification": {
"taskType": "string",
"webhookId": "<string>",
"payload": "<string>",
"itemizeAlerts": false,
"maxItemizedAlerts": 377
},
"scheduleType": "string",
"muteErrorEmails": true,
"parameters": []
},
"properties": "{ \"key\": \"value\" }",
"createdAt": "2018-10-16T09:10:00.000Z",
"createdBy": "0000000006743FDD",
"modifiedAt": "2018-10-16T09:10:00.000Z",
"modifiedBy": "0000000006743FE8",
"id": "000000000000001A",
"parentId": "0000000000007D2B"
}
],
"warnings": [
"Invalid saved search: <saved_search_name>. Please validate your saved search."
],
"token": "GDCiRv4vebF3UWFJQ1kySXBOR3Bzh69GR0RyWm9vCtc"
}
Was this page helpful?