Skip to main content

search

Creates, updates, deletes, gets or lists a search resource.

Overview

Namesearch
TypeResource
Idsumologic.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:

NameAccessible byRequired ParamsOptional ParamsDescription
slosSearchexecquery, regionlimit, offsetSearch 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.

NameDatatypeDescription
querystringThe 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)
regionstringSumoLogic region (enum: [us2, au, ca, de, eu, fed, in, jp], default: us2)
limitinteger (int32)Maximum number of items you want in the response. (example: 10)
offsetinteger (int32)The position or row from where to start the search operation. (example: 5)

Lifecycle Methods

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 }}'
;