DataSet Query for Weekday
Hi,
I am new in fortianalyzer, my company would like to have report in working hours.
How do I modified SQL select query to filter out weekend and lunch hour logs from the below predefined dataset:
Dataset Name: Top-Users-By-Bandwidth select coalesce( nullifna(`user`), nullifna(`unauthuser`), ipstr(`srcip`) )as user_src, sum( coalesce(sentbyte,0)+ coalesce(rcvdbyte,0) ) as bandwidth, sum( coalesce(rcvdbyte,0) ) as traffic_in, sum( coalesce(sentbyte,0) ) as traffic_out, count(*) as sessions from $log where $filter and logid_to_int(logid) not in (4,7,14) group by user_src having sum( coalesce(sentbyte,0)+ coalesce(rcvdbyte,0) )>0 order by bandwidth desc
