Source

stash-log-parser / regenerate-graphs.sh

Diff from to

regenerate-graphs.sh

 
 
 # Ensure that 'logparser' is in the PATH (e.g. run rebuild.sh or 'cabal copy')
-
-LOG_FILE=${1:-"../access-logs/aggregated-log-file"}
+DATE=${1:-`date "+%Y-%m"`}
+LOG_FILE=${1:-"../access-logs/atlassian-stash-access-${DATE}*"}
 
 time logparser gitOperations ${LOG_FILE} +RTS -sstderr > plot-git-ops
 time logparser requestDurations ${LOG_FILE} +RTS -sstderr > clone-duration