Searching and getting results asynchronously with a REST API - BMC TrueSight IT Data Analytics 2.7
Parameter definitions
The following parameters can be used in the request body.
Note The parameter names are case sensitive. Supported with both POST and GET methods Required for the POST method Optional for the GET method, default is saved search name Search criteria by which you want to search. Can be one of the following: Supported with both POST and GET methods Required Value corresponding to the Can be one of the following: Note: Tabular commands are not supported in the query string or the saved search query. For more information about tabular commands, see Search commands. Supported with POST method only Optional, default is now-60min Date and time marking the starting point of the search. Can be one of the following: The following definitions apply while specifying time in the format, now<sign><value><unit>: Note: While running the POST request, the start time and end time parameters function in the following way: Supported with POST method only Optional, default is now Date and time marking the ending point of the search. Can be one of the following: The following definitions apply while specifying time in the format, now<sign><value><unit>: Note: While running the POST request, the start time and end time parameters function in the following way: Supported with POST method only Optional, default is 0 Index of the page from which records (or events) must be returned. Supported with POST method only Optional, default is 100 Maximum number of records (or events) to return in a page. Supported with both POST and GET methods Optional, default is Yes Total count of search results available for the search run. Can be one of the following: Supported with both POST and GET methods Optional, applicable only if the searchType is a saved search name. Source type of the saved search. Can be one of the following: Supported with both POST and GET methods Optional, applicable only if the searchType is a saved search name. Value corresponding to the Can be one of the following:Parameter name Description searchTypesearchValuesearchType specified.startTime
For example, now+60m or now-2.
Units can be specified in the following ways:s, sec, secs, secondsm, min, mins, minutesh, hr, hrs, hour, hoursd, day, daysendTime
For example, now+60m or now-2.
Units can be specified in the following ways:s, sec, secs, secondsm, min, mins, minutesh, hr, hrs, hour, hoursd, day, dayspageNumberpageSizeresultCountReqsourcesourceNamesource specified.