PostHog · Schema
LogsAlertSimulateBucket
A/B TestingAnalyticsFeature FlagsOpen SourceProduct AnalyticsSession Recording
Properties
| Name | Type | Description |
|---|---|---|
| timestamp | string | Bucket start timestamp. |
| count | integer | Number of matching logs in this bucket. |
| threshold_breached | boolean | Whether the count crossed the threshold in this bucket. |
| state | string | Alert state after evaluating this bucket. |
| notification | string | Notification action: none, fire, or resolve. |
| reason | string | Human-readable explanation of the state transition. |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "#/components/schemas/LogsAlertSimulateBucket",
"title": "LogsAlertSimulateBucket",
"type": "object",
"properties": {
"timestamp": {
"type": "string",
"format": "date-time",
"description": "Bucket start timestamp."
},
"count": {
"type": "integer",
"description": "Number of matching logs in this bucket."
},
"threshold_breached": {
"type": "boolean",
"description": "Whether the count crossed the threshold in this bucket."
},
"state": {
"type": "string",
"description": "Alert state after evaluating this bucket."
},
"notification": {
"type": "string",
"description": "Notification action: none, fire, or resolve."
},
"reason": {
"type": "string",
"description": "Human-readable explanation of the state transition."
}
},
"required": [
"count",
"notification",
"reason",
"state",
"threshold_breached",
"timestamp"
]
}