Commit 7ef2541e authored by Thorsten Simons's avatar Thorsten Simons

1.5.3 - added the *clientip_node* query

parent bdb3a93c
Release History
===============
**1.5.3 2019-05-21**
* added the *clientip_node* query
**1.5.2 2019-05-15**
* *analyze* now also allows to use a database created by **hcpheath**
......
......@@ -6,37 +6,42 @@ Built-in queries
**hcprequestanalytics** comes with a set of pre-defined queries::
$ hcprequestanalytics showqueries
$ hcprequestanalytics showqueries
available queries:
500_highest_throughput The 500 records with the highest throughput (Bytes/sec)
500_httpcode_409 The 500 newest records with http code 409
500_httpcode_413 The 500 newest records with http code 413
500_httpcode_503 The 500 newest records with http code 503
500_largest_req_httpcode_node The records with the 500 largest requests by req, httpcode, node
500_largest_size The records with the 500 largest requests sorted by size
500_worst_latency The records with the 500 worst latencies
clientip No. of records per client IP address
clientip_httpcode No. of records per http code per client IP address
clientip_request_httpcode No. of records per http code per request per client IP address
count No. of records, overall
day No. of records per day
day_hour No. of records per hour per day
day_hour_req No. of records per request per hour per day
day_req No. of records per request per day
day_req_httpcode No. of records per http code per request per day
node No. of records per node
node_req No. of records per request per node
node_req_httpcode No. of records per http code per request per node
percentile_req No. of records per request analysis, including percentiles for size and latency
percentile_throughput_128kb No. of records per request, with percentiles on throughput (Bytes/sec) for objects >= 128KB
req No. of records per request
req_httpcode No. of records per http code per request
req_httpcode_node No. of records per node per http code per request
ten_ns_proto_clientip_httpcode No. of records per Tenant / Namespace / protocol / client IP address / http code
ten_ns_proto_httpcode No. of records per Tenant / Namespace / protocol / http code
ten_ns_proto_percentile_req No. of records per Tenant / Namespace / protocol, including percentiles for size and latency
ten_ns_proto_user_httpcode No. of records per Tenant / Namespace / protocol / user / http code
ten_proto_httpcode No. of records per Tenant / protocol / http code
500_highest_throughput The 500 records with the highest throughput (Bytes/sec)
500_httpcode_409 The 500 newest records with http code 409
500_httpcode_413 The 500 newest records with http code 413
500_httpcode_503 The 500 newest records with http code 503
500_largest_req_httpcode_node The records with the 500 largest requests by req, httpcode, node
500_largest_size The records with the 500 largest requests sorted by size
500_worst_latency The records with the 500 worst latencies
clientip No. of records per client IP address
clientip_httpcode No. of records per http code per client IP address
clientip_node No. of records per clientip per node
clientip_request_httpcode No. of records per http code per request per client IP address
count No. of records, overall
day No. of records per day
day_hour No. of records per hour per day
day_hour_req No. of records per request per hour per day
day_req No. of records per request per day
day_req_httpcode No. of records per http code per request per day
mapi_endp_req_http MAPI request: endpoints, request, http code
mapi_user_req_http MAPI requests by user
node No. of records per node
node_req No. of records per request per node
node_req_httpcode No. of records per http code per request per node
percentile_req No. of records per request analysis, including percentiles for size and latency
percentile_throughput_128kb No. of records per request, with percentiles on throughput (Bytes/sec) for objects >= 128KB
req No. of records per request
req_httpcode No. of records per http code per request
req_httpcode_node No. of records per node per http code per request
ten_ns_proto_clientip_httpcode No. of records per Tenant / Namespace / protocol / client IP address / http code
ten_ns_proto_httpcode No. of records per Tenant / Namespace / protocol / http code
ten_ns_proto_percentile_req No. of records per Tenant / Namespace / protocol, including percentiles for size and latency
ten_ns_proto_user_httpcode No. of records per Tenant / Namespace / protocol / user / http code
ten_proto_httpcode No. of records per Tenant / protocol / http code
ten_user_ns_req_http Tenants with all users accessing Namespaces, incl. request and httpcode
.. Tip::
......
......@@ -89,6 +89,15 @@ query : SELECT node, count(*) as count,
FROM logrecs GROUP BY node
freeze pane : C5
[clientip_node]
comment : No. of records per clientip per node
query : SELECT clientip, node, count(*) as count,
min(size), avg(size), max(size),
min(latency), avg(latency),
max(latency)
FROM logrecs GROUP BY clientip, node
freeze pane : D5
[node_req]
comment : No. of records per request per node
query : SELECT node, request, count(*) as count,
......
......@@ -27,8 +27,8 @@ class Gvars:
"""
# version control
s_version = "1.5.2"
s_builddate = '2019-05-15'
s_version = "1.5.3"
s_builddate = '2019-05-21'
s_build = "{}/Sm".format(s_builddate)
s_minPython = "3.5"
s_description = "hcprequestanalytics"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment