POST
/
{log_group_name}
curl --request POST \
  --url https://api.altostrat.io/{log_group_name} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "streams": [
    "<string>"
  ],
  "start": "2023-11-07T05:31:56Z",
  "end": "2023-11-07T05:31:56Z",
  "filter": "<string>",
  "limit": 500,
  "next_token": "<string>"
}'
{
  "data": [
    {
      "timestamp": "2023-11-07T05:31:56Z",
      "message": "<string>",
      "type": "<string>"
    }
  ],
  "next_token": "<string>"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

log_group_name
enum<string>
required

Log group name, allowed values: cve-scan-log, sites, AuditLog

Available options:
cve-scan-log,
sites,
AuditLog

Body

application/json

Filter parameters for log retrieval

The body is of type object.

Response

200
application/json

OK. Returns the filtered log events in ascending order by timestamp, plus a nextToken if more are available.

The response is of type object.