Skip to content

Instantly share code, notes, and snippets.

@deathbob
Created February 27, 2013 19:12
Show Gist options
  • Save deathbob/5050719 to your computer and use it in GitHub Desktop.
Save deathbob/5050719 to your computer and use it in GitHub Desktop.
lovebob@new-host-5:~/src/collective/collectivedb-test(code_review⚡) » ruby ./cdb_test.rb -s qa-cdb2.collective-media.net -f server_13010.log -n 1
D, [2013-02-27T14:11:42.065721 #10329] DEBUG -- : File pattern: server_13010.log
D, [2013-02-27T14:11:42.065848 #10329] DEBUG -- : File name server_13010.log
I, [2013-02-27T14:11:42.076619 #10329] INFO -- : URL 1 : http://qa-cdb2.collective-media.net/delivery/data?sortField=name&filterid=&format=csv&fromdate=2013%2D1%2D17&grp=zone&sortDirection=ascending&calltype=data&listfilter=&detailfilter=&item=date&todate=2013%2D1%2D17&userid=8683&tkn=4af15c386eaa9f5cdb823ee1db301184&queryid=fromdate%3A2013%2D1%2D17%2Ctodate%3A2013%2D1%2D17%2Cgrp%3Azone%2Citem%3Adate%2Cuserid%3A8683&listtype=zone&tm=1358478904049.4&pagestart=0&timestamp=1358478904049.4&filtertype=&filter=&pagesize=400&detailtype=date
D, [2013-02-27T14:11:42.291645 #10329] DEBUG -- : <?xml version="1.0" encoding="iso-8859-1"?>
<results>
<metadata pagestart="0" fullcount="81" query_time="0" />
<sortInfo sortField="name" sortDirection="ascending" />
<data><![CDATA[
id,name,type,hasDetail,source_id,payout_ecpa,payout_ecpc,impressions,clicks,payout,payout_ecpm
"1586315","cm.pub_a1/_default","zone","true","266707535",0,0,3,0,0,0
"2555784","cm.pub_a1/about:blank","zone","true","245154572",0,0,45,0,0,0
"1821691","cm.pub_a1/match_2","zone","true","251464468",0,0,167381,116,0,0
"2529951","cm.pub_a1/tier5_ron","zone","true","253385734",0,0,4,0,0,0
"2387515","cm.pub_a1/undefined","zone","true","245154572",0,0,135220,90,0,0
"2552913","cm.pub_aol_music/about:blank","zone","true","266857668",0,0,5,0,0,0
"1821706","cm.pub_aol_music/match_2","zone","true","251580693",0,0,180252,130,0,0
"1708819","cm.pub_aol_music/ron_aol_music","zone","true","251580693",0,0,147346,21,0,0
"2615819","cm.pub_babiesrus/about:blank","zone","true","266438020",0,0,10,0,0,0
"2447678","cm.pub_babiesrus/match_2","zone","true","252385592",0,0,131871,52,0,0
"2447676","cm.pub_babiesrus/ron_babiesrus","zone","true","251580693",0,0,50725,7,0,0
"2382188","cm.pub_belointeractive_matchline/_default","zone","true","266848847",0,0,5,0,0,0
"2476268","cm.pub_belointeractive_matchline/about:blank","zone","true","255593945",0,0,26,0,0,0
"2397339","cm.pub_belointeractive_matchline/match_2","zone","true","251580693",0,0,459918,233,0,0
"2382189","cm.pub_belointeractive_matchline/ron_pub_belointeractive","zone","true","251580693",0,0,424437,227,0,0
"1821718","cm.pub_blogher/match_2","zone","true","251480756",0,0,13,0,0,0
"1820836","cm.pub_blogher/ron_blogher","zone","true","251480521",0,0,21,0,0,0
"2484771","cm.pub_boston_herald/about:blank","zone","true","266438020",0,0,7,0,0,0
"1821670","cm.pub_boston_herald/match_2","zone","true","251464468",0,0,181893,86,0,0
"2387506","cm.pub_boston_herald/undefined","zone","true","243343819",0,0,117711,34,0,0
"1821672","cm.pub_buffalo/match_2","zone","true","266710369",0,0,0,0,0,0
"1821703","cm.pub_christ_science_mont/match_2","zone","true","264556621",0,0,0,0,0,0
"1692681","cm.pub_christ_science_mont/ron_csmonitor","zone","true","265736093",0,0,0,0,0,0
"1586308","cm.pub_cleveland/_default","zone","true","267178788",0,0,1,0,0,0
"1821679","cm.pub_cleveland/match_2","zone","true","251464468",0,0,119755,57,0,0
"2387511","cm.pub_cleveland/undefined","zone","true","251464468",0,0,82482,35,0,0
"925264","cm.pub_detroitnews/_default","zone","true","230138591",0,0,3391,2,0,0
"1821626","cm.pub_detroitnews/match_2","zone","true","230138591",0,0,19840,9,0,0
"2564161","cm.pub_free_lance_star/about:blank","zone","true","266848847",0,0,5,0,0,0
"1692683","cm.pub_free_lance_star/ron_free_lance","zone","true","248062562",0,0,60792,12,0,0
"2382187","cm.pub_greatschools/match_2","zone","true","255685086",0,0,379,2,0,0
"2382185","cm.pub_greatschools/ron_pub_greatschools","zone","true","255685025",0,0,384,0,0,0
"1821667","cm.pub_lee/match_2","zone","true","256492751",0,0,8,0,0,0
"2387504","cm.pub_lee/undefined","zone","true","243008126",0,0,229,2,0,0
"1821657","cm.pub_legacy/match_2","zone","true","251580694",0,0,8960,3,0,0
"2384499","cm.pub_legacy/undefined","zone","true","242851842",0,0,49372,22,0,0
"2519220","cm.pub_live365/about:blank","zone","true","266697138",0,0,6,0,0,0
"1821712","cm.pub_live365/match_2","zone","true","251475555",0,0,65426,30,0,0
"1820832","cm.pub_live365/ron_live365","zone","true","251475224",0,0,39124,17,0,0
"2484373","cm.pub_mediageneral/about:blank","zone","true","266438020",0,0,14,0,0,0
"2397338","cm.pub_mediageneral/match_2","zone","true","252162022",0,0,110767,65,0,0
"2365817","cm.pub_mediageneral/ron_mediageneral","zone","true","252989875",0,0,26646,39,0,0
"2570072","cm.pub_mlive/about:blank","zone","true","266622460",0,0,11,0,0,0
"1821681","cm.pub_mlive/match_2","zone","true","251464468",0,0,31358,17,0,0
"1725617","cm.pub_mlive/ron_tier1","zone","true","266857954",0,0,2,0,0,0
"2384501","cm.pub_mlive/undefined","zone","true","245157857",0,0,216895,62,0,0
"1586311","cm.pub_nj/_default","zone","true","266622461",0,0,1,0,0,0
"1821684","cm.pub_nj/match_2","zone","true","251580696",0,0,28965,34,0,0
"2384502","cm.pub_nj/undefined","zone","true","245158213",0,0,182858,72,0,0
"1586312","cm.pub_nola/_default","zone","true","266622462",0,0,1,0,0,0
"1821688","cm.pub_nola/match_2","zone","true","251464468",0,0,108527,48,0,0
"2387513","cm.pub_nola/undefined","zone","true","245158583",0,0,79685,16,0,0
"1586313","cm.pub_penn/_default","zone","true","245241249",0,0,2,0,0,0
"2387514","cm.pub_penn/undefined","zone","true","245241249",0,0,51268,9,0,0
"2528844","cm.pub_politico/about:blank","zone","true","265571621",0,0,41,0,0,0
"2471903","cm.pub_politico/match_2","zone","true","251580695",0,0,297545,553,0,0
"2471901","cm.pub_politico/ron_politico","zone","true","251580696",0,0,204322,351,0,0
"1462013","cm.pub_schurz/_default","zone","true","245138890",0,0,14,0,0,0
"2718731","cm.pub_schurz/about:blank","zone","true","264849010",0,0,6,0,0,0
"2387508","cm.pub_schurz/undefined","zone","true","245138888",0,0,141793,88,0,0
"2387503","cm.pub_seattletimes/undefined","zone","true","243009718",0,0,366,0,0,0
"1820814","cm.pub_shopping/ron_shopping","zone","true","263361954",0,0,0,0,0,0
"2389937","cm.pub_si/undefined","zone","true","245241399",0,0,23113,14,0,0
"1821664","cm.pub_stlouistoday/match_2","zone","true","256496494",0,0,4084,6,0,0
"2384500","cm.pub_stlouistoday/undefined","zone","true","243011888",0,0,3356,130,0,0
"1586306","cm.pub_syracuse/_default","zone","true","245241501",0,0,1,0,0,0
"2387510","cm.pub_syracuse/undefined","zone","true","245241501",0,0,102461,25,0,0
"1821675","cm.pub_tampa/match_2","zone","true","251580694",0,0,35291,69,0,0
"2387509","cm.pub_tampa/undefined","zone","true","245033901",0,0,9172,15,0,0
"2397337","cm.pub_toysrus/match_2","zone","true","251580693",0,0,96976,9,0,0
"1963846","cm.pub_toysrus/ron_toysrus","zone","true","251580693",0,0,59285,11,0,0
"1127373","cm.pub_tvguide/_default","zone","true","251621261",0,0,1,0,0,0
"1821646","cm.pub_tvguide/match_2","zone","true","251621259",0,0,7003,1,0,0
"2555730","cm.pub_tvguide/match_2_hp","zone","true","251621258",0,0,584,0,0,0
"1958577","cm.pub_tvguide/ron_tvguide","zone","true","249631226",0,0,3382,4,0,0
"2555731","cm.pub_tvguide/ron_tvguide_hp","zone","true","249631290",0,0,45,0,0,0
"2529953","cm.pub_tvguide/tier5_ron","zone","true","267493402",0,0,1,0,0,0
"2382183","cm.pub_usautoparts/ron_pub_usautoparts","zone","true","255679842",0,0,5,0,0,0
"1109975","cm.pub_webmd/_default","zone","true","233363992",0,0,388,1,0,0
"2573111","cm.pubmatic/ron_blanket","zone","true","264117111",0,0,10,0,0,0
"4294967295","Grand Total","grand_total","false","",0,0,4273292,2826,0,0
]]></data>
</results>
I, [2013-02-27T14:11:42.292410 #10329] INFO -- : Counter: 0
I, [2013-02-27T14:11:42.292515 #10329] INFO -- : Total requests executed: 1
I, [2013-02-27T14:11:42.292550 #10329] INFO -- : Test succeeded: 0
I, [2013-02-27T14:11:42.292578 #10329] INFO -- : Test failed: 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment