Sign In Register

How can we help you today?

Start a new topic
Answered

Is there an event request/response log or archive somewhere?

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

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


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 playerId for easy retrieval) or use the Spark Log to add an entry to script .log which you can review later.


Thanks,

Liam

So IS this data accessible through any of the external (server/nosql) apis?


thanks!

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

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!

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. 


Sure...but then I'd have to do that for every custom event AND every standard built-in response.

Hmm...ok thanks 

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...

Login to post a comment