Skip to content

:hedgehog: PostHog is the leading platform for building self-driving products. Our developer tools – AI observability, analytics, session replay, flags, experiments, error tracking, logs, and more – capture all the context agents need to diagnose problems, uncover opportunities, and ship fixes. Steer it all from Slack, web, desktop, or the MCP.

659 B
Raw Blame
import { combineUrl } from 'kea-router'

import { urls } from 'scenes/urls'

/** Sidebar + deep-link id for the Logs → Configuration → Drop rules setting. */
export const LOGS_DROP_RULES_SETTING_ID = 'logs-drop-rules' as const

/** Logs scene, Configuration tab, environment logs section, Drop rules item (query + hash for deep links). */
export function logsDropRulesSettingsUrl(): string {
    return combineUrl(
        urls.logs(),
        {
            activeTab: 'configuration',
            section: 'environment-logs',
            setting: LOGS_DROP_RULES_SETTING_ID,
        },
        { selectedSetting: LOGS_DROP_RULES_SETTING_ID }
    ).url
}