PostHog Logs Downloader
By matt · 6 months ago · 10+ installs
Download PostHog logs (all or selected) directly from the Logs API, independent of viewport or expansion state.
Key Highlights
- Exports PostHog logs as structured JSON
- Downloads all logs matching the current filters when nothing is selected
- Adds row checkboxes for selected-log exports
- Uses the logs data source rather than only visible or expanded rows
- Shows progress and completion status while preparing the download
Details
This tweek adds a download control to PostHog log pages, placed alongside the existing filter controls. When no rows are selected, it exports the logs that match the current page filters, including date range, search term, severity, service, ordering, and filter group settings.
For selective exports, the tweek adds checkboxes to visible log rows and changes the button to download only the selected logs. The downloaded JSON includes export metadata, the page URL, filters used, selected IDs when applicable, total logs exported, and the log objects returned by PostHog.
Runs on
1 site
Developer
Tweek Code
465 lines ·




