changed report links to open in new tabs

This commit is contained in:
Radar231 2021-09-09 11:16:55 -04:00
parent b2ad482e8f
commit 527556edc5
1 changed files with 2 additions and 2 deletions

View File

@ -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
#####################################################################