plugin:statdisplay
Различия
Показаны различия между двумя версиями страницы.
| Предыдущая версия справа и слеваПредыдущая версия | |||
| plugin:statdisplay [2025/04/19 17:17] – [Дополнения и Файлы] VladPolskiy | plugin:statdisplay [Дата неизвестна] (текущий) – удалено - внешнее изменение (Дата неизвестна) 127.0.0.1 | ||
|---|---|---|---|
| Строка 1: | Строка 1: | ||
| - | ====== Statdisplay Plugin ====== | ||
| - | ---- plugin ---- | ||
| - | description: | ||
| - | author | ||
| - | email : gohr@cosmocode.de | ||
| - | type : syntax, CLI | ||
| - | lastupdate : 2022-12-12 | ||
| - | compatible : Greebo, Hogfather, Igor | ||
| - | depends | ||
| - | conflicts | ||
| - | similar | ||
| - | tags : statistics chart | ||
| - | downloadurl: | ||
| - | sourcerepo : https:// | ||
| - | bugtracker : https:// | ||
| - | donationurl: | ||
| - | ---- | ||
| - | |||
| - | [[https:// | ||
| - | |||
| - | Плагин statdisplay отображает различную статистику, | ||
| - | |||
| - | :!: Вся сгенерированная статистика использует только чистый PHP, а для рендеринга графиков необходимо расширение GD PHP . (Имейте в виду, что это конкретное расширение PHP может быть недоступно у вашего провайдера веб-хостинга.) | ||
| - | |||
| - | Примечание: | ||
| - | |||
| - | ===== Установка ===== | ||
| - | |||
| - | Search and install the plugin using the [[plugin: | ||
| - | |||
| - | ===== Log Analysis ===== | ||
| - | |||
| - | Once installed and configured through the Configuration Manager, it will automatically start to analyze the log file. To limit the time and memory consumption of the log analysis, this is done in chunks of a maximum number of lines per run. The log file analysis is triggered through DokuWiki' | ||
| - | |||
| - | Note: it is important to adjust the number of lines to analyze in the config through the lines parameter. If your wiki has many accesses, the default of 500 may be too low to effectively analyze your logs. | ||
| - | |||
| - | ==== Command Line Interface ==== | ||
| - | |||
| - | The command line interface allows you to quickly catch up with an existing log file. Run it like this in your DokuWiki directory: | ||
| - | |||
| - | $> ./ | ||
| - | |||
| - | Increasing the number of lines analysed at once can increase the effectiveness when running from command line. When the parameter is not given the one from the config is used. | ||
| - | |||
| - | You can also use the CLI to completely reindex your log file (this throws away all previously analyzed data). | ||
| - | |||
| - | $> ./ | ||
| - | |||
| - | |||
| - | ===== Limitations ===== | ||
| - | |||
| - | The plugin tries to limit it's memory usage as far as possible. The log file is only read line-by-line. However all aggregated data is held inside a single memory structure. If you have a lot of accesses, or are running the plugin over a very long period of time, you may need to increase the memory size limit in your php.ini file. | ||
| - | |||
| - | ==== Update frequency ==== | ||
| - | |||
| - | The chunksize that is read is determined by the number in the configuration. This also determinates that the plugin waits for about this number of accesses before another chunk is read. You may want to raise this number for wikis with many active users or lower it for wikis with few active users. | ||
| - | |||
| - | ===== Syntax ===== | ||
| - | |||
| - | To show the result of the log analysis one or more syntax commands need to be used on a wiki page. | ||
| - | |||
| - | The general syntax asks for a command optionally followed by a '' | ||
| - | |||
| - | If you want to see non-cached, most current data on the page, it is recommended to add a '' | ||
| - | |||
| - | ==== Analysis Progress ==== | ||
| - | |||
| - | Displays a simple progress bar to show how much of the log file was already analysed. | ||
| - | |||
| - | {{statdisplay> | ||
| - | |||
| - | ==== Access Summary ==== | ||
| - | |||
| - | Gives a summary table over all accesses that were ever logged: | ||
| - | |||
| - | {{statdisplay> | ||
| - | |||
| - | {{ : | ||
| - | |||
| - | Get the summary as a line graph: | ||
| - | |||
| - | {{statdisplay> | ||
| - | |||
| - | {{ : | ||
| - | |||
| - | Limit the graph to a time intervall: | ||
| - | |||
| - | {{statdisplay> | ||
| - | |||
| - | ==== Month Overview ==== | ||
| - | |||
| - | Give detailed summary table on the accesses during a month. | ||
| - | |||
| - | {{statdisplay> | ||
| - | |||
| - | Limit the table to a specific month: | ||
| - | |||
| - | {{statdisplay> | ||
| - | |||
| - | {{ : | ||
| - | |||
| - | ==== Daily Accesses ==== | ||
| - | |||
| - | Show the accesses of each day in the current month: | ||
| - | |||
| - | {{statdisplay> | ||
| - | |||
| - | {{ : | ||
| - | |||
| - | Show the daily accesses as graph: | ||
| - | |||
| - | {{statdisplay> | ||
| - | |||
| - | {{ : | ||
| - | |||
| - | ==== Hourly Accesses ==== | ||
| - | |||
| - | Show how accesses were spread over the different times of the day during the month: | ||
| - | |||
| - | {{statdisplay> | ||
| - | |||
| - | Graph of a particular month by hour: | ||
| - | |||
| - | {{statdisplay> | ||
| - | |||
| - | {{ : | ||
| - | |||
| - | ==== Top Referrers ==== | ||
| - | |||
| - | Show where people came from this month: | ||
| - | |||
| - | {{statdisplay> | ||
| - | |||
| - | ==== Top Entry-Pages ==== | ||
| - | |||
| - | Show on which pages users arrived first this month: | ||
| - | |||
| - | {{statdisplay> | ||
| - | |||
| - | ==== Top URLs ==== | ||
| - | |||
| - | Show the most popular pages in your site this month: | ||
| - | |||
| - | {{statdisplay> | ||
| - | |||
| - | ==== Top Browsers ==== | ||
| - | |||
| - | Show the most used browsers this month: | ||
| - | |||
| - | {{statdisplay> | ||
| - | |||
| - | |||
| - | ==== Traffic by User ==== | ||
| - | |||
| - | This is a bit more special. It lists the authenticated users that created the most traffic on your site during the last 7 days: | ||
| - | |||
| - | {{statdisplay> | ||
| - | |||
| - | To show the top 10 users as a graph use this. The workday average is shown as a red line. | ||
| - | |||
| - | {{statdisplay> | ||
| - | |||
| - | =====Дополнения и Файлы===== | ||
| - | * [[gitea> | ||
| - | * {{ : | ||
| - | * [[world> | ||
plugin/statdisplay.1745072270.txt.gz · Последнее изменение: — VladPolskiy
