By default, the Request Log Analyzer reports on all requests within a logfile, and all time-based calculations such as operations per second are based on the time period between the first request in the log and the last request in the log. It is often useful to only analyze a certain time period within the log. This allows targeted analysis of specific events such as a load test or a traffic spike. Furthermore, it allows outlying requests such as developer-initiated requests before an MDEX Engine is released to production traffic to be excluded from calculation.
--timeLower
: the earliest datetime that should be analyzed. Requests that occurred before this datetime will be silently ignored. This datetime can be specified as in epoch time or in YYYY-MM-DD-HH-MM-SS format. Note that hours must be specified in 24-hour military time. To specify a lower time bound of December 14, 2005, 5:26:38 PM, use--timeLower 1134599198
or--timeLower 2005-12-14-17-26-38
.--timeUpper
: the latest datetime that should be analyzed. Requests that occurred after this datetime will be silently ignored. This datetime can be specified as in epoch time or in YYYY-MM-DD-HH-MM-SS format. Note that hours must be specified in 24-hour military time. To specify an upper time bound of December 14, 2005, 5:26:38 PM, use--timeUpper 1134599198
or--timeUpper 2005-12-14-17-26-38
.--hourOffset
: the difference, in hours, between the timezone of the server that created the MDEX Engine log and the server running the Request Log Analyzer. This timezone difference is important because the Request Log Analyzer will output time information in human-readable format even though the MDEX Engine logs times in epoch format. The translation of epoch to human-readable time honors the timezone of the server running the Request Log Analyzer. The--hourOffset
flag allows human-readable times to honor the timezone of the server that wrote the log. If the server running the Request Log Analyzer is in EST (GMT-5) and the server that wrote the log is in PST (GMT-8), specify--hourOffset -3
. This flag also affects the translation of human-readable time to epoch time, when specifying--timeLower
or--timeUpper
in YYYY-MM-DD-HH-MM-SS format.