Created
          September 30, 2015 18:05 
        
      - 
      
- 
        Save dougluce/aad886b95ec4479becbe to your computer and use it in GitHub Desktop. 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | stats = {} | |
| ssps = | |
| * target: 'summarize(stats.incoming.ssp_traffic.aaa, "1hr", "sum")' | |
| * target: 'summarize(stats.incoming.ssp_traffic.bbb, "1hr", "sum")' | |
| * target: 'summarize(stats.incoming.ssp_traffic.ccc, "1hr", "sum")' | |
| for ssp in ssps | |
| sspname = (ssp.target.match /ssp_traffic.([^,]+),/)[1] | |
| stats.names ?= [] | |
| stats.names.push sspname | |
| console.log stats.names | 
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment