search
Creates, updates, deletes, gets or lists a search
resource.
Overview
Name | search |
Type | Resource |
Id | sumologic.slos.search |
Fields
The following fields are returned by SELECT
queries:
SELECT
not supported for this resource, use SHOW METHODS
to view available operations for the resource.
Methods
The following methods are available for this resource:
Name | Accessible by | Required Params | Optional Params | Description |
---|---|---|---|---|
slosSearch | exec | query , region | limit , offset | Search for a slo or folder in the slos library structure. |
Parameters
Parameters can be passed in the WHERE
clause of a query. Check the Methods section to see which parameters are required or optional for each operation.
Name | Datatype | Description |
---|---|---|
query | string | The search query to find slo or folder. Below is the list of different filters with examples: - createdBy : Filter by the user's identifier who created the content. Example: createdBy:000000000000968B . - createdBefore : Filter by the content objects created before the given timestamp(in milliseconds). Example: createdBefore:1457997222 . - createdAfter : Filter by the content objects created after the given timestamp(in milliseconds). Example: createdAfter:1457997111 . - modifiedBefore : Filter by the content objects modified before the given timestamp(in milliseconds). Example: modifiedBefore:1457997222 . - modifiedAfter : Filter by the content objects modified after the given timestamp(in milliseconds). Example: modifiedAfter:1457997111 . - type : Filter by the type of the content object. Example: type:folder . You can also use multiple filters in one query. For example to search for all content objects created by user with identifier 000000000000968B with creation timestamp after 1457997222 containing the text Test, the query would look like: createdBy:000000000000968B createdAfter:1457997222 Test (example: createdBy:000000000000968B Test) |
region | string | SumoLogic region (enum: [us2, au, ca, de, eu, fed, in, jp], default: us2) |
limit | integer (int32) | Maximum number of items you want in the response. (example: 10) |
offset | integer (int32) | The position or row from where to start the search operation. (example: 5) |
Lifecycle Methods
- slosSearch
Search for a slo or folder in the slos library structure.
EXEC sumologic.slos.search.slosSearch
@query='{{ query }}' --required,
@region='{{ region }}' --required,
@limit='{{ limit }}',
@offset='{{ offset }}'
;