Skip to content
Snippets Groups Projects
Commit f006dede authored by Jens Steidl's avatar Jens Steidl :baby_chick:
Browse files

feat: more filters

parent 62111090
No related branches found
No related tags found
No related merge requests found
......@@ -162,6 +162,9 @@ get_last_n_days(){
sed "s/lockID [0-9]*for/lockID XXXXXXXXXXfor/g" | \
sed "s/https-jsse-nio-8443-exec-[0-9]*/https-jsse-nio-8443-exec-XX/g" | \
sed "s/job [0-9]*/job XXXXXXXXX/g" | \
sed "s/SIP ID [0-9\.]*/SIP ID XXXXXX/g" | \
sed "s/SIP [0-9]*/SIP XXXXXX/g" | \
sed "s/FL[0-9]*/FLXXXXXX/g" | \
sort | uniq -c | sort -nr
}
......@@ -177,12 +180,6 @@ echo -e "\tSERVERNAME: '${HOSTNAME}'"
echo -e "\tFILTERING LOGS FROM $( date -d "${HOW_MANY_DAYS} days ago" +%Y-%m-%d ) UNTIL $( date -d today +%Y-%m-%d )"
echo -e "\tHOW MANY CHARACTERS: ${HOW_MANY_CHARS}"
echo -en "\tCOUNT WARNINGS: "; [[ "${COUNT_WARNINGS}" == "true" ]] && echo "yes" || echo "no"
echo ""
echo "YOU CAN RUN THIS REPORT YOURSELF! TO FIND OUT HOW, LOGIN TO ${HOSTNAME} AND RUN:"
echo -e "\t$( pwd )/$( basename "${0}" ) --showman"
echo ""
echo -n "--------------------"
echo ""
set_filter_string
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment