Class: Logical::Naf::LogParser::Job
- Defined in:
- app/models/logical/naf/log_parser/job.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
-
#initialize(params) ⇒ Job
constructor
A new instance of Job.
- #logs ⇒ Object
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) ⇒ Job
Returns a new instance of Job.
7 8 9 |
# File 'app/models/logical/naf/log_parser/job.rb', line 7 def initialize(params) super(params) end |
Instance Method Details
#logs ⇒ Object
11 12 13 |
# File 'app/models/logical/naf/log_parser/job.rb', line 11 def logs retrieve_logs end |