{% extends "base.html" %}
{% block content %}
<div id=psla class=prompt>
<h1>Perforce Server Log Analyzer</h1>
<h2>Online Diagnosis of Server Performance Issues</h2>
<p>
Upload a log file to the Perforce Server Log Analyzer (PSLA), and it
will describe in detail those commands that may have affected your server
performance. The PSLA tells you the exact commands sent to the server, by
whom and at what times the commands were issued, and a host of other
relevant information. Your log data is stored in an SQL database hosted by
Perforce, and you can access your data and analysis for up to
{$PslaController->getDaysToKeepLogs()} days with a secure key.
After {$PslaController->getDaysToKeepLogs()} days, your log data
will be automatically purged from our system.
</p>
<div class="hr-dotted"></div>
<p>
The PSLA is a Web interface that wraps around our popular
<a href="/?article=650">log2sql.py</a> tool. log2sql.py permits
custom reports, but it requires local Python and package installations,
or a docker installation and can require knowledge
of SQL. The PSLA is easier to use: just upload your log file and start
analyzing the results.
</p>
<div class="hr-dotted"></div>
<div class=buttons>
<a class=bigButton href='{{ url_for("accessLog") }}'>
<span>Access an Existing Log</span></a>
<a class='bigButton defaultButton' href='{{ url_for("uploadLog") }}'>
<span>Upload a New Log</span></a>
</div>
<div style="clear: both;"></div>
</div>
{% endblock %}