Class: RequestLogAnalyzer::FileFormat::Mysql

Inherits:
Base
  • Object
show all
Extended by:
CommonRegularExpressions
Defined in:
lib/request_log_analyzer/file_format/mysql.rb

Defined Under Namespace

Classes: Request

Constant Summary

PER_USER =
:user
PER_QUERY =
:query
PER_USER_QUERY =
Proc.new { |request| "#{request[:user]}@#{request.host}: #{request[:query]}" }

Constants included from CommonRegularExpressions

CommonRegularExpressions::TIMESTAMP_PARTS

Constants inherited from Base

Base::Request

Instance Attribute Summary

Attributes inherited from Base

#line_definitions, #report_trackers

Method Summary

Methods included from CommonRegularExpressions

anchored, hostname, hostname_or_ip_address, ip_address, timestamp

Methods inherited from Base

#captures?, create, format_definition, #initialize, line_definer, line_definition, #line_divider, #max_line_length, #parse_line, report, report_definer, #request, #request_class, #setup_environment, #valid_line_definitions?, #valid_request_class?, #well_formed?

Constructor Details

This class inherits a constructor from RequestLogAnalyzer::FileFormat::Base