GASP: GoAccess Shell Plugin

I made some good progress on the GoAccess plugin over the past few days. Many of the kinks have been ironed out and making access.log reports has never been so easy :) It’s a pretty simple plugin, but it does the job well. My favorite parts of the script are a fun bit of regex that’s just aesthetically pleasing, the awk date filter, and the overall flow of execution. yes='^1$|^([y|Y]([e|E][s|S])?)$' cmDATE=`date -u -v-"$goINTVAL"H +\[%d/%b/%Y:%H:%M:%S` # OSX date command format (-v)....

2013-09-03 · 1 min · 97 words · Nathaniel Hoag