tknospdr reported that posts in private topics aren’t appearing in the dashboard’s Posts Created report, despite recent activity. Moin identified the cause: the Private Topics plugin excludes such posts from public post counts, as the report only tracks public posts as defined in Discourse core. tknospdr expressed concern since their support forum — which must remain private — is the only category they need stats for. Moin suggested using Data Explorer with a custom query to retrieve the missing data, which tknospdr confirmed worked after tweaking. They also proposed building dedicated ticketing metrics (e.g., time to first response, time to resolution), noting Discourse’s growing use as a ticketing system. Moin pointed to existing reports and queries for time-to-response and solved-topic stats, though some may need updating. tobiaseigen moved the topic to #data-reporting and agreed private posts should appear in reports — ideally with filters to toggle public/private/both — praising Moin for diagnosing the plugin’s role.
I’m trying to figure out why some reports that should have data points on them are blank.
If you look at this screenshot, you can see that I just created a new topic and there is a post under it:
And if you look at the report for posts, it says there haven’t been any since Aug 14th, that’s not right. There have been plenty, including the one I just made 40 minutes ago to test with.
I can’t think of anything. I use some plugins, but I don’t think I’ve added any new ones since the date that the last new post showed up in that graph.
Yes, I use the private topics plugin. Would that stop the system from seeing posts? It still reports on new topics correctly:
Crap, that’s the antithesis of what I need.
The only category that my boss cares about statistics for is our support forum, and that needs to be private for ticket segregation.
That got me most of the way there, thanks.
I requested some additional parameters on that page to dial the query in more.
Seems like there’s enough people using Discourse as a ticketing system that it would be worthwhile to build a stats page to track things like time to first post after new topic created, and total elapsed time till topics are marked solved etc to better cover this use case.
I shifted this topic across to #data-reporting so it can be pursued further here.
I agree that private posts should show up in reports, somewhere! It would be neat if the Posts report could have filters to show public or private posts, or both.
Well spotted that this has to do with the private topics plugin, @moin!