Skip to content

observe_logs_facets

Count the environments, services and severities present in the logs of the current product over a window, so a filter can offer the values that actually exist.

Tool

observe_logs_facets

Count the environments, services and severities present in the logs of the current product over a window, so a filter can offer the values that actually exist.

Count the environments, services and severities present in the logs of the current product over a window, so a filter can offer the values that actually exist. Counts are cached for up to a minute.

Behavior

HTTP
GET /observe/logs/facets

Arguments

Name
Type
Required
Description
window
string
—
How far back to count, e.g. "1h", "24h", "7d". Up to 30d, default "24h"

Response

Field
Type
Always
Description
to
string
•
Newest timestamp counted, ISO 8601
from
string
•
Oldest timestamp counted, ISO 8601
window
string
•
The window that was counted, e.g. "24h"
services
array
•
Services, most frequent first
severities
array
•
Severities, most frequent first
environments
array
•
Environments, most frequent first

Try it

Count the environments, services and severities present in the logs of the current product over a window, so a filter can offer the values that actually exist.

When to use

Count the environments, services and severities present in the logs of the current product over a window, so a filter can offer the values that actually exist. Counts are cached for up to a minute.

Example

Ask your agent something like this:

Count the environments, services and severities present in the logs of the current product over a window, so a filter can offer the values that actually exist.

The agent will invoke observe_logs_facets with these arguments:

{}

Esc

Start typing to search the docs.

↑↓navigate↵select