Skip to content

ozfortress/tf2-livelogs

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Livelogs

Livelogs is a log parsing system developed initially for Team Fortress 2, written in Python, PHP and JavaScript.

It receives log output via [SRCDS](https://developer.valvesoftware.com/wiki/ Source_Dedicated_Server) UDP logging, and parses the logs realtime. By using a queueing system and smart processing, hundreds of logs can be parsed simultaeneously.

Logs being parsed in realtime can be viewed via a webpage, which will also update data as it is parsed.

Website

The website is rather simple, and written in PHP/JavaScript. JavaScript is used for WebSockets and processing live updates.

Parser

The parser is written in Python, and employs a daemon which listens for log requests. If the client has a valid API key, a new listen object is created, which receives the log data and runs it through the parser. The parser uses regular expressions to match log output, and inserts the data into a PostreSQL database using a queue.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 65.6%
  • Python 12.4%
  • PHP 11.1%
  • SourcePawn 8.3%
  • CSS 0.9%
  • PLpgSQL 0.7%
  • Other 1.0%