Logs

Get count of new logs since a specific timestamp.

Lightweight endpoint for real-time polling. Recommended polling interval: 5 seconds. Use this to show a "N new logs" badge in the UI.

post/logs/count

Request

Query parameters

sincestring required

Count logs after this timestamp (ISO 8601)

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

countinteger required
sincestring required

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