Searched defs:mg (Results 1 - 6 of 6) sorted by relevance
/pkg/src/util/log-scripts/ |
H A D | an_first_timestamp.py | 51 mg = m.groupdict() variable 53 d = datetime.datetime(*(time.strptime(mg["date"] + ":" + mg["time"], "%d/%b/%Y:%H:%M:%S")[0:6]))
|
H A D | an_filelist.py | 59 def count_filelist(mg, d): 65 pm = pkg_pat.search(mg["uri"]) 69 if mg["response"] == "200": 70 filelist_totals["bytes"] += int(mg["subcode"]) 107 mg = m.groupdict() variable 111 if lastdatetime and mg["date"] == lastdate: 114 d = datetime.datetime(*(time.strptime(mg["date"], "%d/%b/%Y")[0:6])) 115 lastdate = mg["date"] 121 count_filelist(mg, d)
|
H A D | an_catalog.py | 119 def count_catalog(mg, d): 126 catalog_by_ip[mg["ip"]] += 1 128 catalog_by_ip[mg["ip"]] = 1 132 if not d in catalog_by_ip_active[mg["ip"]]: 133 catalog_by_ip_active[mg["ip"]].append(d) 135 catalog_by_ip_active[mg["ip"]] = [d] 138 catalog_by_raw_agent[mg["agent"]] += 1 140 catalog_by_raw_agent[mg["agent"]] = 1 144 agent = pkg_agent_pat.search(mg["agent"]) 187 mg variable [all...] |
H A D | an_ip_active.py | 53 def count_entry(mg, d): 56 ip = mg["ip"] 97 mg = m.groupdict() variable 101 if lastdatetime and mg["date"] == lastdate: 105 d = datetime.datetime(*(time.strptime(mg["date"], "%d/%b/%Y")[0:6])) 106 lastdate = mg["date"] 116 count_entry(mg, d)
|
H A D | an_manifest.py | 73 def count_manifest(mg, d): 79 manifest_by_ip[mg["ip"]] += 1 81 manifest_by_ip[mg["ip"]] = 1 83 pm = pkg_pat.search(mg["uri"]) 84 if pm != None and mg["response"] == "200": 97 agent = pkg_agent_pat.search(mg["agent"]) 136 mg = m.groupdict() variable 140 if lastdatetime and mg["date"] == lastdate: 144 d = datetime.datetime(*(time.strptime(mg["date"], "%d/%b/%Y")[0:6])) 145 lastdate = mg["dat [all...] |
H A D | an_search.py | 109 def count_search(mg, d): 115 search_by_ip[mg["ip"]] += 1 117 search_by_ip[mg["ip"]] = 1 120 pm = pkg_pat.search(mg["uri"]) 126 if mg["response"] == "200": 127 if mg["subcode"] == "-": 142 elif mg["response"] == "404": 151 agent = pkg_agent_pat.search(mg["agent"]) 191 mg = m.groupdict() variable 195 if lastdatetime and mg["dat [all...] |
Completed in 12 milliseconds