API Reference
Query logs
Retrieve logs based on the specified filters.
POST
/
query
/
logs
Authorizations
Authorization
string
headerrequiredBearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Body
application/json
start_time
string
Start time for the query.
end_time
string
End time for the query.
service_name
string
Filter logs by service name.
severity_text
string
Filter logs by severity text.
limit
integer
default: 100Limit the number of results.
Response
200 - application/json
timestamp
string
trace_id
string
span_id
string
trace_flags
integer
severity_text
string
severity_number
integer
service_name
string
body
string
resource_schema_url
string
resource_attributes
object
scope_schema_url
string
scope_name
string
scope_version
string
scope_attributes
object
log_attributes
object