Class: Logical::Naf::LogParser::Machine

Inherits:
Base
  • Object
show all
Defined in:
app/models/logical/naf/log_parser/machine.rb

Constant Summary

Constants inherited from Base

Base::DATE_REGEX, Base::LOG_SIZE_CHUNKS, Base::REGEX_OPTIONS, Base::UUID_REGEX

Instance Attribute Summary

Attributes inherited from Base

#grep, #jsons, #last_file_checked, #log_type, #logs_size, #newest_file_checked, #newest_log, #read_from_s3, #record_id, #regex_options, #s3_log_reader, #search_from_time, #search_params, #search_to_time

Instance Method Summary collapse

Methods inherited from Base

#build_time_string, #check_repeated_logs, #filter_files, #filter_log_messages, #get_json_from_log_file, #get_option_value, #get_s3_files, #log_within_time_range, #parse_files, #parse_log, #retrieve_logs, #update_last_file_checked

Constructor Details

#initialize(params) ⇒ Machine

Returns a new instance of Machine.



7
8
9
# File 'app/models/logical/naf/log_parser/machine.rb', line 7

def initialize(params)
  super(params)
end

Instance Method Details

#logsObject



11
12
13
# File 'app/models/logical/naf/log_parser/machine.rb', line 11

def logs
  retrieve_logs
end