Is there an event request/response log or archive somewhere?
J
Jeff Amiel
started a topic
almost 7 years ago
For events NOT executed through the TestHarness...is there any aggregation of all request/response data for a game? (sorta like PlayFab's PlayStream event archive)
thanks in advance!!
Best Answer
C
Customer Support
said
almost 7 years ago
Hi Jeff,
No, currently it's not possible to access this data outside of the manage screens, you could however set up a custom collection to store requests (and responses) of a player. Using Spark.getData() in the Cloud Code of a Request and Response will grab all of the data contained within each, you can then insert these into a collection (with the doc id set to the playerIdfor easy retrieval) or use the Spark Log to add an entry to script .log which you can review later.
Gamesparks utilizes Amazon ElasticSearch to monitor request/response logs. These logs only contain the previous 7 days worth of data, and are accessed through the use of dynamic forms.
More info on dynamic forms can be seen here: https://docs.gamesparks.net/tutorials/dynamic-forms-tutorial Does this answer your question?
Happy to assist further.
- Tony
J
Jeff Amiel
said
almost 7 years ago
Tony,
I must be missing something - that link led to generic form/gsml usage - no reference (that I could see) to accessing the aforementioned request/response logs. Are the logs stored in Mongo or some other accessible data-store?
thanks in advance!
B
Baris Tumerkan
said
almost 7 years ago
You can go to Manage / Admin Screens / Charts, and create a chart that makes use of the requests in various ways (you can also view a list of the requests as a data table).
I think the document in the link is meant to also show embedding these charts into your own Manage screens. But just playing with the charts through Manage / Admin Screens / Charts is probably more convenient. As far as I know, just viewing them in charts or data tables is the only way to use these request/response logs.
Manage/Player already has some charts / data tables that makes use of this to show data for a specific player.
J
Jeff Amiel
said
almost 7 years ago
Baris - thanks for that - I was indeed able to glean some data from the Charts area pretty quickly...
I wish I was able to access this data externally though...
J
Jeff Amiel
said
almost 7 years ago
So IS this data accessible through any of the external (server/nosql) apis?
thanks!
Customer Support
said
almost 7 years ago
Answer
Hi Jeff,
No, currently it's not possible to access this data outside of the manage screens, you could however set up a custom collection to store requests (and responses) of a player. Using Spark.getData() in the Cloud Code of a Request and Response will grab all of the data contained within each, you can then insert these into a collection (with the doc id set to the playerIdfor easy retrieval) or use the Spark Log to add an entry to script .log which you can review later.
Thanks,
Liam
J
Jeff Amiel
said
almost 7 years ago
Sure...but then I'd have to do that for every custom event AND every standard built-in response.
Jeff Amiel
For events NOT executed through the TestHarness...is there any aggregation of all request/response data for a game? (sorta like PlayFab's PlayStream event archive)
thanks in advance!!
Hi Jeff,
No, currently it's not possible to access this data outside of the manage screens, you could however set up a custom collection to store requests (and responses) of a player. Using Spark.getData() in the Cloud Code of a Request and Response will grab all of the data contained within each, you can then insert these into a collection (with the doc id set to the playerId for easy retrieval) or use the Spark Log to add an entry to script .log which you can review later.
Thanks,
Liam
- Oldest First
- Popular
- Newest First
Sorted by Oldest FirstCustomer Support
Hey Jeff,
Gamesparks utilizes Amazon ElasticSearch to monitor request/response logs. These logs only contain the previous 7 days worth of data, and are accessed through the use of dynamic forms.
More info on dynamic forms can be seen here: https://docs.gamesparks.net/tutorials/dynamic-forms-tutorial Does this answer your question?
Happy to assist further.
- Tony
Jeff Amiel
Tony,
I must be missing something - that link led to generic form/gsml usage - no reference (that I could see) to accessing the aforementioned request/response logs. Are the logs stored in Mongo or some other accessible data-store?
thanks in advance!
Baris Tumerkan
You can go to Manage / Admin Screens / Charts, and create a chart that makes use of the requests in various ways (you can also view a list of the requests as a data table).
I think the document in the link is meant to also show embedding these charts into your own Manage screens. But just playing with the charts through Manage / Admin Screens / Charts is probably more convenient. As far as I know, just viewing them in charts or data tables is the only way to use these request/response logs.
Manage/Player already has some charts / data tables that makes use of this to show data for a specific player.
Jeff Amiel
Baris - thanks for that - I was indeed able to glean some data from the Charts area pretty quickly...
I wish I was able to access this data externally though...
Jeff Amiel
So IS this data accessible through any of the external (server/nosql) apis?
thanks!
Customer Support
Hi Jeff,
No, currently it's not possible to access this data outside of the manage screens, you could however set up a custom collection to store requests (and responses) of a player. Using Spark.getData() in the Cloud Code of a Request and Response will grab all of the data contained within each, you can then insert these into a collection (with the doc id set to the playerId for easy retrieval) or use the Spark Log to add an entry to script .log which you can review later.
Thanks,
Liam
Jeff Amiel
Sure...but then I'd have to do that for every custom event AND every standard built-in response.
Hmm...ok thanks
-
Documentation Notes
-
Design issues with user events
-
Using NoSQL
-
Runtime Collections vs Metadata Collections
-
Anonymous authentication from browser app
-
Modules
-
Movement With Unity
-
Problem with url parameters for downloadables
-
Querying NoSql GameSparks database
-
Challenge accesType
See all 2487 topics