Logs

Get Logs Histogram

Changed on

Get histogram data for log counts bucketed by time.

Returns time-series data suitable for rendering a histogram chart.

post/logs/histogram

Request

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

source_idsstring[]
destination_idsstring[]
transform_idsstring[]

Response

Successful Response

total_logsinteger

Changes

    • info

      added the new optional query request parameter exclude_regex

    • info

      added the new optional query request parameter exclude_string

    • info

      added the new optional query request parameter include_noise

    • info

      added the new optional query request parameter query_string

    • info

      added the new optional query request parameter use_regex