`./scripts/generate-event <write_key> https:...
# support
a
./scripts/generate-event <write_key> https:localhost:8080/v1/batch
this is the script i am running
s
Hey There! πŸ‘‹ Your message has been received by the RudderStack team. Our standard customer support hours are 9-6 PM EST, but we will forward this request to your Technical Account Manager, and they will get back to you shortly. Please use the thread for any additional comments.
h
a
my bad. I'm trying http, not https. and i'm getting the above error
any update?
h
Can you paste the exact command you are using?
a
./scripts/generate-event 2Jr8GM6NbYkGSOiv8tLoiM9F611 httpslocalhost8080/v1/batch
h
The url is wrong … use http and also add // between : and localhost
a
πŸ˜…, thanks. (base) abhiramvadlapatla@Abhirams-MacBook-Pro rudder-server % ./scripts/generate-event 2Jr8GM6NbYkGSOiv8tLoiM9F611 http://localhost:8080/v1/batch OK% Here is the output I get. I am really new to CDP, can you please tell me how to check the test events?,
h
So the source(associated with the write key you have used) must have been connected to some destinations right? You can check the events in those destinations
a
got it. I was checking out the destinations, I do not have any hosted destination like postgres db available. Can I connect to the control plane lite(running in my local), create a sample js source and a local postgres db destination? Would the write key from that source work?
h
yes it should work or you can use the rudder hosted control plane and look at the live events tab https://www.rudderstack.com/docs/dashboard-guides/live-events/#:~:text=Live%20Events%20is%20a%20debugger,available%20only%20in%20RudderStack%20Cloud.
control plane lite is no longer maintained
a
Live Events are working. Thanks πŸ™‚ . I understand control plane is no longer maintained, but can't we still use it to debug sources and destinations locally.
h
You can directly check the postgres database container/pod associated with rudder-server. Functionality to debug via control plane lite isn’t available
a
Got it. i am not running via docker, i have setup code on my local machine. Where can I find the events that I triggered from the rudder server?
h
you can check to postgres db which you would have provided via env to rudder-server
https://www.rudderstack.com/docs/resources/rudderstack-architecture/ You can go through this to understand what each component means
a
sure. Thank you πŸ™‚