Changeset 78


Ignore:
Timestamp:
06/20/11 14:08:58 (13 years ago)
Author:
sherbold
Message:
  • updated robot filter
  • extended parsing to handle clients that did not submit agent informations
Location:
trunk/EventBenchConsole
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/EventBenchConsole/misc/robotfilter.txt

    r72 r78  
    55YandexBot 
    66Spider 
     7ScholarUniverse 
     8Baiduspider 
     9Exabot 
     10Robot 
     11MetaGer-Bot 
     12YandexImages 
     13Gigabot 
     14SiteBot 
     15bingbot 
     16Ezooms 
     17Jeeves/Teoma 
     18msnbot 
  • trunk/EventBenchConsole/src/de/ugoe/cs/eventbench/web/WeblogParser.java

    r75 r78  
    6868                        String uri = values[2]; 
    6969                        // String ref = values[3]; // referer is not yet used! 
    70                         String agent = values[4]; 
     70                        String agent; 
     71                        if( values.length>4 ) { 
     72                                agent = values[4]; 
     73                        } else { 
     74                                agent = "noagent"; 
     75                        } 
     76                         
    7177                        List<String> postedVars = new ArrayList<String>(); 
    7278                        if( values.length==6 ) { // post vars found 
Note: See TracChangeset for help on using the changeset viewer.