changed report links to open in new tabs
This commit is contained in:
parent
b2ad482e8f
commit
527556edc5
|
@ -87,14 +87,14 @@ do
|
|||
zcat -f ${logDir}/${logfile}* | ${goBin} >/dev/null 2>&1 - --geoip-database=${geoipArg} --time-format=${timeArg} --date-format=${dateArg} --log-format="${formatArg}" --output=${dstDir}/${host}_all.html --html-report-title="${host} - All"
|
||||
|
||||
# put a link to the report in our index.html
|
||||
echo " <LI> <A HREF="${host}_all.html">${host} - All</A></LI>" >>${dstDir}/index.html
|
||||
echo " <LI> <A HREF="${host}_all.html" target="_blank">${host} - All</A></LI>" >>${dstDir}/index.html
|
||||
|
||||
###################################
|
||||
# Analyze only today's log entries
|
||||
zcat -f ${logDir}/${logfile}* | grep "^\[${dateToday}:" | ${goBin} >/dev/null 2>&1 - --geoip-database=${geoipArg} --time-format=${timeArg} --date-format=${dateArg} --log-format="${formatArg}" --output=${dstDir}/${host}_today.html --html-report-title="${host} - Today"
|
||||
|
||||
# put a link to the report in our index.html
|
||||
echo " <LI> <A HREF="${host}_today.html">${host} - Today</A></LI>" >>${dstDir}/index.html
|
||||
echo " <LI> <A HREF="${host}_today.html" target="_blank">${host} - Today</A></LI>" >>${dstDir}/index.html
|
||||
done
|
||||
|
||||
#####################################################################
|
||||
|
|
Loading…
Reference in New Issue