Skip to content

Instantly share code, notes, and snippets.

@christianromney
Created June 3, 2009 16:08
Show Gist options
  • Save christianromney/123062 to your computer and use it in GitHub Desktop.
Save christianromney/123062 to your computer and use it in GitHub Desktop.
class ActivateDeviceReport < Report
fields :time, :date :call_id, :exec_time, :account_number, :sr_number, :serial_number , :output, :das_server
pattern /^(\d{2}:\d{2}:\d{2},\d{3}).*?(\d{2}\/\d{2})\s(\w*?)\s.*?\[execution\(activateDevice\)\].*?(\d*)ms.*?accountNumber=(\d*?),srNumber=(\d*?)\],serialNumber=(.*?),.*?output\s=\s(.*?)/
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment