Skip to content

Deleting spurious data #5046

Feb 5, 2025 · 1 comments · 1 reply
Discussion options

You must be logged in to vote

👋 @adamu

You might be able to connect to ClickHouse and delete these records there:

$ cd plausible-ce
$ docker compose exec plausible_events_db clickhouse client -d plausible_events_db
:) delete from events_v2 where timestamp between '2025-10-15' and '2025-10-16' and pathname = '/w/index.php';

:) delete from sessions_v2 where start between '2025-10-15' and '2025-10-16' and pathname = '/w/index.php';

Please double check these queries before executing. Maybe with a corresponding SELECT statement. Note that the dates here are GMT, and the date in URL is local for the site timezone.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@adamu
Comment options

Answer selected by adamu
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants