Change a log sampling rule
One step with PostHog. We can help you get access.
Get something done
Change a log sampling rule
with PostHog · Observability Management
Use PostHog: its PostHog Logs API lets you change a log sampling rule in a single step (PATCH /api/environments/{environment_id}/logs/sampling_rules/{id}/). capabilities.work can help you get signed up and connected.
- How do I disable a log sampling rule without deleting it?
- Can I change only the config of an existing log sampling rule?
Say it to your AI assistant
- Disable log sampling rule {id} in environment {environment_id}.
- Change the config of log sampling rule {id} in {environment_id} to {config}.
For your developer
PATCH /api/environments/{environment_id}/logs/sampling_rules/{id}/ in PostHog Logs API. Full spec on APIs.io.