diff --git a/es_cmsrep_apache.py b/es_cmsrep_apache.py index 4c91d62e8b6e..0d4e4ed6c1ff 100755 --- a/es_cmsrep_apache.py +++ b/es_cmsrep_apache.py @@ -33,7 +33,7 @@ def process (line, count): if (count%1000)==0: print "Processed entries",count if not send_payload("apache-cmsrep","access_log", id, dumps(payload), passwd_file="/data/es/es_secret"): return False - if payload["verb"] == "HEAD": return True + if payload["verb"] != "GET": return True items = payload["request"].replace("/cms/cpt/Software/download/","/cmssw/",1).split("/") if len(items)<6: return True if items[3] == "apt": items[3]="PRMS"