Tool:SAL
| Website | https://sal.toolforge.org/ |
| Description | Server admin logs |
| Keywords | SAL, php |
| Author(s) | BryanDavis |
| Maintainer(s) | BryanDavis, Yuvipanda (View all) |
| Source code | github |
| License | GNU General Public License 3.0 or later |
| Issues | github |
sal is a tool for searching Server Admin Log messages for a variety of projects. It provides both full text search and date based search capabilities that the normal wiki page based SAL system lacks.
SAL is written in PHP using the wikimedia/slimapp framework. It reads data from an Elasticsearch cluster hosted in Toolforge that is populated by Stashbot from IRC !log messages sent in various Libera.chat channels used by the Wikimedia projects.
Configuration
~/.lighttpd.conf
A .lighttpd.conf is used to configure lighttpd to route all URLs under https://sal.toolforge.org/ which are not for static asset files to a PHP dispatch script.
url.rewrite-if-not-file += ( "(.*)" => "/index.php/$0" )
~/SAL/.env
An .env file is used to provide Twelve-Factor App style configuration of the application.
ES_URL=http://elasticsearch.svc.tools.eqiad1.wikimedia.cloud/
Manually loading missed entries
TODO...
See also
This article is issued from Wikimedia. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.