Log analyzers are useful to identify common issues on a Perforce server quickly.
For more background information, please see:
https://community.perforce.com/s/article/5470
https://community.perforce.com/s/article/2514
There are 4 main options as shown below.
This has replaced log2sql.py
more recent - it builds a compatible Sqlite database, is faster and more up-to-date.
The build databases are compatible with the Flask web application mentioned below. For more details, see:
Binary releases for Linux/Mac/Windows are available.
This replaced log_analyzer.php. Big advantage is that it has a fairly comprehensive test harness and processes all manner of recently observed log file scenarios.
Now replaced by log2sql as above!!!
In addition, there is an associated Python Flask-based web app which runs various pre-canned queries and charts. It is setup to run inside a Docker container for ease of isolation of environment.
This is a PHP script that turns a P4LOG
into a SQLite database
and generate canned reports from it.
Now replaced by log2sql as above!!!
For more information, please refer to the following KB article:
https://community.perforce.com/s/article/1266
A Python script that scans through a P4LOG
file quickly and
generate data suitable for generating graphs.
https://swarm.workshop.perforce.com/downloads/guest/perforce_software/log-analyzer/psla/p4clog.py
# Perforce Server Log Analyzers Log analyzers are useful to identify common issues on a Perforce server quickly. For more background information, please see: https://community.perforce.com/s/article/5470 https://community.perforce.com/s/article/2514 There are 4 main options as shown below. # log2sql - Go executable This has replaced `log2sql.py` more recent - it builds a compatible Sqlite database, is faster and more up-to-date. The build databases are compatible with the Flask web application mentioned below. **For more details, see:** * the [GitHub Project](https://github.com/rcowham/go-libp4dlog) repository on GitHub. * the [Latest Binary Releases](https://github.com/rcowham/go-libp4dlog/releases/latest) Binary releases for Linux/Mac/Windows are available. # log2sql.py - deprecated!! This replaced log_analyzer.php. Big advantage is that it has a fairly comprehensive test harness and processes all manner of recently observed log file scenarios. **Now replaced by log2sql as above!!!** In addition, there is an associated Python Flask-based web app which runs various pre-canned queries and charts. It is setup to run inside a Docker container for ease of isolation of environment. # log_analyzer.php - deprecated!! This is a PHP script that turns a `P4LOG` into a SQLite database and generate canned reports from it. **Now replaced by log2sql as above!!!** For more information, please refer to the following KB article: https://community.perforce.com/s/article/1266 # p4clog.py - deprecated!! A Python script that scans through a `P4LOG` file quickly and generate data suitable for generating graphs. https://swarm.workshop.perforce.com/downloads/guest/perforce_software/log-analyzer/psla/p4clog.py
# | Change | User | Description | Committed | |
---|---|---|---|---|---|
#10 | 30872 | Robert Cowham | Fix releases link | ||
#9 | 30871 | Robert Cowham | Mark files as deprecated. | ||
#8 | 29553 | Pascal Soccard | Removed KB broken link and add direct link to the p4clog.py script | ||
#7 | 26299 | Robert Cowham | Mention Go version of log2sql | ||
#6 | 25527 | Robert Cowham | Minor clarifications | ||
#5 | 25526 | Robert Cowham |
Add shell script to run easily. Enhance README |
||
#4 | 25221 | Robert Cowham | Fix links for new home in workshop | ||
#3 | 25217 | Robert Cowham | Add readme again | ||
#2 | 25215 | Robert Cowham | Remove psla branch | ||
#1 | 25213 | Robert Cowham | Populate -o //guest/perforce_software/utils/log_analyzer/README.md //guest/perforce_software/log-analyzer/psla/README.md. | ||
//guest/perforce_software/utils/log_analyzer/README.md | |||||
#7 | 24979 | Robert Cowham |
Tidy up charting to add db selection and titles. Clarify README |
||
#6 | 23835 | Robert Cowham | New queries from P4RA. | ||
#5 | 23833 | Robert Cowham | Document how to run with flask and make /logs configurable | ||
#4 | 23795 | Robert Cowham | More explanations | ||
#3 | 23794 | Robert Cowham | Add notes | ||
#2 | 23764 | Robert Cowham | Basic notes for log2sql.py in README | ||
#1 | 15082 | Lester Cheung | README for the log analyzers. |