- HTTP request
- Path parameters
- Query parameters
- Request body
- Response body
- Authorization scopes
- IAM Permissions
- Try it!
Full name: projects.locations.instances.legacy.legacySearchRawLogsV2
Searches for raw logs within a specified Google SecOps instance.
HTTP request
GET https://chronicle.africa-south1.rep.googleapis.com/v1alpha/{name}/legacy:legacySearchRawLogsV2 Path parameters
| Parameters | |
|---|---|
name |
Required. The Google SecOps instance to send the request to. |
Query parameters
| Parameters | |
|---|---|
query |
Required. The raw log query to search for. |
timeRange |
Required. The time range to search within. This includes the start time and excludes the end time. |
limit |
Optional. The maximum number of results to return for the query. Any value over 10,000 is coerced to 10,000. |
Request body
The request body must be empty.
Response body
Response of raw log search.
If successful, the response body contains data with the following structure:
| JSON representation |
|---|
{
"matches": [
{
object ( |
| Fields | |
|---|---|
matches[] |
A list of the raw log results that match the query. |
Authorization scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/cloud-platform
For more information, see the Authentication Overview.
IAM Permissions
Requires the following IAM permission on the name resource:
chronicle.events.searchRawLogs
For more information, see the IAM documentation.