question

amazdeh avatar image
amazdeh asked

how to grab an old log for archived games

We want to grab a log from 6th of june and the archived games tab is not helpful at all without any filtering or search capabilities , How can we grab the logs. This will be much more important when we go to production.

10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

·
brendan avatar image
brendan answered

The easiest way to find the archived game you need is through the players that were in it. Just select a player that you know was in the session and go to their "Players->Mutiplayer" sub-tab. Only the sessions that user was in will be in the list, allowing you to quickly find the one you need and get the log file.

2 comments
10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

amazdeh avatar image amazdeh commented ·

Is there any time limit to that because many of our users don't seem to have any games there.

This will be very unfortunate and would mean that we have to implement our own system for archiving logs. What should we do to be able to access our logs in a manageable way?

0 Likes 0 ·
brendan avatar image brendan amazdeh commented ·

Actually, if the player's multiplayer tab shows no games, that would mean the player wasn't correctly added to the session via RedeemMatchmakerTicket (or PlayerJoined, if you're using your own matchmaker). Otherwise, the sessions will always show up in that tab, even after the logs are no longer available. The log retention period isn't currently enforced, but we will be updating for that in the near future. The retention period on logs is the same as the PlayStream retention period for the title (which you can see in the Analytics->Event History tab).

If you would like to have all your logs in your own S3, what I would recommend is adding that to your server executable code. At the end of the session, before the executable exits, have it upload to your S3 bucket directly - that way, you would be able to decide locally how long you want to keep all the log files.

0 Likes 0 ·

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.