By default, the Request Log Analyzer outputs a small number of widely applicable metrics, such as the average response time for all requests. There are additional metrics possible to display using the Request Log Analyzer; these flags toggle the calculation and display of these additional metrics. Note that enabling additional metrics can slow analysis time.
--showHourly
: calculates and outputs running statistics for each hour time span within the log as well as tracking the best-performing hour. This flag is useful for its statistics as well as for providing visual feedback that the script is actively running.--showProfiles
: calculates and outputs detailed statistics about the nature of the request and response, such as the number of search terms or the number of sort keys. This flag is especially calculation-intensive and will notably slow analysis time.--showResponseCodes
: calculates and outputs information about the performance of queries categorized by their HTTP response codes.--showRequestTypes
: calculates and outputs statistics about the performance of queries categorized by their query type (search, navigation, record request, etc.)--showExtendedTypes
: calculates and outputs statistics about the performance of queries categorized by their utilization of specific query features, such as wildcard searches, boolean matchmode, record filters, geocode filters, etc.--showThreading
: calculates and outputs statistics about the behavior of a multithreaded MDEX Engine, such as average request queue length, average number of idle threads, and performance analysis of queued vs. unqueued queries.--showWorstResponses
: calculates and outputs the N longest-running queries, based on round-trip response time. By default, N is 10 but is configurable using--numWorstRequests
.--showWorstEngines
: calculates and outputs the N longest-running queries, based on engine-only processing time. By default, N is 10 but is configurable using--numWorstDgraphs
.--verbose
: calculates and outputs all available statistics except request/response profiling. This flag is a shortcut and is equivalent to specifying--showHourly --showResponseCodes --showRequestTypes --showSpecialSearches --showThreading --showWorstRequests --showWorstDgraphs
.--showAll
: calculates and outputs all available statistics. This flag is a shortcut and is equivalent to specifying--showHourly --showProfiles --showResponseCodes --showRequestTypes --showSpecialSearches --showThreading --showWorstRequests --showWorstDgraphs
. Since this flag includes --showProfiles, it is especially calculation-intensive and will notably slow analysis time.--numWorstResponses
: specifies the number of longest-running queries to calculate and output, based on round-trip response time. This flag is only useful when--showWorstRequests
is also enabled.--numWorstEngines
: specifies the number of longest-running queries to calculate and output, based on engine-only processing time. This flag is only useful when--showWorstDgraphs
is also enabled.