PostHog / posthog

🦔 PostHog provides open-source product analytics, session recording, feature flagging and A/B testing that you can self-host.
https://posthog.com
Other
21.54k stars 1.29k forks source link

Export all events/properties (metadata, not events) to .csv #17145

Open matejmeglic opened 1 year ago

matejmeglic commented 1 year ago

Is your feature request related to a problem?

Important: when I speak of an event, I speak of entity that exists in PostHog- not of an actual event that was triggered by our user and is now stored on PostHog.

I would love an option of exporting our 150+ events with their properties to .csv, so that we can prepare visualization charts and connect them to the flows that help us with product management work. It's really hard to forget all the possibilities, so we envisioned to create a board that would represent all our app screens (views) and append the events that can get triggered on said screen.

Describe the solution you'd like

In Data Management tab, export button that would export all events to .csv would be neat. Or something per request, this is probably a job that would happen 1-2 per year.

Describe alternatives you've considered

I do have some footnotes I extracted from our PRs, I could go one-by-one but that is super timeconsuming, I can use only the events without properties (but that somewhat limits me).

Thank you for your feature request – we love each and every one!

If you can help me with one-time DB export, I'd love it. :) Thanks so much, awesome app!!

ujjwalpandey922 commented 1 year ago

Hi Can I take this issue up ? I am new to open source can you guide me through the steps for solving the problem thanks

matejmeglic commented 1 year ago

Sure thing.

Couple of pointers:

My situation is that we have 100+ events set in posthog and clicking and exporting everyone would be timeconsuming so I was hoping there is an api call or script readily available for me to call and extract all the events, triggers and properties set in posthog

Good luck!

PS: if there is an api call I could use with a loop on my end to comb through all events, I am all up for it and we can just create a gist for that and run it offline.

lakshmiprabharamesh commented 8 months ago

Hi Team

Can I contribute in some way to this issue ? I am new to open source can you guide me through the steps for solving the problem.

Thank You

derek-li commented 3 months ago

@mariusandra Is this still something that the team is interested in implementing?

mariusandra commented 3 months ago

@mariusandra Is this still something that the team is interested in implementing?

Best to ask the team @PostHog/team-product-analytics (I'm in a different team now)

Twixes commented 3 months ago

Hey! This isn't on our roadmap currently so it's probably not the best task for contributing right now – we might have a bit of a hard time prioritizing it. (But if you're here because you need this feature, please let us know here and we can accelerate!)

dev-peakmind commented 2 months ago

@Twixes Hi this is something that we definitely want at peakmind.in