Class: Logical::Naf::LogParser::Runner

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

Constant Summary

Constants inherited from Base

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

Instance Attribute Summary collapse

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) ⇒ Runner

Returns a new instance of Runner.



9
10
11
12
# File 'app/models/logical/naf/log_parser/runner.rb', line 9

def initialize(params)
  super(params)
  @invocations_ids = {}
end

Instance Attribute Details

#invocations_idsObject

Returns the value of attribute invocations_ids.



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

def invocations_ids
  @invocations_ids
end

Instance Method Details

#logsObject



14
15
16
# File 'app/models/logical/naf/log_parser/runner.rb', line 14

def logs
  retrieve_logs
end