Module Import alias ImportFrom alias ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body If AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad NameLoad attr Dict Str Str Expr Call AttributeLoad NameLoad attr CompareIn Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr CompareIn Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr CompareIn Str AttributeLoad NameLoad attr orelse ImportFrom alias Raise Call NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body If AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad NameLoad attr Dict Str Str Str Str Assign NameStore Str Assign NameStore ListLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Str Str Str Expr Call AttributeLoad NameLoad attr SubscriptLoad SubscriptLoad Call AttributeLoad NameLoad attr Index Num Index Num Str orelse ImportFrom alias Raise Call NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Dict Assign NameStore ListComp Call NameLoad NameLoad comprehension NameStore Call NameLoad Num Assign SubscriptStore NameLoad Index Num Str Assign SubscriptStore NameLoad Index Num Str Assign NameStore Str For NameStore AttributeLoad NameLoad attr body AugAssignAdd NameStore BinOpMod Str NameLoad Assign SubscriptStore NameLoad Index Num BinOpMod Str NameLoad Assign NameStore BinOpAdd BinOpMult Str Num Call AttributeLoad Str attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Dict Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Num Str Str Str Str Str Str Str Str Str Str Str Str Num Str Str Str Str Str Str Str Str Num Str NameLoad For NameStore AttributeLoad NameLoad attr body Assign SubscriptStore NameLoad Index NameLoad Num Assign SubscriptStore NameLoad Index Str NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Dict Assign NameStore ListComp Call NameLoad NameLoad comprehension NameStore Call NameLoad Num Assign SubscriptStore NameLoad Index Num Str Assign SubscriptStore NameLoad Index Num Str Assign NameStore Str Assign SubscriptStore NameLoad Index Num BinOpMod Str NameLoad Assign NameStore BinOpAdd BinOpMult Str Num Call AttributeLoad Str attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str NameLoad Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str Str Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str Str Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str Str Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Dict Assign NameStore ListComp Call NameLoad NameLoad comprehension NameStore Call NameLoad Num Assign SubscriptStore NameLoad Index Num Str Assign SubscriptStore NameLoad Index Num Str Assign NameStore Str Assign SubscriptStore NameLoad Index Num BinOpMod Str NameLoad Assign NameStore BinOpAdd BinOpMult Str Num Call AttributeLoad Str attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str NameLoad Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str NameLoad Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str Str Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str Str Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Dict Assign NameStore ListComp Call NameLoad NameLoad comprehension NameStore Call NameLoad Num Assign SubscriptStore NameLoad Index Num Str Assign SubscriptStore NameLoad Index Num Str Assign SubscriptStore NameLoad Index Num Str Assign NameStore BinOpAdd BinOpMult Str Num Call AttributeLoad Str attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Dict Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Assign NameStore ListComp Call NameLoad NameLoad comprehension NameStore Call NameLoad Num Assign SubscriptStore NameLoad Index Num Str Assign SubscriptStore NameLoad Index Num Str Assign SubscriptStore NameLoad Index Num Str Assign NameStore BinOpAdd BinOpMult Str Num Call AttributeLoad Str attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Dict Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Num Str Str Str Str Str Str Str Str Str Str Str Str Num Str Str Str Str Str Str Str Str Num Str NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Assign NameStore ListComp Call NameLoad NameLoad comprehension NameStore Call NameLoad Num Assign SubscriptStore NameLoad Index Num Str Assign SubscriptStore NameLoad Index Num Str Assign SubscriptStore NameLoad Index Num Str Assign NameStore BinOpAdd BinOpMult Str Num Call AttributeLoad Str attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Dict Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Num Str Str Str Str Str Str Str Str Str Str Str Str Num Str Str Str Str Str Str Str Str Num Str Str Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list decorator_list If CompareEq NameLoad Str body Expr Call AttributeLoad NameLoad attr
N/A N/A unittest slogging access_processor TestAccessProcessor N/A N/A unittest TestCase N/A test_CIDR_works N/A N/A self N/A N/A N/A N/A access_processor CIDR_support N/A N/A p N/A N/A access_processor AccessLogProcessor N/A lb_private_ips 127.0.0.1,192.168/16,10/24 N/A N/A N/A self assertTrue N/A 192.168.2.3 N/A p lb_private_ips N/A N/A N/A self assertTrue N/A 127.0.0.1 N/A p lb_private_ips N/A N/A N/A self assertFalse N/A 192.167.2.3 N/A p lb_private_ips N/A nose SkipTest N/A N/A SkipTest iptools for CIDR support not installed N/A test_CIDR_process_logs_with_missing_ip N/A N/A self N/A N/A N/A N/A access_processor CIDR_support N/A N/A p N/A N/A access_processor AccessLogProcessor N/A lb_private_ips server_name 127.0.0.1,192.168/16,10/24 testsrv N/A line Sep 16 20:00:02 srv testsrv 199.115.119.21 - 16/Sep/2012/20/00/02 GET /v1/a/c/o HTTP/1.0 200 - StaticWeb - - 17005 - txn - 0.0095 - N/A stream N/A line N/A res N/A N/A p process stream dao dac don N/A N/A N/A self assertEquals N/A N/A N/A N/A res keys N/A 0 N/A 0 a N/A nose SkipTest N/A N/A SkipTest iptools for CIDR support not installed N/A test_log_line_parser_query_args N/A N/A self N/A N/A N/A p N/A N/A access_processor AccessLogProcessor N/A N/A log_line N/A N/A str x N/A x N/A range 18 N/A N/A log_line N/A 1 proxy-server N/A N/A log_line N/A 4 1/Jan/3/4/5/6 N/A query foo N/A param N/A access_processor LISTING_PARAMS N/A N/A query N/A &%s=blah param N/A N/A log_line N/A 6 N/A /v1/a/c/o?%s query N/A log_line N/A N/A x 16 N/A N/A join log_line N/A res N/A N/A p log_line_parser log_line N/A expected N/A code processing_time auth_token month second year tz http_version object_name etag method trans_id client_ip bytes_out container_name day minute account hour referrer request user_agent bytes_in lb_ip log_source 8 17 11 01 6 3 +0000 7 o 14 5 15 2 13 c 1 5 a 4 9 /v1/a/c/o 10 12 3 None N/A param N/A access_processor LISTING_PARAMS N/A N/A N/A expected N/A param 1 N/A N/A expected N/A query query N/A N/A N/A self assertEquals res expected N/A test_log_line_parser_query_args_with_slash_delimiter_to_container N/A N/A self N/A N/A N/A p N/A N/A access_processor AccessLogProcessor N/A N/A log_line N/A N/A str x N/A x N/A range 18 N/A N/A log_line N/A 1 proxy-server N/A N/A log_line N/A 4 1/Jan/3/4/5/6 N/A query prefix=YYYY/MM/DD N/A N/A log_line N/A 6 N/A /v1/a/c?%s query N/A log_line N/A N/A x 16 N/A N/A join log_line N/A res N/A N/A p log_line_parser log_line N/A N/A N/A self assertEquals N/A res N/A object_name None N/A N/A N/A self assertEquals N/A res N/A container_name c N/A N/A N/A self assertEquals N/A res N/A account a N/A N/A N/A self assertEquals N/A res N/A request /v1/a/c N/A N/A N/A self assertEquals N/A res N/A query query N/A test_log_line_parser_query_args_with_slash_delimiter_to_account N/A N/A self N/A N/A N/A p N/A N/A access_processor AccessLogProcessor N/A N/A log_line N/A N/A str x N/A x N/A range 18 N/A N/A log_line N/A 1 proxy-server N/A N/A log_line N/A 4 1/Jan/3/4/5/6 N/A query prefix=YYYY/MM/DD N/A N/A log_line N/A 6 N/A /v1/a?%s query N/A log_line N/A N/A x 16 N/A N/A join log_line N/A res N/A N/A p log_line_parser log_line N/A N/A N/A self assertEquals N/A res N/A object_name None N/A N/A N/A self assertEquals N/A res N/A container_name None N/A N/A N/A self assertEquals N/A res N/A account a N/A N/A N/A self assertEquals N/A res N/A request /v1/a N/A N/A N/A self assertEquals N/A res N/A query query N/A test_log_line_parser_field_count N/A N/A self N/A N/A N/A p N/A N/A access_processor AccessLogProcessor N/A N/A log_line N/A N/A str x N/A x N/A range 17 N/A N/A log_line N/A 1 proxy-server N/A N/A log_line N/A 4 1/Jan/3/4/5/6 N/A N/A log_line N/A 6 /v1/a/c/o N/A log_line N/A N/A x 16 N/A N/A join log_line N/A res N/A N/A p log_line_parser log_line N/A expected N/A N/A N/A N/A self assertEquals res expected N/A log_line N/A N/A str x N/A x N/A range 18 N/A N/A log_line N/A 1 proxy-server N/A N/A log_line N/A 4 1/Jan/3/4/5/6 N/A N/A log_line N/A 6 /v1/a/c/o N/A log_line N/A N/A x 16 N/A N/A join log_line N/A res N/A N/A p log_line_parser log_line N/A expected N/A code processing_time auth_token month second year tz http_version object_name etag method trans_id client_ip bytes_out container_name day minute account hour referrer request user_agent bytes_in lb_ip log_source 8 17 11 01 6 3 +0000 7 o 14 5 15 2 13 c 1 5 a 4 9 /v1/a/c/o 10 12 3 None N/A N/A N/A self assertEquals res expected N/A log_line N/A N/A str x N/A x N/A range 19 N/A N/A log_line N/A 1 proxy-server N/A N/A log_line N/A 4 1/Jan/3/4/5/6 N/A N/A log_line N/A 6 /v1/a/c/o N/A log_line N/A N/A x 16 N/A N/A join log_line N/A res N/A N/A p log_line_parser log_line N/A expected N/A code processing_time auth_token month second year tz http_version object_name etag method trans_id client_ip bytes_out container_name day minute account hour referrer request user_agent bytes_in lb_ip log_source 8 17 11 01 6 3 +0000 7 o 14 5 15 2 13 c 1 5 a 4 9 /v1/a/c/o 10 12 3 18 N/A N/A N/A self assertEquals res expected N/A N/A N/A N/A __name__ __main__ N/A N/A N/A N/A unittest main