Altitude Game: Forums  

Go Back   Altitude Game: Forums > Altitude Support > Dedicated Server
FAQ Community Calendar

Dedicated Server Discuss technical issues related to hosting your own servers.

Thread Tools Display Modes
Old 03-28-2017, 11:54 PM
biell biell is offline
Senior Member
Join Date: May 2015
Posts: 168
Default Altitude Log Analyzer

The Altitude log.txt file is an absolute pain to go through and see what is happening on the server to figure out why your code might not be working right. Since it is optimized for computers, and not people, I finally broke down and wrote a script to make the logs easy to use for troubleshooting. It is located with my alti+server code, but does not need any Alti+ stuff, it is 100% stand-alone. All you need is perl with the JSON::XS and HTTP::Date modules. It is called altalyzer, and it is here:

What this script does is to create a CSV file (a table, really) where every possible log entry is its own column, and everything is always displayed in the correct column. Now, data like "time" will always be lined up. I also augment rows by filling in nicknames and vaporIds when I can figure out the right value, so you don't have to.

It takes any number of log files on the command line (I suggest listing them in chronological order) and it will produce a CSV file to stdout (I recommend redirecting that output to a file). Once you have the CSV file, load it up in Google Sheets, LibreOffice, Excel, etc. I recommend freezing the first row and making the entire sheet a filter table. After that, you can filter only the rows you need based on the various colums.

Using your spreadsheet's built-in filtering will allow you to easilly narrow the data down to just the rows you need. You can also hide or delete the columns you don't need if that helps get all the data to fit on one screen.
Reply With Quote

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

All times are GMT. The time now is 05:59 AM.

Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2021, Jelsoft Enterprises Ltd.
2008 Nimbly Games LLC