capabilities.work

Replace a log sampling rule

One step with PostHog. We can help you get access.

Get something done

Replace a log sampling rule

Use PostHog: its PostHog Logs API lets you replace a log sampling rule in a single step (PUT /api/projects/{project_id}/logs/sampling_rules/{id}/). capabilities.work can help you get signed up and connected.

  • How do I fully overwrite a log sampling rule?
  • Can I change the priority of a log sampling rule?
Say it to your AI assistant
  • Replace log sampling rule {id} in project {project_id} with name {name} and config {config}.
  • Overwrite sampling rule {id} in project {project_id}.
For your developer

PUT /api/projects/{project_id}/logs/sampling_rules/{id}/ in PostHog Logs API. Full spec on APIs.io.