# # Nihuo Web Log Analyzer hit filter file # # Description: # Just analyze activities happend in working time(9:00AM - 5:00PM) . # # The data of time filter is stored in a 32 bit, field name is "flags". # # Hex Dec # 00:00 - 00:59 0x000001 1 # 01:00 - 01:59 0x000002 2 # 02:00 - 02:59 0x000004 4 # 03:00 - 03:59 0x000008 8 # 04:00 - 04:59 0x000010 16 # 05:00 - 05:59 0x000020 32 # 06:00 - 06:59 0x000040 64 # 07:00 - 07:59 0x000080 128 # 08:00 - 08:59 0x000100 256 # 09:00 - 09:59 0x000200 512 # 10:00 - 10:59 0x000400 1024 # 11:00 - 11:59 0x000800 2048 # 12:00 - 12:59 0x001000 4096 # 13:00 - 13:59 0x002000 8192 # 14:00 - 14:59 0x004000 16384 # 15:00 - 15:59 0x008000 32768 # 16:00 - 16:59 0x010000 65536 # 17:00 - 17:59 0x020000 131072 # 18:00 - 18:59 0x040000 262144 # 19:00 - 19:59 0x080000 524288 # 20:00 - 20:59 0x100000 1048576 # 21:00 - 21:59 0x200000 2097152 # 22:00 - 22:59 0x400000 4194304 # 23:00 - 23:59 0x800000 8388608 # # ( 09:00 - 09:59 ) + ( 10:00 - 10:59 ) + ( 10:00 - 10:59 ) # + ( 11:00 - 11:59 ) + ( 12:00 - 12:59 ) + ( 13:00 - 13:59 ) # + ( 14:00 - 14:59 ) + ( 15:00 - 15:59 ) + ( 16:00 - 16:59 ) = # 512 + 1024 + 2048 + 4096 + 8192 + 16384 + 32768 + 65536 = 130560 # # # Usage: # ./nwla -f=logfile --hitfilter=./filters/workinghour.hfml # # # If you have any questions about filters and our products, please contact # us at support@loganalyzer.net, we wil feedback ASAP. # # Online tutorial of filters is available in # http://www.loganalyzer.net/tutorial.html#filter # # Hit Filter: Time = as specified type=7 flags=130560