You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
yacy_search_server/htroot/AccessTracker_p.html

243 lines
7.4 KiB

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" >
<head>
<title>YaCy '#[clientname]#': Access Tracker</title>
#%env/templates/metas.template%#
</head>
<body id="AccessTracker">
#%env/templates/header.template%#
#%env/templates/submenuAccessTracker.template%#
<script type="text/javascript" src="/js/sorttable.js"></script>
#(page)#
<h2>Server Access Overview</h2>
<p>This is a list of #[num]# requests to the local http server within the last hour.</p>
<table border="0" cellpadding="2" cellspacing="1">
<tr class="TableHeader">
<td rowspan="2">Host</td>
<td colspan="4">Access Count During</td>
</tr>
<tr class="TableHeader">
<td>last Second</td>
<td>last Minute</td>
<td>last 10 Minutes</td>
<td>last Hour</td>
</tr>
#{list}#
<tr class="TableCell#(dark)#Light::Dark#(/dark)#">
<td><a href="AccessTracker_p.html?page=1&amp;host=#[host]#">#[host]#</a></td>
<td>#[countSecond]#</td>
<td>#[countMinute]#</td>
<td>#[count10Minutes]#</td>
<td>#[countHour]#</td>
</tr>
#{/list}#
</table>
<p>The following hosts are registered as source for brute-force requests to protected pages</p>
<table class="sortable" border="0" cellpadding="2" cellspacing="1">
<tr class="TableHeader">
<td>Host</td>
<td>Access Times</td>
</tr>
#{bflist}#
<tr class="TableCell#(dark)#Light::Dark#(/dark)#">
<td>#[host]#</td>
<td>#[countSecond]#</td>
</tr>
#{/bflist}#
</table>
::
<h2>Server Access Details</h2>
<p>This is a list of requests to the local http server within the last hour.</p>
<p>Showing #[num]# requests.</p>
<table class="sortable" border="0" cellpadding="2" cellspacing="1">
<tr class="TableHeader">
<td>Host</td>
<td>Date</td>
<td>Path</td>
</tr>
#{list}#
<tr class="TableCell#(dark)#Light::Dark#(/dark)#">
<td><a href="AccessTracker_p.html?page=1&amp;host=#[host]#">#[host]#</a></td>
<td>#[date]#</td>
<td><a href="#[path]#">#[path]#</a></td>
</tr>
#{/list}#
</table>
::
<h2>Local Search Log</h2>
<p>This is a list of searches that had been requested from this' peer search interface</p>
<p>Showing #[num]# entries from a total of #[total]# requests.</p>
<table class="sortable" border="0" cellpadding="2" cellspacing="1">
<thead>
<tr class="TableHeader">
<td>Requesting Host</td>
<td>Date</td>
<td>Offset</td>
<td>Expected Results</td>
<td>Returned Results</td>
<td>Known Results</td>
<td>Used Time (ms)</td>
<td>URL fetch (ms)</td>
<td>Snippet comp (ms)</td>
<td>Query</td>
<td>User Agent</td>
</tr>
</thead>
<tfoot>
<tr class="TableHeader">
<td></td>
<td></td>
<td></td>
<td>&#216; #[querycount_avg]#</td>
<td>&#216; #[transmitcount_avg]#</td>
<td>&#216; #[resultcount_avg]#</td>
<td>&#216; #[resulttime_avg]#</td>
<td>&#216; #[urltime_avg]#</td>
<td>&#216; #[snippettime_avg]#</td>
<td></td>
<td></td>
</tr>
</tfoot>
<tbody>
#{list}#
<tr class="TableCell#(dark)#Light::Dark#(/dark)#">
<td>#[host]#</td>
<td>#[date]#</td>
<td>#[offset]#</td>
<td>#[querycount]#</td>
<td>#[transmitcount]#</td>
<td>#[resultcount]#</td>
<td>#[resulttime]#</td>
<td>#[urltime]#</td>
<td>#[snippettime]#</td>
<td><a href="/yacysearch.html?query=#[querystring]#&amp;resource=local">#[querystring]#</a></td>
<td>#[userAgent]#</td>
</tr>
#{/list}#
</tbody>
</table>
::
<h2>Local Search Host Tracker</h2>
<p>This is a list of searches that had been requested from this' peer search interface</p>
<p>Showing #[num]# entries from a total of #[total]# requests.</p>
<table class="sortable" border="0" cellpadding="2" cellspacing="1">
<thead>
<tr class="TableHeader">
<td>Requesting Host</td>
<td>Count</td>
<td>Queries Per Last Hour</td>
<td>Access Dates</td>
</tr>
</thead>
<tfoot>
<tr class="TableHeader">
<td></td>
<td>&#931; #[total]#</td>
<td>&#931; #[qph_sum]#</td>
<td></td>
</tr>
</tfoot>
<tbody>
#{list}#
<tr class="TableCell#(dark)#Light::Dark#(/dark)#">
<td>#[host]#</td>
<td>#[count]#</td>
<td>#[qph]#</td>
<td>#{dates}##[date]# #{/dates}#</td>
</tr>
#{/list}#
</tbody>
</table>
::
<h2>Remote Search Log</h2>
<p>This is a list of searches that had been requested from remote peer search interface</p>
<p>Showing #[num]# entries from a total of #[total]# requests.</p>
<table class="sortable" border="0" cellpadding="2" cellspacing="1">
<thead>
<tr class="TableHeader">
<td>Requesting Host</td>
<td>Peer Name</td>
<td>Date</td>
<td>Expected Results</td>
<td>Returned Results</td>
<td>Used Time (ms)</td>
<td>URL fetch (ms)</td>
<td>Snippet comp (ms)</td>
<td>Search Word Hashes</td>
</tr>
</thead>
<tfoot>
* Complete number localization and provide a more reasonable interface to serverObjects: - put(key, value) methods are now used if a value added to the map should be kept as it is. Numbers are transformed (but not formatted) to an equivalent String representation. - putASIS(...) have been removed, now done with simple put(...) (see above). - puNum(...) can be used for number values which should be stored in a formatted way, either depending on the current locale setting for yacy (default) or in a "none" locale (see javadocs and setLocalize()). - putHTML(...) escapes special characters into corresponding HTML enities ('<' => '&lt;') which was done with put(...) before and so was called too often, becauses it is necessary only for very few cases. Additionally there is a "forXML" mode which only replaces < > & ". In short: Use put(...) for almost everything, use putXY(...) if you need some special transformation of the value. A few bugs have been fixed as well, and there should be a small performance improvement for complex pages with a lot of values. * added additional Sum/Avg rows to access tracker pages, see http://forum.yacy-websuche.de/viewtopic.php?f=5&t=456 * removed duplicate code (mostly related to the big changes above). TODO: - make sure, number formats work as expected _everywhere_, report overseen stuff http://forum.yacy-websuche.de/viewtopic.php?f=5&t=437 - probably a good idea to add special putDate() methods as they are used in many pages and create duplicated formatting code + maybe some centralized handling for memory value formatting. - further improve the speed of page creation for the WatchCrawler. git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@4178 6c8d7289-2bf4-0310-a012-ef5d649a1542
17 years ago
<tr class="TableHeader">
<td>Total: #[num]#
<br/>Success: #[resultcount]#</td>
* Complete number localization and provide a more reasonable interface to serverObjects: - put(key, value) methods are now used if a value added to the map should be kept as it is. Numbers are transformed (but not formatted) to an equivalent String representation. - putASIS(...) have been removed, now done with simple put(...) (see above). - puNum(...) can be used for number values which should be stored in a formatted way, either depending on the current locale setting for yacy (default) or in a "none" locale (see javadocs and setLocalize()). - putHTML(...) escapes special characters into corresponding HTML enities ('<' => '&lt;') which was done with put(...) before and so was called too often, becauses it is necessary only for very few cases. Additionally there is a "forXML" mode which only replaces < > & ". In short: Use put(...) for almost everything, use putXY(...) if you need some special transformation of the value. A few bugs have been fixed as well, and there should be a small performance improvement for complex pages with a lot of values. * added additional Sum/Avg rows to access tracker pages, see http://forum.yacy-websuche.de/viewtopic.php?f=5&t=456 * removed duplicate code (mostly related to the big changes above). TODO: - make sure, number formats work as expected _everywhere_, report overseen stuff http://forum.yacy-websuche.de/viewtopic.php?f=5&t=437 - probably a good idea to add special putDate() methods as they are used in many pages and create duplicated formatting code + maybe some centralized handling for memory value formatting. - further improve the speed of page creation for the WatchCrawler. git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@4178 6c8d7289-2bf4-0310-a012-ef5d649a1542
17 years ago
<td></td>
<td></td>
<td>&#216; #[querycount_avg]#
<br/></td>
<td><!--&#216; #[resultcount_avg]#-->
<br/>&#216; #[transmitcount_avg]#</td>
<td>&#216; #[resulttime_avg]#
<br/>&#216; #[resulttime_avg1]#</td>
<td>&#216; #[urltime_avg]#
<br/>&#216; #[urltime_avg1]#</td>
<td>&#216; #[snippettime_avg]#
<br/>&#216; #[snippettime_avg1]#</td>
* Complete number localization and provide a more reasonable interface to serverObjects: - put(key, value) methods are now used if a value added to the map should be kept as it is. Numbers are transformed (but not formatted) to an equivalent String representation. - putASIS(...) have been removed, now done with simple put(...) (see above). - puNum(...) can be used for number values which should be stored in a formatted way, either depending on the current locale setting for yacy (default) or in a "none" locale (see javadocs and setLocalize()). - putHTML(...) escapes special characters into corresponding HTML enities ('<' => '&lt;') which was done with put(...) before and so was called too often, becauses it is necessary only for very few cases. Additionally there is a "forXML" mode which only replaces < > & ". In short: Use put(...) for almost everything, use putXY(...) if you need some special transformation of the value. A few bugs have been fixed as well, and there should be a small performance improvement for complex pages with a lot of values. * added additional Sum/Avg rows to access tracker pages, see http://forum.yacy-websuche.de/viewtopic.php?f=5&t=456 * removed duplicate code (mostly related to the big changes above). TODO: - make sure, number formats work as expected _everywhere_, report overseen stuff http://forum.yacy-websuche.de/viewtopic.php?f=5&t=437 - probably a good idea to add special putDate() methods as they are used in many pages and create duplicated formatting code + maybe some centralized handling for memory value formatting. - further improve the speed of page creation for the WatchCrawler. git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@4178 6c8d7289-2bf4-0310-a012-ef5d649a1542
17 years ago
<td></td>
</tr>
</tfoot>
<tbody>
#{list}#
<tr class="TableCell#(dark)#Light::Dark#(/dark)#">
<td>#[host]#</td>
<td>#[peername]#</td>
<td>#[date]#</td>
<td>#[querycount]#</td>
<td>#[transmitcount]#</td>
<td>#[resulttime]#</td>
<td>#[urltime]#</td>
<td>#[snippettime]#</td>
<td>#[queryhashes]#</td>
</tr>
#{/list}#
</tbody>
</table>
::
<h2>Remote Search Host Tracker</h2>
<p>This is a list of searches that had been requested from remote peer search interface</p>
<p>Showing #[num]# entries from a total of #[total]# requests.</p>
<table class="sortable" border="0" cellpadding="2" cellspacing="1">
<thead>
<tr class="TableHeader">
<td>Requesting Host</td>
<td>Peer Name</td>
<td>Count</td>
<td>Queries Per Last Hour</td>
<td>Access Dates</td>
</tr>
</thead>
<tfoot>
<tr class="TableHeader">
<td></td>
<td></td>
<td>&#931; #[total]#</td>
<td>&#931; #[qph_sum]#</td>
<td></td>
</tr>
</tfoot>
<tbody>
#{list}#
<tr class="TableCell#(dark)#Light::Dark#(/dark)#">
<td>#[host]#</td>
<td>#[peername]#</td>
<td>#[count]#</td>
<td>#[qph]#</td>
<td>#{dates}##[date]# #{/dates}#</td>
</tr>
#{/list}#
</tbody>
</table>
#(/page)#
#%env/templates/footer.template%#
</body>
</html>