Logs
Get Logs Histogram
Changed onGet histogram data for log counts bucketed by time.
Returns time-series data suitable for rendering a histogram chart.
post/logs/histogram
Request
- Base URLhttps://api.streamkap.com
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
timestamp_fromstring required
Start of time range (ISO 8601)
timestamp_tostring nullable
End of time range (ISO 8601)
bucket_countinteger
Number of buckets
log_levelstring nullable
Comma-separated log levels
query_stringstring nullable
Include only logs matching this text
exclude_stringstring nullable
Exclude logs matching this text
use_regexboolean
Treat query_string as an RE2 regular expression
exclude_regexboolean
Treat exclude_string as an RE2 regular expression
include_noiseboolean
Bypass the configured server-side noise filters
Request body
Response
Successful Response
Changes
- info
added the new optional
queryrequest parameterexclude_regex - info
added the new optional
queryrequest parameterexclude_string - info
added the new optional
queryrequest parameterinclude_noise - info
added the new optional
queryrequest parameterquery_string - info
added the new optional
queryrequest parameteruse_regex
- info