Skip to main content

Submit Search

Create and submit a search.

Basic Parameters

ParameterDescription
Account IDThe user account ID.
Query TypeThe type of the query(SQL or JSON).
Search QueryQuery for the search in SQL or JSON format.

Advanced Parameters

ParameterDescription
Child AccountsOption to specify child accounts and run a search in cross-account mode. It can be either all or a comma-separated list of accounts. all option forces the Search to get all children of account_id by itself.
EndOption to specify end of search query time frame in unix time format. Must be used with start parameter together. Timeframe specified this way is ignored if search query has exact timeframe conditions.
Execution ModeFlag to force search in the specific execution mode. shared option forces the search engine to use both Lambda and ECS resources. ecs option forces the search engine to use only ECS resources. Note setting this option requires additional permissions. Default value is shared.
Search Timeframe TypeThe type of the search timeframe.
Search TypeFlag to force search of specific type, auto option (by default) allows search engine to start interactive search if query allows such, overwise it starts batch search. batch option forces search engine to run given search in batch mode explicitly. report option forces search engine to run search in background batch mode. Default value is auto.
StartOption to specify start of search query time frame in unix time format. Must be used with end parameter together. Timeframe specified this way is ignored if search query has exact timeframe conditions.
TimeframeOption to specify search time frame duration as past seconds. Timeframe specified this way is ignored if search query has exact timeframe conditions.

Example Output

{
"account_id": "10110100",
"search_status": "pending",
"status_details": "pending",
"external_details": "pending",
"search_uuid": "41A1DA2A-5118-4365-B361-E6BF3AD2673A",
}

Workflow Library Example

Submit Search with Alert Logic and Send Results Via Email

Workflow LibraryPreview this Workflow on desktop