Replace a log sampling rule
One step with PostHog. We can help you get access.
Get something done
Replace a log sampling rule
with PostHog · Observability Management
Use PostHog: its PostHog Logs API lets you replace a log sampling rule in a single step (PUT /api/environments/{environment_id}/logs/sampling_rules/{id}/). capabilities.work can help you get signed up and connected.
- How do I replace a log sampling rule's config and version?
- Can I change a sampling rule's priority and scope?
Say it to your AI assistant
- Replace log sampling rule {id} in environment {environment_id} with name {name}, type {rule_type}, config {config} and version {version}.
- Update sampling rule {id} in {environment_id} to priority {priority}.
For your developer
PUT /api/environments/{environment_id}/logs/sampling_rules/{id}/ in PostHog Logs API. Full spec on APIs.io.