-
Notifications
You must be signed in to change notification settings - Fork 62
Create a script to take get posthog info #985
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
@kevkevinpal Please assign me |
this is the code that was written by @aliraza556 that solves this issue @tomsmith8 whenever you have the chance to run this please do, we can modify it to make it easier for you to work with
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Description
We want a python script which calls posthog's endpoint which gets all activity entries by $session_id
Acceptance criteria
If the Event Type is
backend_api_call
thenwe want to decode the
elements_chain
using a command similar to thisxxd -r -p test.txt | gunzip -c > testuncompressed.txt
then we want to save the output to a file
you can see how we compress and encode
elements_chain
hereIf you need the api key please message me directly on sphinx
03a2bbbed97ca00f80445872fb65ad6711f7c4de1b41c7097143e3aafa28a644c2_034bcc332390470cc4f9ef7491af1da2ffceefccd39ceb6acd87c83920543013d7_529771090576408576
ideally the script would work like such
./posthog_script.py <session_id> <file_path>
Below is a screenshot of the info we want to get
The text was updated successfully, but these errors were encountered: