PostHog · Schema

_LogsServicesBody

A/B TestingAnalyticsFeature FlagsOpen SourceProduct AnalyticsSession Recording

Properties

Name Type Description
dateRange object Date range for the services aggregation. Defaults to last hour.
severityLevels array Filter by log severity levels.
serviceNames array Restrict the aggregation to these service names.
searchTerm string Full-text search term to filter log bodies.
filterGroup array Property filters for the query.
View JSON Schema on GitHub

JSON Schema

posthog-logsservicesbody-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/_LogsServicesBody",
  "title": "_LogsServicesBody",
  "type": "object",
  "properties": {
    "dateRange": {
      "allOf": [
        {
          "$ref": "#/components/schemas/_DateRange"
        }
      ],
      "description": "Date range for the services aggregation. Defaults to last hour."
    },
    "severityLevels": {
      "type": "array",
      "items": {
        "$ref": "#/components/schemas/SeverityLevelsEnum"
      },
      "description": "Filter by log severity levels."
    },
    "serviceNames": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "Restrict the aggregation to these service names."
    },
    "searchTerm": {
      "type": "string",
      "description": "Full-text search term to filter log bodies."
    },
    "filterGroup": {
      "type": "array",
      "items": {
        "$ref": "#/components/schemas/_LogPropertyFilter"
      },
      "description": "Property filters for the query."
    }
  }
}