SYMBOL INDEX (5493 symbols across 433 files) FILE: lib/fluent/agent.rb type Fluent (line 22) | module Fluent class Agent (line 29) | class Agent method initialize (line 32) | def initialize(log:) method configure (line 60) | def configure(conf) method lifecycle_control_list (line 79) | def lifecycle_control_list method lifecycle (line 107) | def lifecycle(desc: false) method add_match (line 126) | def add_match(type, pattern, conf) method add_filter (line 148) | def add_filter(type, pattern, conf) method emit_error_event (line 162) | def emit_error_event(tag, time, record, error) method handle_emits_error (line 165) | def handle_emits_error(tag, es, error) FILE: lib/fluent/capability.rb type Fluent (line 26) | module Fluent class Capability (line 28) | class Capability method initialize (line 29) | def initialize(target = nil, pid = nil) method usable? (line 33) | def usable? method apply (line 37) | def apply(select_set) method clear (line 41) | def clear(select_set) method have_capability? (line 45) | def have_capability?(type, capability) method update (line 49) | def update(action, type, capability_or_capability_array) method have_capabilities? (line 53) | def have_capabilities?(select_set) method initialize (line 59) | def initialize(target = nil, pid = nil) method usable? (line 62) | def usable? method apply (line 66) | def apply(select_set) method clear (line 70) | def clear(select_set) method have_capability? (line 74) | def have_capability?(type, capability) method update (line 78) | def update(action, type, capability_or_capability_array) method have_capabilities? (line 82) | def have_capabilities?(select_set) class Capability (line 58) | class Capability method initialize (line 29) | def initialize(target = nil, pid = nil) method usable? (line 33) | def usable? method apply (line 37) | def apply(select_set) method clear (line 41) | def clear(select_set) method have_capability? (line 45) | def have_capability?(type, capability) method update (line 49) | def update(action, type, capability_or_capability_array) method have_capabilities? (line 53) | def have_capabilities?(select_set) method initialize (line 59) | def initialize(target = nil, pid = nil) method usable? (line 62) | def usable? method apply (line 66) | def apply(select_set) method clear (line 70) | def clear(select_set) method have_capability? (line 74) | def have_capability?(type, capability) method update (line 78) | def update(action, type, capability_or_capability_array) method have_capabilities? (line 82) | def have_capabilities?(select_set) FILE: lib/fluent/clock.rb type Fluent (line 17) | module Fluent type Clock (line 18) | module Clock function now (line 24) | def self.now function freeze (line 28) | def self.freeze(dst = nil, &block) function return (line 35) | def self.return function now_raw (line 42) | def self.now_raw function real_now (line 46) | def self.real_now(unit = :second) function dst_clock_from_time (line 50) | def self.dst_clock_from_time(time) function freeze_block (line 55) | def self.freeze_block(dst) FILE: lib/fluent/command/binlog_reader.rb class FluentBinlogReader (line 27) | class FluentBinlogReader method initialize (line 40) | def initialize(argv = ARGV) method call (line 44) | def call method command (line 51) | def command method usage (line 67) | def usage(msg = nil) type BinlogReaderCommand (line 74) | module BinlogReaderCommand class Base (line 75) | class Base method initialize (line 76) | def initialize(argv = ARGV) method call (line 90) | def call method usage (line 96) | def usage(msg = nil) method parse_options! (line 102) | def parse_options! type Formattable (line 119) | module Formattable function initialize (line 124) | def initialize(argv = ARGV) function configure_option_parser (line 132) | def configure_option_parser function lookup_formatter (line 148) | def lookup_formatter(format, params) class Head (line 161) | class Head < Base method initialize (line 168) | def initialize(argv = ARGV) method call (line 174) | def call method default_options (line 189) | def default_options method parse_options! (line 193) | def parse_options! class Cat (line 207) | class Cat < Head method default_options (line 212) | def default_options class Formats (line 217) | class Formats < Base method initialize (line 218) | def initialize(argv = ARGV) method call (line 223) | def call FILE: lib/fluent/command/ca_generate.rb type Fluent (line 6) | module Fluent class CaGenerate (line 7) | class CaGenerate method initialize (line 19) | def initialize(argv = ARGV) method usage (line 28) | def usage(msg = nil) method call (line 34) | def call method certificates_from_file (line 59) | def self.certificates_from_file(path) method generate_ca_pair (line 67) | def self.generate_ca_pair(opts={}) method generate_server_pair (line 93) | def self.generate_server_pair(opts={}) method generate_self_signed_server_pair (line 125) | def self.generate_self_signed_server_pair(opts={}) method configure_option_parser (line 150) | def configure_option_parser method parse_options! (line 180) | def parse_options! FILE: lib/fluent/command/cap_ctl.rb type Fluent (line 22) | module Fluent class CapCtl (line 23) | class CapCtl method prepare_option_parser (line 24) | def prepare_option_parser method usage (line 48) | def usage(msg) method initialize (line 54) | def initialize(argv = ARGV) method call (line 75) | def call method clear_capabilities (line 96) | def clear_capabilities(opts, target_file) method add_capabilities (line 104) | def add_capabilities(opts, target_file) method drop_capabilities (line 119) | def drop_capabilities(opts, target_file) method get_capabilities (line 134) | def get_capabilities(opts, target_file) method get_valid_capabilities (line 145) | def get_valid_capabilities method check_capabilities (line 154) | def check_capabilities(capabilities, valid_capabilities) method parse_options! (line 162) | def parse_options!(argv) FILE: lib/fluent/command/cat.rb class Writer (line 114) | class Writer class TimerThread (line 119) | class TimerThread method initialize (line 120) | def initialize(writer) method start (line 124) | def start method shutdown (line 129) | def shutdown method run (line 134) | def run method initialize (line 142) | def initialize(tag, connector, time_as_integer: false, retry_limit: 5,... method secondary_record? (line 161) | def secondary_record?(record) method write (line 168) | def write(record) method on_timer (line 203) | def on_timer method close (line 222) | def close method start (line 227) | def start method shutdown (line 233) | def shutdown method write_impl (line 238) | def write_impl(array) method get_socket (line 257) | def get_socket method try_connect (line 268) | def try_connect method abort_message (line 306) | def abort_message(time, record) FILE: lib/fluent/command/ctl.rb type Fluent (line 25) | module Fluent class Ctl (line 26) | class Ctl method initialize (line 60) | def initialize(argv = ARGV) method help_text (line 69) | def help_text method usage (line 84) | def usage(msg = nil) method call (line 93) | def call method call_signal (line 111) | def call_signal(command, pid) method call_winsvc_control_code (line 116) | def call_winsvc_control_code(command, pid_or_svcname) method call_windows_event (line 143) | def call_windows_event(command, pid_or_svcname) method configure_option_parser (line 157) | def configure_option_parser method parse_options! (line 162) | def parse_options! FILE: lib/fluent/command/plugin_config_formatter.rb class FluentPluginConfigFormatter (line 27) | class FluentPluginConfigFormatter method initialize (line 39) | def initialize(argv = ARGV) method call (line 53) | def call method dump_txt (line 81) | def dump_txt(dumped_config) method dump_section_txt (line 103) | def dump_section_txt(base_section, level = 0) method dump_markdown (line 137) | def dump_markdown(dumped_config) method dump_section_markdown (line 158) | def dump_section_markdown(base_section, level = 0) method dump_json (line 205) | def dump_json(dumped_config) method plugin_helper_url (line 213) | def plugin_helper_url(plugin_helper) method plugin_helper_markdown_link (line 217) | def plugin_helper_markdown_link(plugin_helper) method plugin_overview_url (line 221) | def plugin_overview_url(class_name) method plugin_overview_markdown_link (line 226) | def plugin_overview_markdown_link(class_name) method usage (line 231) | def usage(message = nil) method prepare_option_parser (line 238) | def prepare_option_parser method parse_options! (line 277) | def parse_options! method init_libraries (line 292) | def init_libraries method template_path (line 305) | def template_path(name) FILE: lib/fluent/command/plugin_generator.rb class FluentPluginGenerator (line 26) | class FluentPluginGenerator method initialize (line 32) | def initialize(argv = ARGV) method call (line 40) | def call method template_directory (line 65) | def template_directory method template_file (line 69) | def template_file(filename) method template (line 73) | def template(source, dest) method file (line 89) | def file(source, dest) method prepare_parser (line 98) | def prepare_parser method parse_options! (line 119) | def parse_options! method usage (line 129) | def usage(message = "") method user_name (line 136) | def user_name method user_email (line 141) | def user_email method gem_name (line 146) | def gem_name method plugin_name (line 150) | def plugin_name method gem_file_path (line 154) | def gem_file_path method lock_file_path (line 160) | def lock_file_path method locked_gem_version (line 166) | def locked_gem_version(gem_name) method rake_version (line 176) | def rake_version method test_unit_version (line 180) | def test_unit_version method bundler_version (line 184) | def bundler_version method class_name (line 194) | def class_name method plugin_filename (line 198) | def plugin_filename method test_filename (line 209) | def test_filename method dest_filename (line 220) | def dest_filename(path) method capitalized_name (line 233) | def capitalized_name method underscore_name (line 237) | def underscore_name method dash_name (line 241) | def dash_name method preamble (line 245) | def preamble method copy_license (line 249) | def copy_license method create_label (line 262) | def create_label(dest, contents) method overwrite? (line 274) | def overwrite?(dest) class NoLicense (line 301) | class NoLicense method initialize (line 304) | def initialize method preamble (line 310) | def preamble(usename) class ApacheLicense (line 315) | class ApacheLicense method initialize (line 320) | def initialize method name (line 331) | def name method full_name (line 335) | def full_name method preamble (line 339) | def preamble(user_name) method register_license (line 351) | def self.register_license(license, klass) method lookup_license (line 355) | def self.lookup_license(license) FILE: lib/fluent/compat/call_super_mixin.rb type Fluent (line 17) | module Fluent type Compat (line 18) | module Compat type CallSuperMixin (line 19) | module CallSuperMixin function prepended (line 25) | def self.prepended(klass) function start (line 41) | def start function before_shutdown (line 50) | def before_shutdown function stop (line 58) | def stop function shutdown (line 67) | def shutdown FILE: lib/fluent/compat/detach_process_mixin.rb type Fluent (line 17) | module Fluent type Compat (line 18) | module Compat type DetachProcessMixin (line 19) | module DetachProcessMixin function detach_process (line 20) | def detach_process type DetachMultiProcessMixin (line 26) | module DetachMultiProcessMixin function detach_multi_process (line 27) | def detach_multi_process FILE: lib/fluent/compat/exec_util.rb type Fluent (line 25) | module Fluent type Compat (line 26) | module Compat type ExecUtil (line 27) | module ExecUtil class Parser (line 34) | class Parser method initialize (line 35) | def initialize(on_message) class TextParserWrapperParser (line 40) | class TextParserWrapperParser < Parser method initialize (line 41) | def initialize(conf, on_message) method call (line 47) | def call(io) method each_line (line 51) | def each_line(line) class TSVParser (line 59) | class TSVParser < Parser method initialize (line 60) | def initialize(keys, on_message) method call (line 65) | def call(io) method each_line (line 69) | def each_line(line) class JSONParser (line 79) | class JSONParser < Parser method call (line 80) | def call(io) class MessagePackParser (line 87) | class MessagePackParser < Parser method call (line 88) | def call(io) class Formatter (line 97) | class Formatter class TSVFormatter (line 100) | class TSVFormatter < Formatter method initialize (line 101) | def initialize(in_keys) method call (line 106) | def call(record, out) class JSONFormatter (line 117) | class JSONFormatter < Formatter method call (line 118) | def call(record, out) class MessagePackFormatter (line 123) | class MessagePackFormatter < Formatter method call (line 124) | def call(record, out) FILE: lib/fluent/compat/file_util.rb type Fluent (line 17) | module Fluent type Compat (line 18) | module Compat type FileUtil (line 19) | module FileUtil function writable? (line 25) | def writable?(path) function writable_p? (line 39) | def writable_p?(path) FILE: lib/fluent/compat/filter.rb type Fluent (line 23) | module Fluent type Compat (line 24) | module Compat class Filter (line 25) | class Filter < Fluent::Plugin::Filter method initialize (line 30) | def initialize method configure (line 37) | def configure(conf) method start (line 46) | def start method before_shutdown (line 59) | def before_shutdown method shutdown (line 63) | def shutdown FILE: lib/fluent/compat/formatter.rb type Fluent (line 31) | module Fluent type Compat (line 32) | module Compat class Formatter (line 33) | class Formatter < Fluent::Plugin::Formatter type TextFormatter (line 37) | module TextFormatter function register_template (line 38) | def self.register_template(type, template) function lookup (line 51) | def self.lookup(type) function create (line 57) | def self.create(conf) class ProcWrappedFormatter (line 74) | class ProcWrappedFormatter < Fluent::Plugin::ProcWrappedFormatter class OutFileFormatter (line 78) | class OutFileFormatter < Fluent::Plugin::OutFileFormatter class StdoutFormatter (line 82) | class StdoutFormatter < Fluent::Plugin::StdoutFormatter class JSONFormatter (line 86) | class JSONFormatter < Fluent::Plugin::JSONFormatter class HashFormatter (line 90) | class HashFormatter < Fluent::Plugin::HashFormatter class MessagePackFormatter (line 94) | class MessagePackFormatter < Fluent::Plugin::MessagePackFormatter class LabeledTSVFormatter (line 98) | class LabeledTSVFormatter < Fluent::Plugin::LabeledTSVFormatter class CsvFormatter (line 102) | class CsvFormatter < Fluent::Plugin::CsvFormatter method csv_cacheable? (line 107) | def csv_cacheable? class SingleValueFormatter (line 112) | class SingleValueFormatter < Fluent::Plugin::SingleValueFormatter FILE: lib/fluent/compat/formatter_utils.rb type Fluent (line 19) | module Fluent type Compat (line 20) | module Compat type FormatterUtils (line 21) | module FormatterUtils type InjectMixin (line 25) | module InjectMixin function format (line 26) | def format(tag, time, record) function convert_formatter_conf (line 32) | def self.convert_formatter_conf(conf) FILE: lib/fluent/compat/handle_tag_and_time_mixin.rb type Fluent (line 19) | module Fluent type Compat (line 20) | module Compat type HandleTagAndTimeMixin (line 21) | module HandleTagAndTimeMixin function included (line 22) | def self.included(klass) function configure (line 35) | def configure(conf) function filter_record (line 47) | def filter_record(tag, time, record) FILE: lib/fluent/compat/handle_tag_name_mixin.rb type Fluent (line 19) | module Fluent type Compat (line 20) | module Compat type HandleTagNameMixin (line 21) | module HandleTagNameMixin function configure (line 25) | def configure(conf) function filter_record (line 44) | def filter_record(tag, time, record) FILE: lib/fluent/compat/input.rb type Fluent (line 22) | module Fluent type Compat (line 23) | module Compat class Input (line 24) | class Input < Fluent::Plugin::Input method initialize (line 27) | def initialize method start (line 36) | def start method before_shutdown (line 40) | def before_shutdown method shutdown (line 44) | def shutdown FILE: lib/fluent/compat/output.rb type Fluent (line 37) | module Fluent type Compat (line 38) | module Compat type CompatOutputUtils (line 42) | module CompatOutputUtils function buffer_section (line 43) | def self.buffer_section(conf) function secondary_section (line 47) | def self.secondary_section(conf) type BufferedEventStreamMixin (line 52) | module BufferedEventStreamMixin function repeatable? (line 55) | def repeatable? function each (line 59) | def each(&block) function to_msgpack_stream (line 63) | def to_msgpack_stream function key (line 67) | def key type AddTimeSliceKeyToChunkMixin (line 72) | module AddTimeSliceKeyToChunkMixin function time_slice_format= (line 73) | def time_slice_format=(format) function timekey= (line 77) | def timekey=(unit) function timezone= (line 81) | def timezone=(tz) function assume_timekey! (line 85) | def assume_timekey! function key (line 104) | def key type AddKeyToChunkMixin (line 109) | module AddKeyToChunkMixin function key (line 110) | def key type ChunkSizeCompatMixin (line 115) | module ChunkSizeCompatMixin function size (line 116) | def size function size_of_events (line 120) | def size_of_events type BufferedChunkMixin (line 125) | module BufferedChunkMixin function write (line 127) | def write(chunk) type TimeSliceChunkMixin (line 135) | module TimeSliceChunkMixin function write (line 137) | def write(chunk) class Output (line 149) | class Output < Fluent::Plugin::Output method support_in_v12_style? (line 154) | def support_in_v12_style?(feature) method process (line 163) | def process(tag, es) method initialize (line 167) | def initialize method configure (line 174) | def configure(conf) method start (line 181) | def start class MultiOutput (line 195) | class MultiOutput < Fluent::Plugin::BareOutput method process (line 200) | def process(tag, es) class BufferedOutput (line 205) | class BufferedOutput < Fluent::Plugin::Output method support_in_v12_style? (line 210) | def support_in_v12_style?(feature) method propagate_default_params (line 248) | def self.propagate_default_params method configure (line 253) | def configure(conf) method emit (line 311) | def emit(tag, es, chain, key="") method submit_flush (line 320) | def submit_flush method format_stream (line 324) | def format_stream(tag, es) method handle_stream_simple (line 338) | def handle_stream_simple(tag, es, enqueue: false) method extract_placeholders (line 383) | def extract_placeholders(str, metadata) method initialize (line 387) | def initialize method start (line 394) | def start method detach_process (line 407) | def detach_process(&block) method detach_multi_process (line 412) | def detach_multi_process(&block) class ObjectBufferedOutput (line 418) | class ObjectBufferedOutput < Fluent::Plugin::Output method support_in_v12_style? (line 427) | def support_in_v12_style?(feature) method propagate_default_params (line 467) | def self.propagate_default_params method configure (line 472) | def configure(conf) method format_stream (line 508) | def format_stream(tag, es) # for BufferedOutputTestDriver method write (line 516) | def write(chunk) method extract_placeholders (line 520) | def extract_placeholders(str, metadata) method initialize (line 524) | def initialize method start (line 531) | def start method detach_process (line 544) | def detach_process(&block) method detach_multi_process (line 549) | def detach_multi_process(&block) class TimeSlicedOutput (line 555) | class TimeSlicedOutput < Fluent::Plugin::Output method support_in_v12_style? (line 560) | def support_in_v12_style?(feature) method initialize (line 611) | def initialize method propagate_default_params (line 620) | def self.propagate_default_params method configure (line 625) | def configure(conf) method start (line 688) | def start method detach_process (line 701) | def detach_process(&block) method detach_multi_process (line 706) | def detach_multi_process(&block) method extract_placeholders (line 716) | def extract_placeholders(str, metadata) FILE: lib/fluent/compat/output_chain.rb type Fluent (line 19) | module Fluent type Compat (line 20) | module Compat class NullOutputChain (line 22) | class NullOutputChain method next (line 25) | def next class OutputChain (line 29) | class OutputChain method initialize (line 30) | def initialize(array, tag, es, chain=NullOutputChain.instance) method next (line 38) | def next class CopyOutputChain (line 48) | class CopyOutputChain < OutputChain method next (line 49) | def next FILE: lib/fluent/compat/parser.rb type Fluent (line 34) | module Fluent type Compat (line 35) | module Compat class Parser (line 36) | class Parser < Fluent::Plugin::Parser class TextParser (line 40) | class TextParser method initialize (line 46) | def initialize method configure (line 58) | def configure(conf, required=true) method parse (line 74) | def parse(text, &block) method register_template (line 84) | def self.register_template(type, template, time_format=nil) method lookup (line 95) | def self.lookup(format) type TypeConverterCompatParameters (line 123) | module TypeConverterCompatParameters function convert_type_converter_parameters! (line 124) | def convert_type_converter_parameters!(conf) class TimeParser (line 143) | class TimeParser < Fluent::TimeParser class RegexpParser (line 147) | class RegexpParser < Fluent::Plugin::RegexpParser method initialize (line 151) | def initialize(regexp, conf = {}) method configure (line 167) | def configure(conf) method patterns (line 178) | def patterns class ValuesParser (line 183) | class ValuesParser < Parser method configure (line 191) | def configure(conf) method values_map (line 211) | def values_map(values) method convert_field_type! (line 238) | def convert_field_type!(record) method convert_value_to_nil (line 246) | def convert_value_to_nil(value) class JSONParser (line 257) | class JSONParser < Fluent::Plugin::JSONParser method configure (line 260) | def configure(conf) class TSVParser (line 266) | class TSVParser < Fluent::Plugin::TSVParser method configure (line 269) | def configure(conf) class LabeledTSVParser (line 275) | class LabeledTSVParser < Fluent::Plugin::LabeledTSVParser method configure (line 278) | def configure(conf) class CSVParser (line 284) | class CSVParser < Fluent::Plugin::CSVParser method configure (line 287) | def configure(conf) class NoneParser (line 293) | class NoneParser < Fluent::Plugin::NoneParser class ApacheParser (line 297) | class ApacheParser < Fluent::Plugin::Apache2Parser class SyslogParser (line 301) | class SyslogParser < Fluent::Plugin::SyslogParser class MultilineParser (line 305) | class MultilineParser < Fluent::Plugin::MultilineParser FILE: lib/fluent/compat/parser_utils.rb type Fluent (line 19) | module Fluent type Compat (line 20) | module Compat type ParserUtils (line 21) | module ParserUtils function convert_parser_conf (line 24) | def self.convert_parser_conf(conf) FILE: lib/fluent/compat/propagate_default.rb type Fluent (line 19) | module Fluent type Compat (line 20) | module Compat type PropagateDefault (line 21) | module PropagateDefault function included (line 28) | def self.included(mod) type ClassMethods (line 32) | module ClassMethods function config_param (line 35) | def config_param(name, type = nil, **kwargs, &block) function config_set_default (line 48) | def config_set_default(name, defval) FILE: lib/fluent/compat/record_filter_mixin.rb type Fluent (line 17) | module Fluent type Compat (line 18) | module Compat type RecordFilterMixin (line 19) | module RecordFilterMixin function filter_record (line 20) | def filter_record(tag, time, record) function format_stream (line 23) | def format_stream(tag, es) FILE: lib/fluent/compat/set_tag_key_mixin.rb type Fluent (line 21) | module Fluent type Compat (line 22) | module Compat type SetTagKeyMixin (line 23) | module SetTagKeyMixin function configure (line 28) | def configure(conf) function filter_record (line 43) | def filter_record(tag, time, record) FILE: lib/fluent/compat/set_time_key_mixin.rb type Fluent (line 22) | module Fluent type Compat (line 23) | module Compat type SetTimeKeyMixin (line 24) | module SetTimeKeyMixin function configure (line 29) | def configure(conf) function filter_record (line 62) | def filter_record(tag, time, record) FILE: lib/fluent/compat/socket_util.rb type Fluent (line 24) | module Fluent type Compat (line 25) | module Compat type SocketUtil (line 26) | module SocketUtil function create_udp_socket (line 27) | def create_udp_socket(host) class UdpHandler (line 36) | class UdpHandler < Coolio::IO method initialize (line 37) | def initialize(io, log, body_size_limit, callback) method on_readable (line 45) | def on_readable class TcpHandler (line 54) | class TcpHandler < Coolio::Socket method initialize (line 57) | def initialize(io, log, delimiter, callback) method on_connect (line 73) | def on_connect method on_read (line 76) | def on_read(data) method on_close (line 91) | def on_close class BaseInput (line 96) | class BaseInput < Fluent::Input method initialize (line 97) | def initialize method configure (line 114) | def configure(conf) method start (line 121) | def start method shutdown (line 130) | def shutdown method run (line 139) | def run method on_message (line 148) | def on_message(msg, addr) FILE: lib/fluent/compat/string_util.rb type Fluent (line 17) | module Fluent type Compat (line 18) | module Compat type StringUtil (line 19) | module StringUtil function match_regexp (line 20) | def match_regexp(regexp, string) FILE: lib/fluent/compat/structured_format_mixin.rb type Fluent (line 17) | module Fluent type Compat (line 18) | module Compat type StructuredFormatMixin (line 19) | module StructuredFormatMixin function format (line 20) | def format(tag, time, record) FILE: lib/fluent/compat/type_converter.rb type Fluent (line 17) | module Fluent type Compat (line 18) | module Compat type TypeConverter (line 19) | module TypeConverter function included (line 40) | def self.included(klass) function configure (line 48) | def configure(conf) function convert_type (line 57) | def convert_type(name, value) function parse_types_parameter (line 62) | def parse_types_parameter FILE: lib/fluent/config.rb type Fluent (line 22) | module Fluent type Config (line 23) | module Config function build (line 29) | def self.build(config_path:, encoding: 'utf-8', additional_config: n... function parse (line 55) | def self.parse(str, fname, basepath = Dir.pwd, v1_config = nil, synt... function new (line 85) | def self.new(name = '') FILE: lib/fluent/config/basic_parser.rb type Fluent (line 20) | module Fluent type Config (line 21) | module Config class BasicParser (line 22) | class BasicParser method initialize (line 23) | def initialize(strscan) type ClassMethods (line 33) | module ClassMethods function symbol (line 34) | def symbol(string) function def_symbol (line 38) | def def_symbol(method_name, string) function def_literal (line 45) | def def_literal(method_name, string) method skip (line 55) | def skip(pattern) method scan (line 59) | def scan(pattern) method getch (line 63) | def getch method eof? (line 67) | def eof? method prev_match (line 71) | def prev_match method check (line 75) | def check(pattern) method line_end (line 79) | def line_end method spacing (line 83) | def spacing method spacing_without_comment (line 87) | def spacing_without_comment method parse_error! (line 91) | def parse_error!(message) method error_sample (line 95) | def error_sample FILE: lib/fluent/config/configure_proxy.rb type Fluent (line 17) | module Fluent type Config (line 18) | module Config class ConfigureProxy (line 19) | class ConfigureProxy method initialize (line 40) | def initialize(name, root: false, param_name: nil, final: nil, ini... method variable_name (line 72) | def variable_name method root? (line 76) | def root? method init? (line 80) | def init? method required? (line 84) | def required? method multi? (line 88) | def multi? method final? (line 92) | def final? method merge (line 96) | def merge(other) # self is base class, other is subclass method merge_for_finalized (line 148) | def merge_for_finalized(other) method overwrite_defaults (line 202) | def overwrite_defaults(other) # other is owner plugin's correspond... method option_value_type! (line 211) | def option_value_type!(name, opts, key, klass=nil, type: nil) method config_parameter_option_validate! (line 229) | def config_parameter_option_validate!(name, type, **kwargs, &block) method parameter_configuration (line 249) | def parameter_configuration(name, type = nil, **kwargs, &block) method configured_in (line 300) | def configured_in(section_name) method config_argument (line 307) | def config_argument(name, type = nil, **kwargs, &block) method config_param (line 317) | def config_param(name, type = nil, **kwargs, &block) method config_set_default (line 330) | def config_set_default(name, defval) method config_set_desc (line 341) | def config_set_desc(name, description) method desc (line 352) | def desc(description) method config_section (line 356) | def config_section(name, **kwargs, &block) method dump_config_definition (line 371) | def dump_config_definition method overwrite? (line 417) | def overwrite?(other, attribute_name) FILE: lib/fluent/config/dsl.rb type Fluent (line 22) | module Fluent type Config (line 23) | module Config type DSL (line 24) | module DSL type Parser (line 27) | module Parser function read (line 28) | def self.read(path) function parse (line 34) | def self.parse(source, source_path="config.rb") class Proxy (line 39) | class Proxy method initialize (line 40) | def initialize(name, arg, include_basepath = Dir.pwd) method element (line 45) | def element method include_basepath (line 49) | def include_basepath method eval (line 53) | def eval(source, source_path) method to_config_element (line 58) | def to_config_element method add_element (line 64) | def add_element(name, arg, block) class Element (line 78) | class Element < BasicObject method initialize (line 79) | def initialize(name, arg, proxy) method to_int (line 87) | def to_int method method_missing (line 91) | def method_missing(name, *args, &block) method include (line 111) | def include(*args) method source (line 123) | def source(&block) method match (line 127) | def match(*args, &block) method const_missing (line 132) | def self.const_missing(name) method ruby (line 142) | def ruby(&block) FILE: lib/fluent/config/element.rb type Fluent (line 20) | module Fluent type Config (line 21) | module Config class Element (line 22) | class Element < Hash method initialize (line 23) | def initialize(name, arg, attrs, elements, unused = nil) method elements (line 54) | def elements(*names, name: nil, arg: nil) method add_element (line 67) | def add_element(name, arg = '') method inspect (line 74) | def inspect method pretty_print (line 80) | def pretty_print(q) method == (line 85) | def ==(o) method + (line 93) | def +(o) method each_element (line 100) | def each_element(*names, &block) method has_key? (line 112) | def has_key?(key) method [] (line 118) | def [](key) method check_not_fetched (line 130) | def check_not_fetched(&block) method to_s (line 141) | def to_s(nest = 0) method to_masked_element (line 160) | def to_masked_element method secret_param? (line 171) | def secret_param?(key) method param_type (line 185) | def param_type(key) method default_value (line 197) | def default_value(key) method dump_value (line 208) | def dump_value(k, v, nindent) method unescape_parameter (line 232) | def self.unescape_parameter(v) method set_target_worker_id (line 238) | def set_target_worker_id(worker_id) method set_target_worker_ids (line 245) | def set_target_worker_ids(worker_ids) method for_every_workers? (line 252) | def for_every_workers? method for_this_worker? (line 256) | def for_this_worker? method for_another_worker? (line 260) | def for_another_worker? FILE: lib/fluent/config/error.rb type Fluent (line 17) | module Fluent class ConfigError (line 18) | class ConfigError < StandardError class ConfigParseError (line 21) | class ConfigParseError < ConfigError class ObsoletedParameterError (line 24) | class ObsoletedParameterError < ConfigError class SetNil (line 27) | class SetNil < Exception class SetDefault (line 30) | class SetDefault < Exception class NotFoundPluginError (line 33) | class NotFoundPluginError < ConfigError method initialize (line 36) | def initialize(msg, type: nil, kind: nil) FILE: lib/fluent/config/literal_parser.rb type Fluent (line 26) | module Fluent type Config (line 27) | module Config class LiteralParser (line 28) | class LiteralParser < BasicParser method unescape_char (line 29) | def self.unescape_char(c) method initialize (line 52) | def initialize(strscan, eval_context) method parse_literal (line 67) | def parse_literal(string_boundary_charset = LINE_END) method scan_string (line 80) | def scan_string(string_boundary_charset = LINE_END) method scan_double_quoted_string (line 90) | def scan_double_quoted_string method scan_single_quoted_string (line 119) | def scan_single_quoted_string method scan_nonquoted_string (line 136) | def scan_nonquoted_string(boundary_charset = LINE_END) method scan_embedded_code (line 157) | def scan_embedded_code method eval_embedded_code (line 183) | def eval_embedded_code(code) method eval_escape_char (line 201) | def eval_escape_char(c) method scan_json (line 226) | def scan_json(is_array) FILE: lib/fluent/config/parser.rb type Fluent (line 22) | module Fluent type Config (line 23) | module Config class Parser (line 24) | class Parser method parse (line 25) | def self.parse(io, fname, basepath = Dir.pwd) method initialize (line 30) | def initialize(basepath, iterator, fname, i = 0) method parse! (line 37) | def parse!(allow_include, elem_name = nil, attrs = {}, elems = []) method process_include (line 74) | def process_include(attrs, elems, uri, allow_include = true) FILE: lib/fluent/config/section.rb type Fluent (line 22) | module Fluent type Config (line 23) | module Config class Section (line 24) | class Section < BasicObject method name (line 25) | def self.name method initialize (line 29) | def initialize(params = {}, config_element = nil) method corresponding_config_element (line 37) | def corresponding_config_element method class (line 41) | def class method to_s (line 45) | def to_s method inspect (line 49) | def inspect method pretty_print (line 54) | def pretty_print(q) method nil? (line 58) | def nil? method to_h (line 62) | def to_h method dup (line 66) | def dup method + (line 70) | def +(other) method instance_of? (line 74) | def instance_of?(mod) method kind_of? (line 78) | def kind_of?(mod) method [] (line 83) | def [](key) method []= (line 87) | def []=(key, value) method respond_to? (line 91) | def respond_to?(symbol, include_all=false) method respond_to_missing? (line 104) | def respond_to_missing?(symbol, include_private) method method_missing (line 108) | def method_missing(name, *args) type SectionGenerator (line 117) | module SectionGenerator function generate (line 118) | def self.generate(proxy, conf, logger, plugin_class, stack = [], s... function check_unused_section (line 252) | def self.check_unused_section(proxy, conf, plugin_class) FILE: lib/fluent/config/types.rb type Fluent (line 21) | module Fluent type Config (line 22) | module Config function reformatted_value (line 23) | def self.reformatted_value(type, val, opts = {}, name = nil) function size_value (line 27) | def self.size_value(str, opts = {}, name = nil) function time_value (line 44) | def self.time_value(str, opts = {}, name = nil) function bool_value (line 61) | def self.bool_value(str, opts = {}, name = nil) function regexp_value (line 84) | def self.regexp_value(str, opts = {}, name = nil) function string_value (line 99) | def self.string_value(val, opts = {}, name = nil) function symbol_value (line 111) | def self.symbol_value(val, opts = {}, name = nil) function enum_value (line 121) | def self.enum_value(val, opts = {}, name = nil) function hash_value (line 200) | def self.hash_value(val, opts = {}, name = nil) function array_value (line 227) | def self.array_value(val, opts = {}, name = nil) FILE: lib/fluent/config/v1_parser.rb type Fluent (line 25) | module Fluent type Config (line 26) | module Config class V1Parser (line 27) | class V1Parser < LiteralParser method parse (line 30) | def self.parse(data, fname, basepath = Dir.pwd, eval_context = nil... method initialize (line 36) | def initialize(strscan, include_basepath, fname, eval_context, on_... method parse! (line 44) | def parse! method parse_element (line 60) | def parse_element(root_element, elem_name, attrs = {}, elems = []) method parse_include (line 147) | def parse_include(attrs, elems) method eval_include (line 153) | def eval_include(attrs, elems, uri) method error_sample (line 195) | def error_sample FILE: lib/fluent/config/yaml_parser.rb type Fluent (line 21) | module Fluent type Config (line 22) | module Config type YamlParser (line 23) | module YamlParser function parse (line 24) | def self.parse(path, on_file_parsed: nil) FILE: lib/fluent/config/yaml_parser/fluent_value.rb type Fluent (line 17) | module Fluent type Config (line 18) | module Config type YamlParser (line 19) | module YamlParser type FluentValue (line 20) | module FluentValue function to_s (line 22) | def to_s function to_element (line 26) | def to_element function to_s (line 32) | def to_s function to_element (line 40) | def to_element FILE: lib/fluent/config/yaml_parser/loader.rb type Fluent (line 24) | module Fluent type Config (line 25) | module Config type YamlParser (line 26) | module YamlParser class Loader (line 27) | class Loader method initialize (line 33) | def initialize(context = Kernel.binding, on_file_parsed: nil) method load (line 41) | def load(path) method eval_include (line 68) | def eval_include(path, parent) class Visitor (line 85) | class Visitor < Psych::Visitors::ToRuby method initialize (line 86) | def initialize(scanner, class_loader) method _register_domain (line 90) | def _register_domain(name, &block) method revive_hash (line 94) | def revive_hash(hash, o) FILE: lib/fluent/config/yaml_parser/parser.rb type Fluent (line 19) | module Fluent type Config (line 20) | module Config type YamlParser (line 21) | module YamlParser class Parser (line 22) | class Parser method initialize (line 23) | def initialize(config, indent: 2) method build (line 28) | def build method system_config_build (line 36) | def system_config_build(config) method config_build (line 40) | def config_build(config, indent: 0, root: false) method label_build (line 69) | def label_build(config, indent: 0) method worker_build (line 76) | def worker_build(config, indent: 0) method source_build (line 83) | def source_build(config, indent: 0) method filter_build (line 87) | def filter_build(config, indent: 0) method match_build (line 97) | def match_build(config, indent: 0) method included_sections_build (line 107) | def included_sections_build(config, section_builder, indent: 0) method section_build (line 126) | def section_build(name, config, indent: 0, arg: nil) method section? (line 172) | def section?(value) FILE: lib/fluent/config/yaml_parser/section_builder.rb type Fluent (line 17) | module Fluent type Config (line 18) | module Config type YamlParser (line 19) | module YamlParser function to_s (line 21) | def to_s function to_element (line 31) | def to_element class RootBuilder (line 40) | class RootBuilder method initialize (line 41) | def initialize(system, conf) method to_element (line 48) | def to_element method to_s (line 52) | def to_s class SectionBodyBuilder (line 61) | class SectionBodyBuilder method to_s (line 63) | def to_s method initialize (line 68) | def initialize(indent, root: false) method add_line (line 74) | def add_line(k, v) method add_section (line 78) | def add_section(section) method to_element (line 82) | def to_element method to_s (line 101) | def to_s FILE: lib/fluent/configurable.rb type Fluent (line 24) | module Fluent type Configurable (line 25) | module Configurable function included (line 26) | def self.included(mod) function initialize (line 30) | def initialize function configure_proxy_generate (line 51) | def configure_proxy_generate function configured_section_create (line 65) | def configured_section_create(name, conf = nil) function configure (line 77) | def configure(conf, strict_config_value=false) function config (line 106) | def config function register_type (line 112) | def self.register_type(type, callable = nil, &block) function lookup_type (line 117) | def self.lookup_type(type) type ClassMethods (line 136) | module ClassMethods function configure_proxy_map (line 137) | def configure_proxy_map function configure_proxy (line 143) | def configure_proxy(mod_name) function configured_in (line 153) | def configured_in(section_name) function config_param (line 157) | def config_param(name, type = nil, **kwargs, &block) function config_set_default (line 163) | def config_set_default(name, defval) function config_set_desc (line 167) | def config_set_desc(name, desc) function config_section (line 171) | def config_section(name, **kwargs, &block) function desc (line 180) | def desc(description) function merged_configure_proxy (line 184) | def merged_configure_proxy function dump_config_definition (line 196) | def dump_config_definition FILE: lib/fluent/counter.rb type Fluent (line 20) | module Fluent type Counter (line 21) | module Counter FILE: lib/fluent/counter/base_socket.rb type Fluent (line 20) | module Fluent type Counter (line 21) | module Counter class BaseSocket (line 22) | class BaseSocket < Coolio::TCPSocket method packed_write (line 23) | def packed_write(data) method on_read (line 27) | def on_read(data) method on_message (line 33) | def on_message(data) method pack (line 39) | def pack(data) FILE: lib/fluent/counter/client.rb type Fluent (line 22) | module Fluent type Counter (line 23) | module Counter class Client (line 24) | class Client method initialize (line 30) | def initialize(loop = nil, opt = {}) method start (line 43) | def start method stop (line 55) | def stop method establish (line 60) | def establish(scope) method init (line 80) | def init(params, options: {}) method delete (line 95) | def delete(*params, options: {}) method inc (line 115) | def inc(params, options: {}) method get (line 129) | def get(*params, options: {}) method reset (line 142) | def reset(*params, options: {}) method exist_scope! (line 157) | def exist_scope! method on_message (line 161) | def on_message(data) method send_request (line 169) | def send_request(method, scope, params, opt = {}) method build_request (line 179) | def build_request(method, id, scope = nil, params = nil, options =... method generate_id (line 187) | def generate_id class Connection (line 198) | class Connection < Fluent::Counter::BaseSocket method initialize (line 199) | def initialize(io, on_message) method send_data (line 206) | def send_data(data) method on_connect (line 214) | def on_connect method on_close (line 220) | def on_close method on_message (line 224) | def on_message(data) class Future (line 229) | class Future class Result (line 230) | class Result method initialize (line 233) | def initialize(result) method success? (line 238) | def success? method error? (line 242) | def error? method initialize (line 247) | def initialize(loop, mutex) method set (line 254) | def set(v) method errors (line 259) | def errors method errors? (line 263) | def errors? method data (line 268) | def data method get (line 272) | def get method wait (line 278) | def wait method join (line 288) | def join FILE: lib/fluent/counter/error.rb type Fluent (line 17) | module Fluent type Counter (line 18) | module Counter class BaseError (line 19) | class BaseError < StandardError method to_hash (line 20) | def to_hash method code (line 24) | def code class InvalidParams (line 29) | class InvalidParams < BaseError method code (line 30) | def code class UnknownKey (line 35) | class UnknownKey < BaseError method code (line 36) | def code class ParseError (line 41) | class ParseError < BaseError method code (line 42) | def code class InvalidRequest (line 47) | class InvalidRequest < BaseError method code (line 48) | def code class MethodNotFound (line 53) | class MethodNotFound < BaseError method code (line 54) | def code class InternalServerError (line 59) | class InternalServerError < BaseError method code (line 60) | def code function raise_error (line 65) | def raise_error(response) FILE: lib/fluent/counter/mutex_hash.rb type Fluent (line 19) | module Fluent type Counter (line 20) | module Counter class MutexHash (line 21) | class MutexHash method initialize (line 22) | def initialize(data_store) method start (line 30) | def start method stop (line 35) | def stop method synchronize (line 40) | def synchronize(*keys) method synchronize_keys (line 74) | def synchronize_keys(*keys) class CleanupThread (line 101) | class CleanupThread method initialize (line 104) | def initialize(store, mutex_hash, mutex) method start (line 112) | def start method stop (line 122) | def stop method run_once (line 137) | def run_once FILE: lib/fluent/counter/server.rb type Fluent (line 23) | module Fluent type Counter (line 24) | module Counter class Server (line 25) | class Server method initialize (line 29) | def initialize(name, opt = {}) method start (line 46) | def start method stop (line 58) | def stop method on_message (line 68) | def on_message(data) method establish (line 84) | def establish(params, _scope, _options) method init (line 98) | def init(params, scope, options) method delete (line 126) | def delete(params, scope, options) method inc (line 151) | def inc(params, scope, options) method reset (line 181) | def reset(params, scope, options) method get (line 206) | def get(params, scope, _options) method safe_run (line 224) | def safe_run class Response (line 233) | class Response method initialize (line 234) | def initialize(errors = [], data = []) method push_error (line 239) | def push_error(error) method push_data (line 243) | def push_data(data) method to_hash (line 247) | def to_hash class Handler (line 261) | class Handler < Fluent::Counter::BaseSocket method initialize (line 262) | def initialize(io, on_message) method on_message (line 267) | def on_message(data) FILE: lib/fluent/counter/store.rb type Fluent (line 22) | module Fluent type Counter (line 23) | module Counter class Store (line 24) | class Store method gen_key (line 25) | def self.gen_key(scope, key) method initialize (line 29) | def initialize(opt = {}) class DummyParent (line 43) | class DummyParent method initialize (line 48) | def initialize(log) method plugin_id (line 52) | def plugin_id method plugin_id_configured? (line 56) | def plugin_id_configured? method plugin_root_dir (line 61) | def plugin_root_dir method start (line 66) | def start method stop (line 70) | def stop method init (line 74) | def init(key, data, ignore: false) method get (line 85) | def get(key, raise_error: false, raw: false) method key? (line 98) | def key?(key) method delete (line 102) | def delete(key) method inc (line 107) | def inc(key, data, force: false) method reset (line 122) | def reset(key) method build_response (line 148) | def build_response(d) method build_value (line 161) | def build_value(data) method initial_value (line 177) | def initial_value(type) method valid_type! (line 185) | def valid_type!(v, value) method type_str (line 191) | def type_str(v) FILE: lib/fluent/counter/validator.rb type Fluent (line 19) | module Fluent type Counter (line 20) | module Counter class Validator (line 21) | class Validator method request (line 26) | def self.request(data) method initialize (line 45) | def initialize(*types) method call (line 50) | def call(data) method dispatch (line 72) | def dispatch(type, data) class ArrayValidator (line 79) | class ArrayValidator < Validator method validate_key! (line 80) | def validate_key!(name) method validate_scope! (line 90) | def validate_scope!(name) class HashValidator (line 101) | class HashValidator < Validator method validate_name! (line 102) | def validate_name!(hash) method validate_value! (line 117) | def validate_value!(hash) method validate_reset_interval! (line 128) | def validate_reset_interval!(hash) FILE: lib/fluent/daemonizer.rb type Fluent (line 19) | module Fluent class Daemonizer (line 20) | class Daemonizer method daemonize (line 21) | def self.daemonize(pid_path, args = [], &block) method daemonize (line 25) | def daemonize(pid_path, args = []) method daemonize_with_spawn (line 45) | def daemonize_with_spawn(pid_fullpath, args) method check_pidfile (line 53) | def check_pidfile(pid_path) method install_at_exit_handlers (line 80) | def install_at_exit_handlers(pidfile) FILE: lib/fluent/engine.rb type Fluent (line 28) | module Fluent class EngineClass (line 29) | class EngineClass method initialize (line 33) | def initialize method init (line 54) | def init(system_config, supervisor_mode: false, start_in_parallel: f... method log (line 68) | def log method parse_config (line 72) | def parse_config(io, fname, basepath = Dir.pwd, v1_config = false) method run_configure (line 81) | def run_configure(conf, dry_run: false) method configure (line 106) | def configure(conf) method add_plugin_dir (line 120) | def add_plugin_dir(dir) method emit (line 125) | def emit(tag, time, record) method emit_array (line 129) | def emit_array(tag, array) method emit_stream (line 133) | def emit_stream(tag, es) method flush! (line 137) | def flush! method cancel_source_only! (line 143) | def cancel_source_only! method now (line 149) | def now method run (line 154) | def run method reload_config (line 181) | def reload_config(conf, supervisor: false) method stop (line 220) | def stop method push_log_event (line 225) | def push_log_event(tag, time, record) method worker_id (line 229) | def worker_id method stop_phase (line 243) | def stop_phase(root_agent) method start_phase (line 254) | def start_phase(root_agent) method start (line 263) | def start FILE: lib/fluent/env.rb type Fluent (line 22) | module Fluent function windows? (line 33) | def self.windows? function linux? (line 37) | def self.linux? function macos? (line 41) | def self.macos? FILE: lib/fluent/error.rb type Fluent (line 17) | module Fluent class UnrecoverableError (line 18) | class UnrecoverableError < StandardError method initialize (line 19) | def initialize(error_message = nil) method to_s (line 23) | def to_s class InvalidRootDirectory (line 28) | class InvalidRootDirectory < UnrecoverableError class InvalidLockDirectory (line 31) | class InvalidLockDirectory < UnrecoverableError class UncatchableError (line 35) | class UncatchableError < Exception FILE: lib/fluent/event.rb type Fluent (line 20) | module Fluent class EventStream (line 21) | class EventStream method dup (line 26) | def dup method size (line 30) | def size method empty? (line 35) | def empty? method == (line 40) | def ==(other) method repeatable? (line 44) | def repeatable? method slice (line 48) | def slice(index, num) method each (line 52) | def each(unpacker: nil, &block) method to_msgpack_stream (line 56) | def to_msgpack_stream(time_int: false, packer: nil) method to_compressed_msgpack_stream (line 65) | def to_compressed_msgpack_stream(time_int: false, packer: nil, type:... method to_msgpack_stream_forced_integer (line 70) | def to_msgpack_stream_forced_integer(packer: nil) class OneEventStream (line 79) | class OneEventStream < EventStream method initialize (line 80) | def initialize(time, record) method dup (line 85) | def dup method empty? (line 89) | def empty? method size (line 93) | def size method repeatable? (line 97) | def repeatable? method slice (line 101) | def slice(index, num) method each (line 109) | def each(unpacker: nil, &block) class ArrayEventStream (line 119) | class ArrayEventStream < EventStream method initialize (line 120) | def initialize(entries) method dup (line 124) | def dup method size (line 129) | def size method repeatable? (line 133) | def repeatable? method empty? (line 137) | def empty? method slice (line 141) | def slice(index, num) method each (line 145) | def each(unpacker: nil, &block) class MultiEventStream (line 161) | class MultiEventStream < EventStream method initialize (line 162) | def initialize(time_array = [], record_array = []) method dup (line 167) | def dup method size (line 171) | def size method add (line 175) | def add(time, record) method repeatable? (line 180) | def repeatable? method empty? (line 184) | def empty? method slice (line 188) | def slice(index, num) method each (line 192) | def each(unpacker: nil, &block) class MessagePackEventStream (line 202) | class MessagePackEventStream < EventStream method initialize (line 206) | def initialize(data, cached_unpacker = nil, size = 0, unpacked_times... method empty? (line 213) | def empty? method dup (line 217) | def dup method size (line 225) | def size method repeatable? (line 232) | def repeatable? method ensure_unpacked! (line 236) | def ensure_unpacked!(unpacker: nil) method slice (line 251) | def slice(index, num) method each (line 256) | def each(unpacker: nil, &block) method to_msgpack_stream (line 264) | def to_msgpack_stream(time_int: false, packer: nil) class CompressedMessagePackEventStream (line 270) | class CompressedMessagePackEventStream < MessagePackEventStream method initialize (line 271) | def initialize(data, cached_unpacker = nil, size = 0, unpacked_times... method empty? (line 278) | def empty? method ensure_unpacked! (line 283) | def ensure_unpacked!(unpacker: nil) method each (line 288) | def each(unpacker: nil, &block) method to_msgpack_stream (line 293) | def to_msgpack_stream(time_int: false, packer: nil) method to_compressed_msgpack_stream (line 298) | def to_compressed_msgpack_stream(time_int: false, packer: nil) method ensure_decompressed! (line 305) | def ensure_decompressed! type ChunkMessagePackEventStreamer (line 311) | module ChunkMessagePackEventStreamer function each (line 314) | def each(unpacker: nil, &block) function to_msgpack_stream (line 326) | def to_msgpack_stream(time_int: false, packer: nil) FILE: lib/fluent/event_router.rb type Fluent (line 22) | module Fluent class EventRouter (line 44) | class EventRouter method initialize (line 45) | def initialize(default_collector, emit_error_handler) class Rule (line 57) | class Rule method initialize (line 58) | def initialize(pattern, collector) method match? (line 69) | def match?(tag) method suppress_missing_match! (line 77) | def suppress_missing_match! method add_rule (line 84) | def add_rule(pattern, collector) method add_metric_callbacks (line 88) | def add_metric_callbacks(caller_plugin_id, callback) method caller_plugin_id= (line 92) | def caller_plugin_id=(caller_plugin_id) method find_callback (line 96) | def find_callback method emit (line 104) | def emit(tag, time, record) method emit_array (line 110) | def emit_array(tag, array) method emit_stream (line 114) | def emit_stream(tag, es) method emit_error_event (line 125) | def emit_error_event(tag, time, record, error) method match? (line 129) | def match?(tag) method match (line 133) | def match(tag) class MatchCache (line 140) | class MatchCache method initialize (line 143) | def initialize method get (line 149) | def get(key) class Pipeline (line 165) | class Pipeline class OutputError (line 167) | class OutputError < StandardError method initialize (line 171) | def initialize(internal_error, processed_es) method initialize (line 177) | def initialize method add_filter (line 183) | def add_filter(filter) method set_output (line 188) | def set_output(output) method emit_events (line 192) | def emit_events(tag, es) class FilterOptimizer (line 202) | class FilterOptimizer method initialize (line 203) | def initialize(filters = []) method filters= (line 208) | def filters=(filters) method filter_stream (line 213) | def filter_stream(tag, es) method optimized_filter_stream (line 227) | def optimized_filter_stream(tag, es) method optimizable? (line 260) | def optimizable? method filters_having_filter_stream (line 274) | def filters_having_filter_stream method reset_optimization (line 280) | def reset_optimization method find (line 287) | def find(tag) FILE: lib/fluent/file_wrapper.rb type Fluent (line 22) | module Fluent type FileWrapper (line 23) | module FileWrapper function open (line 24) | def self.open(path, mode='r') function stat (line 35) | def self.stat(path) class WindowsFile (line 43) | class WindowsFile method initialize (line 50) | def initialize(path, mode_enc='r') method close (line 62) | def close method ino (line 72) | def ino method stat (line 82) | def stat method mode2flags (line 92) | def mode2flags(mode) method delete_pending (line 124) | def delete_pending FILE: lib/fluent/filter.rb type Fluent (line 19) | module Fluent FILE: lib/fluent/fluent_log_event_router.rb type Fluent (line 19) | module Fluent class NullFluentLogEventRouter (line 21) | class NullFluentLogEventRouter method start (line 22) | def start; end method stop (line 24) | def stop; end method graceful_stop (line 26) | def graceful_stop; end method emit_event (line 28) | def emit_event(_event); end method emittable? (line 30) | def emittable? class FluentLogEventRouter (line 37) | class FluentLogEventRouter < NullFluentLogEventRouter method build (line 39) | def self.build(root_agent) method initialize (line 85) | def initialize(event_router) method start (line 92) | def start method stop (line 123) | def stop method graceful_stop (line 129) | def graceful_stop method emit_event (line 135) | def emit_event(event) FILE: lib/fluent/formatter.rb type Fluent (line 19) | module Fluent FILE: lib/fluent/input.rb type Fluent (line 19) | module Fluent FILE: lib/fluent/label.rb type Fluent (line 19) | module Fluent class Label (line 20) | class Label < Agent method initialize (line 21) | def initialize(name, log:) method configure (line 30) | def configure(conf) method emit_error_event (line 38) | def emit_error_event(tag, time, record, e) method handle_emits_error (line 42) | def handle_emits_error(tag, es, e) FILE: lib/fluent/log.rb type Fluent (line 20) | module Fluent class Log (line 21) | class Log type TTYColor (line 22) | module TTYColor method str_to_level (line 56) | def self.str_to_level(log_level_str) method event_tags (line 68) | def self.event_tags method per_process_path (line 78) | def self.per_process_path(path, process_type, worker_id) method initialize (line 90) | def initialize(logger, opts={}) method dup (line 167) | def dup method logdev= (line 193) | def logdev=(logdev) method format= (line 199) | def format=(fmt) method time_format= (line 231) | def time_format=(time_fmt) method stdout? (line 236) | def stdout? method reopen! (line 240) | def reopen! method force_stacktrace_level? (line 245) | def force_stacktrace_level? method force_stacktrace_level (line 249) | def force_stacktrace_level(level) method enable_debug (line 253) | def enable_debug(b=true) method enable_event (line 258) | def enable_event(b=true) method disable_events (line 265) | def disable_events(thread) method enable_color? (line 270) | def enable_color? method enable_color (line 274) | def enable_color(b=true) method log_type (line 295) | def log_type(args) method skipped_type? (line 304) | def skipped_type?(type) method on_trace (line 317) | def on_trace method trace (line 322) | def trace(*args, &block) method trace_backtrace (line 335) | def trace_backtrace(backtrace=$!.backtrace, type: :default) method on_debug (line 339) | def on_debug method debug (line 344) | def debug(*args, &block) method debug_backtrace (line 356) | def debug_backtrace(backtrace=$!.backtrace, type: :default) method on_info (line 360) | def on_info method info (line 365) | def info(*args, &block) method info_backtrace (line 377) | def info_backtrace(backtrace=$!.backtrace, type: :default) method on_warn (line 381) | def on_warn method warn (line 386) | def warn(*args, &block) method warn_backtrace (line 398) | def warn_backtrace(backtrace=$!.backtrace, type: :default) method on_error (line 402) | def on_error method error (line 407) | def error(*args, &block) method error_backtrace (line 419) | def error_backtrace(backtrace=$!.backtrace, type: :default) method on_fatal (line 423) | def on_fatal method fatal (line 428) | def fatal(*args, &block) method fatal_backtrace (line 440) | def fatal_backtrace(backtrace=$!.backtrace, type: :default) method puts (line 444) | def puts(msg) method write (line 453) | def write(data) method flush (line 460) | def flush method reset (line 464) | def reset method ignore_repeated_log? (line 470) | def ignore_repeated_log?(key, time, message) method ignore_same_log? (line 476) | def ignore_same_log?(time, message) method suppress_stacktrace? (line 504) | def suppress_stacktrace?(backtrace) method dump_stacktrace (line 510) | def dump_stacktrace(type, backtrace, level) method dump_stacktrace_internal (line 520) | def dump_stacktrace_internal(type, backtrace, level) method get_worker_id (line 563) | def get_worker_id(type) method event (line 571) | def event(level, args) method caller_line (line 617) | def caller_line(type, time, depth, level) method format_time (line 636) | def format_time(time) class PluginLogger (line 647) | class PluginLogger < Log method initialize (line 648) | def initialize(logger) method level= (line 671) | def level=(log_level_str) method format= (line 679) | def format=(fmt) method time_format= (line 684) | def time_format=(fmt) method enable_color (line 689) | def enable_color(b = true) type PluginLoggerMixin (line 702) | module PluginLoggerMixin function included (line 703) | def self.included(klass) function initialize (line 710) | def initialize function configure (line 718) | def configure(conf) function terminate (line 735) | def terminate class LogDeviceIO (line 743) | class LogDeviceIO < ::Logger::LogDevice method flush (line 744) | def flush method tty? (line 752) | def tty? method sync= (line 760) | def sync=(v) method reopen (line 768) | def reopen(path, mode) FILE: lib/fluent/log/console_adapter.rb type Fluent (line 19) | module Fluent class Log (line 20) | class Log class ConsoleAdapter (line 24) | class ConsoleAdapter < Console::Output::Terminal method wrap (line 25) | def self.wrap(logger) method initialize (line 36) | def initialize(logger) method call (line 51) | def call(subject = nil, *arguments, name: nil, severity: 'info', *... FILE: lib/fluent/match.rb type Fluent (line 17) | module Fluent class MatchPattern (line 18) | class MatchPattern method create (line 19) | def self.create(str) class AllMatchPattern (line 28) | class AllMatchPattern < MatchPattern method match (line 29) | def match(str) class GlobMatchPattern (line 34) | class GlobMatchPattern < MatchPattern method initialize (line 35) | def initialize(pat) method match (line 136) | def match(str) class OrMatchPattern (line 141) | class OrMatchPattern < MatchPattern method initialize (line 142) | def initialize(patterns) method match (line 146) | def match(str) class NoMatchMatch (line 151) | class NoMatchMatch method initialize (line 152) | def initialize(log) method suppress_missing_match! (line 158) | def suppress_missing_match! method emit_events (line 163) | def emit_events(tag, es) method start (line 181) | def start method shutdown (line 184) | def shutdown FILE: lib/fluent/mixin.rb type Fluent (line 25) | module Fluent FILE: lib/fluent/msgpack_factory.rb type Fluent (line 20) | module Fluent type MessagePackFactory (line 21) | module MessagePackFactory type Mixin (line 24) | module Mixin function msgpack_factory (line 25) | def msgpack_factory function msgpack_packer (line 32) | def msgpack_packer(*args) function msgpack_unpacker (line 39) | def msgpack_unpacker(*args) function deprecated_log (line 46) | def deprecated_log(str) function engine_factory (line 54) | def self.engine_factory(enable_time_support: false) function msgpack_packer (line 58) | def self.msgpack_packer(*args) function msgpack_unpacker (line 62) | def self.msgpack_unpacker(*args) function factory (line 66) | def self.factory(enable_time_support: false) function packer (line 78) | def self.packer(*args) function unpacker (line 82) | def self.unpacker(*args) function init (line 86) | def self.init(enable_time_support: false) function thread_local_msgpack_packer (line 98) | def self.thread_local_msgpack_packer function thread_local_msgpack_unpacker (line 102) | def self.thread_local_msgpack_unpacker FILE: lib/fluent/oj_options.rb type Fluent (line 3) | module Fluent class OjOptions (line 4) | class OjOptions method available? (line 24) | def self.available? method load_env (line 28) | def self.load_env method get_options (line 42) | def self.get_options FILE: lib/fluent/output.rb type Fluent (line 20) | module Fluent FILE: lib/fluent/output_chain.rb type Fluent (line 19) | module Fluent FILE: lib/fluent/parser.rb type Fluent (line 19) | module Fluent FILE: lib/fluent/plugin.rb type Fluent (line 20) | module Fluent type Plugin (line 21) | module Plugin function register_input (line 43) | def self.register_input(type, klass) function register_output (line 47) | def self.register_output(type, klass) function register_filter (line 51) | def self.register_filter(type, klass) function register_buffer (line 55) | def self.register_buffer(type, klass) function register_sd (line 59) | def self.register_sd(type, klass) function register_metrics (line 63) | def self.register_metrics(type, klass) function register_parser (line 67) | def self.register_parser(type, klass_or_proc) function register_formatter (line 77) | def self.register_formatter(type, klass_or_proc) function register_storage (line 87) | def self.register_storage(type, klass) function lookup_type_from_class (line 91) | def self.lookup_type_from_class(klass_or_its_name) function add_plugin_dir (line 102) | def self.add_plugin_dir(dir) function new_input (line 109) | def self.new_input(type) function new_output (line 113) | def self.new_output(type) function new_filter (line 117) | def self.new_filter(type) function new_buffer (line 121) | def self.new_buffer(type, parent: nil) function new_sd (line 125) | def self.new_sd(type, parent: nil) function new_metrics (line 129) | def self.new_metrics(type, parent: nil) function new_parser (line 138) | def self.new_parser(type, parent: nil) function new_formatter (line 150) | def self.new_formatter(type, parent: nil) function new_storage (line 154) | def self.new_storage(type, parent: nil) function register_impl (line 158) | def self.register_impl(kind, registry, type, value) function new_impl (line 167) | def self.new_impl(kind, registry, type, parent=nil) type FeatureAvailabilityChecker (line 185) | module FeatureAvailabilityChecker function configure (line 186) | def configure(conf) FILE: lib/fluent/plugin/bare_output.rb type Fluent (line 23) | module Fluent type Plugin (line 24) | module Plugin class BareOutput (line 25) | class BareOutput < Base method process (line 39) | def process(tag, es) method initialize (line 43) | def initialize method configure (line 53) | def configure(conf) method statistics (line 63) | def statistics method emit_sync (line 74) | def emit_sync(tag, es) FILE: lib/fluent/plugin/base.rb type Fluent (line 21) | module Fluent type Plugin (line 22) | module Plugin class Base (line 23) | class Base method initialize (line 31) | def initialize method has_router? (line 41) | def has_router? method plugin_root_dir (line 45) | def plugin_root_dir method fluentd_worker_id (line 49) | def fluentd_worker_id method configure (line 55) | def configure(conf) method multi_workers_ready? (line 68) | def multi_workers_ready? method get_lock_path (line 72) | def get_lock_path(name) method acquire_worker_lock (line 77) | def acquire_worker_lock(name) method string_safe_encoding (line 90) | def string_safe_encoding(str) method context_router= (line 98) | def context_router=(router) method context_router (line 102) | def context_router method start (line 106) | def start method after_start (line 117) | def after_start method stop (line 122) | def stop method before_shutdown (line 127) | def before_shutdown method shutdown (line 132) | def shutdown method after_shutdown (line 137) | def after_shutdown method close (line 142) | def close method terminate (line 147) | def terminate method configured? (line 152) | def configured? method started? (line 156) | def started? method after_started? (line 160) | def after_started? method stopped? (line 164) | def stopped? method before_shutdown? (line 168) | def before_shutdown? method shutdown? (line 172) | def shutdown? method after_shutdown? (line 176) | def after_shutdown? method closed? (line 180) | def closed? method terminated? (line 184) | def terminated? method called_in_test? (line 188) | def called_in_test? method inspect (line 200) | def inspect method reloadable_plugin? (line 208) | def reloadable_plugin? FILE: lib/fluent/plugin/buf_file.rb type Fluent (line 24) | module Fluent type Plugin (line 25) | module Plugin class FileBuffer (line 26) | class FileBuffer < Fluent::Plugin::Buffer method initialize (line 45) | def initialize method configure (line 54) | def configure(conf) method multi_workers_ready? (line 114) | def multi_workers_ready? method start (line 121) | def start method stop (line 127) | def stop method persistent? (line 135) | def persistent? method resume (line 139) | def resume method generate_chunk (line 205) | def generate_chunk(metadata) method handle_broken_files (line 214) | def handle_broken_files(path, mode, e) method evacuate_chunk (line 232) | def evacuate_chunk(chunk) method escaped_patterns (line 248) | def escaped_patterns(patterns) FILE: lib/fluent/plugin/buf_file_single.rb type Fluent (line 24) | module Fluent type Plugin (line 25) | module Plugin class FileSingleBuffer (line 26) | class FileSingleBuffer < Fluent::Plugin::Buffer method initialize (line 51) | def initialize method configure (line 59) | def configure(conf) method multi_workers_ready? (line 135) | def multi_workers_ready? method start (line 142) | def start method stop (line 148) | def stop method persistent? (line 156) | def persistent? method resume (line 160) | def resume method generate_chunk (line 216) | def generate_chunk(metadata) method handle_broken_files (line 226) | def handle_broken_files(path, mode, e) method evacuate_chunk (line 244) | def evacuate_chunk(chunk) method escaped_patterns (line 260) | def escaped_patterns(patterns) FILE: lib/fluent/plugin/buf_memory.rb type Fluent (line 20) | module Fluent type Plugin (line 21) | module Plugin class MemoryBuffer (line 22) | class MemoryBuffer < Fluent::Plugin::Buffer method resume (line 25) | def resume method generate_chunk (line 29) | def generate_chunk(metadata) FILE: lib/fluent/plugin/buffer.rb type Fluent (line 24) | module Fluent type Plugin (line 25) | module Plugin class Buffer (line 26) | class Buffer < Base class BufferError (line 33) | class BufferError < StandardError; end class BufferOverflowError (line 34) | class BufferOverflowError < BufferError; end class BufferChunkOverflowError (line 35) | class BufferChunkOverflowError < BufferError; end method initialize (line 73) | def initialize(timekey, tag, variables) method dup_next (line 77) | def dup_next method empty? (line 83) | def empty? method cmp_variables (line 87) | def cmp_variables(v1, v2) method <=> (line 123) | def <=>(o) method hash (line 160) | def hash method initialize (line 172) | def initialize method stage_size (line 201) | def stage_size method stage_size= (line 205) | def stage_size=(value) method queue_size (line 209) | def queue_size method queue_size= (line 213) | def queue_size=(value) method persistent? (line 217) | def persistent? method configure (line 221) | def configure(conf) method enable_update_timekeys (line 251) | def enable_update_timekeys method start (line 255) | def start method close (line 271) | def close method terminate (line 287) | def terminate method storable? (line 296) | def storable? method resume (line 305) | def resume method generate_chunk (line 310) | def generate_chunk(metadata) method new_metadata (line 314) | def new_metadata(timekey: nil, tag: nil, variables: nil) method metadata (line 319) | def metadata(timekey: nil, tag: nil, variables: nil) method timekeys (line 323) | def timekeys method write (line 330) | def write(metadata_and_data, format: nil, size: nil, enqueue: false) method queue_full? (line 464) | def queue_full? method queued_records (line 468) | def queued_records method queued? (line 472) | def queued?(metadata = nil, optimistic: false) method enqueue_chunk (line 482) | def enqueue_chunk(metadata) method enqueue_unstaged_chunk (line 508) | def enqueue_unstaged_chunk(chunk) method update_timekeys (line 523) | def update_timekeys method enqueue_all (line 537) | def enqueue_all(force_enqueue = false) method dequeue_chunk (line 559) | def dequeue_chunk method takeback_chunk (line 578) | def takeback_chunk(chunk_id) method purge_chunk (line 592) | def purge_chunk(chunk_id) method clear_queue! (line 621) | def clear_queue! method evacuate_chunk (line 640) | def evacuate_chunk(chunk) method chunk_size_over? (line 659) | def chunk_size_over?(chunk) method chunk_size_full? (line 663) | def chunk_size_full?(chunk) class ShouldRetry (line 667) | class ShouldRetry < StandardError; end method write_once (line 675) | def write_once(metadata, data, format: nil, size: nil, &block) method write_step_by_step (line 751) | def write_step_by_step(metadata, data, format, splits_count, &block) method statistics (line 911) | def statistics method backup (line 940) | def backup(chunk_unique_id) method optimistic_queued? (line 958) | def optimistic_queued?(metadata = nil) method safe_owner_id (line 967) | def safe_owner_id method backup_base_dir (line 971) | def backup_base_dir FILE: lib/fluent/plugin/buffer/chunk.rb type Fluent (line 26) | module Fluent type Plugin (line 27) | module Plugin class Buffer (line 28) | class Buffer # fluent/plugin/buffer is already loaded class Chunk (line 29) | class Chunk method initialize (line 51) | def initialize(metadata, compress: :text) method raw_create_at (line 71) | def raw_create_at method raw_modified_at (line 75) | def raw_modified_at method created_at (line 80) | def created_at method modified_at (line 85) | def modified_at method append (line 90) | def append(data, **kwargs) method concat (line 107) | def concat(bulk, records) method commit (line 111) | def commit method rollback (line 115) | def rollback method bytesize (line 119) | def bytesize method size (line 123) | def size method empty? (line 128) | def empty? method writable? (line 132) | def writable? method unstaged? (line 136) | def unstaged? method staged? (line 140) | def staged? method queued? (line 144) | def queued? method closed? (line 148) | def closed? method staged! (line 152) | def staged! method unstaged! (line 157) | def unstaged! method enqueued! (line 162) | def enqueued! method close (line 167) | def close method purge (line 172) | def purge method read (line 177) | def read(**kwargs) method open (line 182) | def open(**kwargs, &block) method write_to (line 187) | def write_to(io, **kwargs) type GzipDecompressable (line 194) | module GzipDecompressable function append (line 197) | def append(data, **kwargs) function open (line 211) | def open(**kwargs, &block) function read (line 229) | def read(**kwargs) function write_to (line 237) | def write_to(io, **kwargs) type ZstdDecompressable (line 248) | module ZstdDecompressable function append (line 251) | def append(data, **kwargs) function open (line 265) | def open(**kwargs, &block) function read (line 283) | def read(**kwargs) function write_to (line 291) | def write_to(io, **kwargs) FILE: lib/fluent/plugin/buffer/file_chunk.rb type Fluent (line 21) | module Fluent type Plugin (line 22) | module Plugin class Buffer (line 23) | class Buffer class FileChunk (line 24) | class FileChunk < Chunk class FileChunkError (line 25) | class FileChunkError < StandardError; end method initialize (line 42) | def initialize(metadata, path, mode, perm: nil, compress: :text) method concat (line 58) | def concat(bulk, bulk_size) method commit (line 68) | def commit method rollback (line 81) | def rollback method bytesize (line 90) | def bytesize method size (line 94) | def size method empty? (line 98) | def empty? method enqueued! (line 102) | def enqueued! method close (line 146) | def close method purge (line 156) | def purge method read (line 164) | def read(**kwargs) method open (line 169) | def open(**kwargs, &block) method assume_chunk_state (line 176) | def self.assume_chunk_state(path) method generate_stage_chunk_path (line 186) | def self.generate_stage_chunk_path(path, unique_id) method generate_queued_chunk_path (line 198) | def self.generate_queued_chunk_path(path, unique_id) method unique_id_from_path (line 208) | def self.unique_id_from_path(path) method restore_metadata (line 215) | def restore_metadata(bindata) method restore_metadata_partially (line 240) | def restore_metadata_partially(chunk) method write_metadata (line 252) | def write_metadata(update: true) method file_rename (line 265) | def file_rename(file, old_path, new_path, callback=nil) method create_new_chunk (line 282) | def create_new_chunk(path, perm) method load_existing_staged_chunk (line 323) | def load_existing_staged_chunk(path) method load_existing_enqueued_chunk (line 373) | def load_existing_enqueued_chunk(path) method restore_metadata_with_new_format (line 400) | def restore_metadata_with_new_format(chunk) FILE: lib/fluent/plugin/buffer/file_single_chunk.rb type Fluent (line 22) | module Fluent type Plugin (line 23) | module Plugin class Buffer (line 24) | class Buffer class FileSingleChunk (line 25) | class FileSingleChunk < Chunk class FileChunkError (line 26) | class FileChunkError < StandardError; end method initialize (line 38) | def initialize(metadata, path, mode, key, perm: Fluent::DEFAULT_... method concat (line 54) | def concat(bulk, bulk_size) method commit (line 64) | def commit method rollback (line 74) | def rollback method bytesize (line 83) | def bytesize method size (line 87) | def size method empty? (line 91) | def empty? method enqueued! (line 95) | def enqueued! method close (line 121) | def close method purge (line 130) | def purge method read (line 137) | def read(**kwargs) method open (line 142) | def open(**kwargs, &block) method assume_chunk_state (line 149) | def self.assume_chunk_state(path) method unique_id_and_key_from_path (line 161) | def self.unique_id_and_key_from_path(path) method generate_stage_chunk_path (line 172) | def self.generate_stage_chunk_path(path, key, unique_id) method generate_queued_chunk_path (line 183) | def self.generate_queued_chunk_path(path, unique_id) method restore_metadata (line 193) | def restore_metadata method restore_size (line 212) | def restore_size(chunk_format) method file_rename (line 224) | def file_rename(file, old_path, new_path, callback = nil) method encode_key (line 243) | def encode_key(metadata) method decode_key (line 249) | def decode_key(key) method create_new_chunk (line 253) | def create_new_chunk(path, metadata, perm) method load_existing_staged_chunk (line 273) | def load_existing_staged_chunk(path) method load_existing_enqueued_chunk (line 292) | def load_existing_enqueued_chunk(path) FILE: lib/fluent/plugin/buffer/memory_chunk.rb type Fluent (line 19) | module Fluent type Plugin (line 20) | module Plugin class Buffer (line 21) | class Buffer class MemoryChunk (line 22) | class MemoryChunk < Chunk method initialize (line 23) | def initialize(metadata, compress: :text) method concat (line 31) | def concat(bulk, bulk_size) method commit (line 41) | def commit method rollback (line 51) | def rollback method bytesize (line 57) | def bytesize method size (line 61) | def size method empty? (line 65) | def empty? method purge (line 69) | def purge method read (line 76) | def read(**kwargs) method open (line 80) | def open(**kwargs, &block) method write_to (line 84) | def write_to(io, **kwargs) FILE: lib/fluent/plugin/compressable.rb type Fluent (line 21) | module Fluent type Plugin (line 22) | module Plugin type Compressable (line 23) | module Compressable function compress (line 24) | def compress(data, type: :gzip, **kwargs) function decompress (line 41) | def decompress(compressed_data = nil, output_io: nil, input_io: ni... function string_decompress_gzip (line 63) | def string_decompress_gzip(compressed_data) function string_decompress_zstd (line 80) | def string_decompress_zstd(compressed_data) function string_decompress (line 93) | def string_decompress(compressed_data, type = :gzip) function io_decompress_gzip (line 103) | def io_decompress_gzip(input, output) function io_decompress_zstd (line 119) | def io_decompress_zstd(input, output) function io_decompress (line 131) | def io_decompress(input, output, type = :gzip) FILE: lib/fluent/plugin/exec_util.rb type Fluent (line 19) | module Fluent FILE: lib/fluent/plugin/file_util.rb type Fluent (line 19) | module Fluent FILE: lib/fluent/plugin/filter.rb type Fluent (line 24) | module Fluent type Plugin (line 25) | module Plugin class Filter (line 26) | class Filter < Base method initialize (line 35) | def initialize method configure (line 44) | def configure(conf) method statistics (line 52) | def statistics method measure_metrics (line 61) | def measure_metrics(es) method filter (line 66) | def filter(tag, time, record) method filter_with_time (line 70) | def filter_with_time(tag, time, record) method filter_stream (line 74) | def filter_stream(tag, es) method has_filter_with_time? (line 100) | def has_filter_with_time? FILE: lib/fluent/plugin/filter_grep.rb type Fluent::Plugin (line 21) | module Fluent::Plugin class GrepFilter (line 22) | class GrepFilter < Filter method initialize (line 25) | def initialize method configure (line 88) | def configure(conf) method filter (line 162) | def filter(tag, time, record) method match? (line 184) | def match?(record) FILE: lib/fluent/plugin/filter_parser.rb type Fluent::Plugin (line 23) | module Fluent::Plugin class ParserFilter (line 24) | class ParserFilter < Filter method configure (line 48) | def configure(conf) method filter_stream (line 59) | def filter_stream(tag, es) method filter_one_record (line 81) | def filter_one_record(tag, time, record, raw_value) method handle_parsed (line 113) | def handle_parsed(tag, record, t, values) FILE: lib/fluent/plugin/filter_record_transformer.rb type Fluent::Plugin (line 26) | module Fluent::Plugin class RecordTransformerFilter (line 27) | class RecordTransformerFilter < Fluent::Plugin::Filter method configure (line 45) | def configure(conf) method filter_stream (line 84) | def filter_stream(tag, es) method parse_value (line 117) | def parse_value(value_str) method reform (line 128) | def reform(record, placeholder_values) method expand_placeholders (line 140) | def expand_placeholders(value, placeholders) method tag_prefix (line 160) | def tag_prefix(tag_parts) method tag_suffix (line 169) | def tag_suffix(tag_parts) class PlaceholderExpander (line 180) | class PlaceholderExpander method initialize (line 183) | def initialize(params) method time_value (line 188) | def time_value(time) method preprocess_map (line 192) | def preprocess_map(value, force_stringify = false) method prepare_placeholders (line 196) | def prepare_placeholders(placeholder_values) method expand (line 222) | def expand(str, placeholders, force_stringify = false) method log_if_unknown_placeholder (line 238) | def log_if_unknown_placeholder(placeholder, placeholders) class RubyPlaceholderExpander (line 246) | class RubyPlaceholderExpander method initialize (line 249) | def initialize(params) method time_value (line 255) | def time_value(time) method preprocess_map (line 263) | def preprocess_map(value, force_stringify = false) method prepare_placeholders (line 291) | def prepare_placeholders(placeholder_values) method expand (line 298) | def expand(str, placeholders, force_stringify = false) class CleanroomExpander (line 313) | class CleanroomExpander method expand (line 314) | def expand(__str_to_eval__, tag, time, record, tag_parts, tag_pr... FILE: lib/fluent/plugin/filter_stdout.rb type Fluent::Plugin (line 19) | module Fluent::Plugin class StdoutFilter (line 20) | class StdoutFilter < Filter method configure (line 34) | def configure(conf) method filter_stream (line 40) | def filter_stream(tag, es) FILE: lib/fluent/plugin/formatter.rb type Fluent (line 22) | module Fluent type Plugin (line 23) | module Plugin class Formatter (line 24) | class Formatter < Base method formatter_type (line 31) | def formatter_type method format (line 35) | def format(tag, time, record) class ProcWrappedFormatter (line 40) | class ProcWrappedFormatter < Formatter method initialize (line 41) | def initialize(proc) method format (line 46) | def format(tag, time, record) type Newline (line 51) | module Newline type Mixin (line 52) | module Mixin function configure (line 63) | def configure(conf) FILE: lib/fluent/plugin/formatter_csv.rb type Fluent (line 21) | module Fluent type Plugin (line 22) | module Plugin class CsvFormatter (line 23) | class CsvFormatter < Formatter method csv_cacheable? (line 38) | def csv_cacheable? method csv_thread_key (line 42) | def csv_thread_key method csv_for_thread (line 46) | def csv_for_thread method configure (line 54) | def configure(conf) method format (line 72) | def format(tag, time, record) method format_with_nested_fields (line 81) | def format_with_nested_fields(tag, time, record) FILE: lib/fluent/plugin/formatter_hash.rb type Fluent (line 19) | module Fluent type Plugin (line 20) | module Plugin class HashFormatter (line 21) | class HashFormatter < Formatter method format (line 28) | def format(tag, time, record) FILE: lib/fluent/plugin/formatter_json.rb type Fluent (line 20) | module Fluent type Plugin (line 21) | module Plugin class JSONFormatter (line 22) | class JSONFormatter < Formatter method configure (line 30) | def configure(conf) method format (line 50) | def format(tag, time, record) method format_without_nl (line 57) | def format_without_nl(tag, time, record) FILE: lib/fluent/plugin/formatter_ltsv.rb type Fluent (line 19) | module Fluent type Plugin (line 20) | module Plugin class LabeledTSVFormatter (line 21) | class LabeledTSVFormatter < Formatter method format (line 33) | def format(tag, time, record) FILE: lib/fluent/plugin/formatter_msgpack.rb type Fluent (line 19) | module Fluent type Plugin (line 20) | module Plugin class MessagePackFormatter (line 21) | class MessagePackFormatter < Formatter method formatter_type (line 24) | def formatter_type method format (line 28) | def format(tag, time, record) FILE: lib/fluent/plugin/formatter_out_file.rb type Fluent (line 21) | module Fluent type Plugin (line 22) | module Plugin class OutFileFormatter (line 23) | class OutFileFormatter < Formatter method configure (line 40) | def configure(conf) method format (line 45) | def format(tag, time, record) FILE: lib/fluent/plugin/formatter_single_value.rb type Fluent (line 19) | module Fluent type Plugin (line 20) | module Plugin class SingleValueFormatter (line 21) | class SingleValueFormatter < Formatter method format (line 29) | def format(tag, time, record) FILE: lib/fluent/plugin/formatter_stdout.rb type Fluent (line 19) | module Fluent type Plugin (line 20) | module Plugin class StdoutFormatter (line 21) | class StdoutFormatter < Formatter method configure (line 28) | def configure(conf) method start (line 36) | def start method format (line 41) | def format(tag, time, record) method stop (line 45) | def stop method before_shutdown (line 50) | def before_shutdown method shutdown (line 55) | def shutdown method after_shutdown (line 60) | def after_shutdown method close (line 65) | def close method terminate (line 70) | def terminate FILE: lib/fluent/plugin/formatter_tsv.rb type Fluent (line 19) | module Fluent type Plugin (line 20) | module Plugin class TSVFormatter (line 21) | class TSVFormatter < Formatter method format (line 33) | def format(tag, time, record) FILE: lib/fluent/plugin/in_debug_agent.rb type Fluent::Plugin (line 19) | module Fluent::Plugin class DebugAgentInput (line 20) | class DebugAgentInput < Input method initialize (line 23) | def initialize method configure (line 35) | def configure(conf) method multi_workers_ready? (line 47) | def multi_workers_ready? method start (line 51) | def start method shutdown (line 65) | def shutdown FILE: lib/fluent/plugin/in_exec.rb type Fluent::Plugin (line 20) | module Fluent::Plugin class ExecInput (line 21) | class ExecInput < Fluent::Plugin::Input method configure (line 53) | def configure(conf) method validate_encoding (line 72) | def validate_encoding(encoding) method multi_workers_ready? (line 78) | def multi_workers_ready? method start (line 82) | def start method run (line 95) | def run(io) method on_record (line 112) | def on_record(time, record) FILE: lib/fluent/plugin/in_forward.rb type Fluent::Plugin (line 24) | module Fluent::Plugin class ForwardInput (line 25) | class ForwardInput < Input method configure (line 101) | def configure(conf) method multi_workers_ready? (line 160) | def multi_workers_ready? method start (line 166) | def start method handle_connection (line 193) | def handle_connection(conn) method read_messages (line 242) | def read_messages(conn, &block) method response (line 275) | def response(option) method on_message (line 282) | def on_message(msg, chunk_size, conn) method invalid_event? (line 367) | def invalid_event?(tag, time, record) method check_and_skip_invalid_event (line 371) | def check_and_skip_invalid_event(tag, es, remote_host) method add_source_info (line 383) | def add_source_info(es, conn) method select_authenticate_users (line 411) | def select_authenticate_users(node, username) method generate_salt (line 419) | def generate_salt method generate_helo (line 423) | def generate_helo(nonce, user_auth_salt) method check_ping (line 429) | def check_ping(message, remote_addr, user_auth_salt, nonce) method generate_pong (line 466) | def generate_pong(auth_result, reason_or_salt, nonce, shared_key) FILE: lib/fluent/plugin/in_gc_stat.rb type Fluent::Plugin (line 19) | module Fluent::Plugin class GCStatInput (line 20) | class GCStatInput < Fluent::Plugin::Input method initialize (line 25) | def initialize method configure (line 34) | def configure(conf) method multi_workers_ready? (line 45) | def multi_workers_ready? method start (line 49) | def start method shutdown (line 55) | def shutdown method on_timer (line 59) | def on_timer FILE: lib/fluent/plugin/in_http.rb type Fluent::Plugin (line 27) | module Fluent::Plugin class InHttpParser (line 28) | class InHttpParser < Parser method configure (line 33) | def configure(conf) method parse (line 44) | def parse(text) method get_time_parser (line 49) | def get_time_parser class HttpInput (line 54) | class HttpInput < Input method initialize (line 96) | def initialize method configure (line 114) | def configure(conf) class KeepaliveManager (line 152) | class KeepaliveManager < Coolio::TimerWatcher method initialize (line 153) | def initialize(timeout) method add (line 159) | def add(sock) method delete (line 163) | def delete(sock) method on_timer (line 167) | def on_timer method multi_workers_ready? (line 176) | def multi_workers_ready? method start (line 180) | def start method close (line 194) | def close method on_request (line 206) | def on_request(path_info, params) method on_server_connect (line 260) | def on_server_connect(conn) method parse_params_default (line 279) | def parse_params_default(params) method parse_params_with_parser (line 299) | def parse_params_with_parser(params) method add_params_to_record (line 309) | def add_params_to_record(record, params) method convert_time_field (line 331) | def convert_time_field(record) class Handler (line 343) | class Handler method initialize (line 346) | def initialize(io, km, callback, body_size_limit, format_name, log, method step_idle (line 365) | def step_idle method on_close (line 369) | def on_close method on_read (line 373) | def on_read(data) method on_message_begin (line 382) | def on_message_begin method on_headers_complete (line 386) | def on_headers_complete(headers) method on_body (line 440) | def on_body(chunk) method handle_get_request (line 455) | def handle_get_request method handle_options_request (line 461) | def handle_options_request method on_message_complete (line 492) | def on_message_complete method close (line 590) | def close method on_write_complete (line 594) | def on_write_complete method send_response_and_close (line 598) | def send_response_and_close(code, header, body) method closing? (line 603) | def closing? method send_response (line 607) | def send_response(code, header, body) method send_response_nobody (line 621) | def send_response_nobody(code, header) method include_cors_allow_origin (line 630) | def include_cors_allow_origin method parse_query (line 647) | def parse_query(query) FILE: lib/fluent/plugin/in_monitor_agent.rb type Fluent::Plugin (line 25) | module Fluent::Plugin class MonitorAgentInput (line 26) | class MonitorAgentInput < Input class APIHandler (line 44) | class APIHandler method initialize (line 45) | def initialize(agent) method plugins_ltsv (line 49) | def plugins_ltsv(req) method plugins_json (line 55) | def plugins_json(req) method config_ltsv (line 62) | def config_ltsv(_req) method config_json (line 72) | def config_json(req) method render_error_json (line 85) | def render_error_json(code:, msg:, pretty_json: nil, **additional_... method render_json (line 90) | def render_json(obj, code: 200, pretty_json: nil) method render_ltsv (line 101) | def render_ltsv(obj, code: 200) method build_object (line 122) | def build_object(opts) method build_option (line 149) | def build_option(req) method initialize (line 182) | def initialize method configure (line 188) | def configure(conf) method multi_workers_ready? (line 193) | def multi_workers_ready? class NotFoundJson (line 197) | class NotFoundJson method call (line 199) | def self.call(_req) method start (line 204) | def start method all_plugins (line 240) | def all_plugins method plugin_info_by_tag (line 263) | def plugin_info_by_tag(tag, opts={}) method plugin_info_by_id (line 276) | def plugin_info_by_id(plugin_id, opts={}) method plugins_info_by_type (line 289) | def plugins_info_by_type(type, opts={}) method plugins_info_all (line 298) | def plugins_info_all(opts={}) method get_monitor_info (line 307) | def get_monitor_info(pe, opts={}) method get_retry_info (line 370) | def get_retry_info(pe_retry) method plugin_category (line 382) | def plugin_category(pe) method fluentd_opts (line 395) | def fluentd_opts method get_fluentd_opts (line 399) | def get_fluentd_opts FILE: lib/fluent/plugin/in_object_space.rb type Fluent::Plugin (line 21) | module Fluent::Plugin class ObjectSpaceInput (line 22) | class ObjectSpaceInput < Fluent::Plugin::Input method initialize (line 27) | def initialize method multi_workers_ready? (line 35) | def multi_workers_ready? method start (line 39) | def start class Counter (line 45) | class Counter method initialize (line 46) | def initialize(klass, init_count) method incr! (line 51) | def incr! method name (line 55) | def name method on_timer (line 62) | def on_timer FILE: lib/fluent/plugin/in_sample.rb type Fluent::Plugin (line 22) | module Fluent::Plugin class SampleInput (line 23) | class SampleInput < Input method initialize (line 61) | def initialize method configure (line 66) | def configure(conf) method multi_workers_ready? (line 73) | def multi_workers_ready? method start (line 77) | def start method run (line 91) | def run method emit (line 108) | def emit(num) method next_sample (line 122) | def next_sample method generate (line 131) | def generate method wait (line 140) | def wait(time) FILE: lib/fluent/plugin/in_syslog.rb type Fluent::Plugin (line 23) | module Fluent::Plugin class SyslogInput (line 24) | class SyslogInput < Input method configure (line 119) | def configure(conf) method multi_workers_ready? (line 155) | def multi_workers_ready? method zero_downtime_restart_ready? (line 159) | def zero_downtime_restart_ready? method start (line 163) | def start method start_udp_server (line 176) | def start_udp_server method start_tcp_server (line 182) | def start_tcp_server(tls: false) method emit_unmatched (line 222) | def emit_unmatched(data, sock) method message_handler (line 229) | def message_handler(data, sock) method emit (line 274) | def emit(tag, time, record) FILE: lib/fluent/plugin/in_tail.rb type Fluent::Plugin (line 30) | module Fluent::Plugin class TailInput (line 31) | class TailInput < Fluent::Plugin::Input class WatcherSetupError (line 41) | class WatcherSetupError < StandardError method initialize (line 42) | def initialize(msg) method to_s (line 46) | def to_s method initialize (line 51) | def initialize method configure (line 127) | def configure(conf) method check_dir_permission (line 220) | def check_dir_permission method configure_tag (line 234) | def configure_tag method configure_encoding (line 245) | def configure_encoding method parse_encoding_param (line 259) | def parse_encoding_param(encoding_name) method start (line 267) | def start method stop (line 289) | def stop method shutdown (line 297) | def shutdown method close (line 309) | def close method have_read_capability? (line 316) | def have_read_capability? method extended_glob_pattern (line 321) | def extended_glob_pattern(path) method use_glob? (line 329) | def use_glob?(path) method expand_paths_raw (line 343) | def expand_paths_raw method expand_paths (line 392) | def expand_paths method existence_path (line 414) | def existence_path method refresh_watchers (line 431) | def refresh_watchers method setup_watcher (line 485) | def setup_watcher(target_info, pe) method construct_watcher (line 519) | def construct_watcher(target_info) method start_watchers (line 547) | def start_watchers(targets_info) method stop_watchers (line 554) | def stop_watchers(targets_info, immediate: false, unwatched: false, ... method close_watcher_handles (line 574) | def close_watcher_handles method update_watcher (line 587) | def update_watcher(tail_watcher, pe, new_inode) method detach_watcher (line 638) | def detach_watcher(tw, ino, close_io = true) method throttling_is_enabled? (line 656) | def throttling_is_enabled?(tw) method detach_watcher_after_rotate_wait (line 662) | def detach_watcher_after_rotate_wait(tw, ino) method flush_buffer (line 695) | def flush_buffer(tw, buf) method receive_lines (line 723) | def receive_lines(lines, tail_watcher) method convert_line_to_event (line 744) | def convert_line_to_event(line, es, tail_watcher) method parse_singleline (line 766) | def parse_singleline(lines, tail_watcher) method parse_multilines (line 775) | def parse_multilines(lines, tail_watcher) method statistics (line 813) | def statistics method io_handler (line 830) | def io_handler(watcher, path) class StatWatcher (line 856) | class StatWatcher < Coolio::StatWatcher method initialize (line 857) | def initialize(path, log, &callback) method on_change (line 863) | def on_change(prev, cur) class TimerTrigger (line 871) | class TimerTrigger < Coolio::TimerWatcher method initialize (line 872) | def initialize(interval, log, &callback) method on_timer (line 878) | def on_timer class TailWatcher (line 886) | class TailWatcher method initialize (line 887) | def initialize(target_info, pe, log, read_from_head, follow_inodes... method tag (line 910) | def tag method register_watcher (line 914) | def register_watcher(watcher) method detach (line 918) | def detach(shutdown_start_time = nil) method close (line 926) | def close method eof? (line 933) | def eof? method on_notify (line 937) | def on_notify method on_rotate (line 950) | def on_rotate(stat) method io_handler (line 1031) | def io_handler method swap_state (line 1035) | def swap_state(pe) class FIFO (line 1043) | class FIFO method initialize (line 1044) | def initialize(encoding, log, max_line_size=nil, encoding_to_con... method << (line 1056) | def <<(chunk) method convert (line 1060) | def convert(s) method read_lines (line 1070) | def read_lines(lines) method reading_bytesize (line 1121) | def reading_bytesize class IOHandler (line 1127) | class IOHandler method initialize (line 1133) | def initialize(watcher, path:, read_lines_limit:, read_bytes_lim... method group_watcher (line 1157) | def group_watcher method on_notify (line 1161) | def on_notify method ready_to_shutdown (line 1165) | def ready_to_shutdown(shutdown_start_time = nil) method close (line 1172) | def close method opened? (line 1180) | def opened? method eof? (line 1184) | def eof? method limit_bytes_per_second_reached? (line 1190) | def limit_bytes_per_second_reached? method should_shutdown_now? (line 1207) | def should_shutdown_now? method handle_notify (line 1216) | def handle_notify method open (line 1280) | def open method with_io (line 1295) | def with_io class NullIOHandler (line 1320) | class NullIOHandler method initialize (line 1321) | def initialize method io (line 1324) | def io method on_notify (line 1327) | def on_notify method close (line 1330) | def close method opened? (line 1333) | def opened? method eof? (line 1337) | def eof? class RotateHandler (line 1342) | class RotateHandler method initialize (line 1343) | def initialize(log, &on_rotate) method on_notify (line 1350) | def on_notify(stat) class LineBufferTimerFlusher (line 1370) | class LineBufferTimerFlusher method initialize (line 1373) | def initialize(log, flush_interval, &flush_method) method on_notify (line 1381) | def on_notify(tw) method close (line 1393) | def close(tw) method reset_timer (line 1400) | def reset_timer FILE: lib/fluent/plugin/in_tail/group_watch.rb type Fluent::Plugin (line 19) | module Fluent::Plugin class TailInput (line 20) | class TailInput < Fluent::Plugin::Input type GroupWatchParams (line 21) | module GroupWatchParams type GroupWatch (line 46) | module GroupWatch function included (line 47) | def self.included(mod) function initialize (line 53) | def initialize function configure (line 60) | def configure(conf) function add_path_to_group_watcher (line 81) | def add_path_to_group_watcher(path) function remove_path_from_group_watcher (line 88) | def remove_path_from_group_watcher(path) function construct_group_key (line 94) | def construct_group_key(named_captures) function construct_groupwatchers (line 104) | def construct_groupwatchers function find_group (line 111) | def find_group(metadata) function find_group_from_metadata (line 119) | def find_group_from_metadata(path) class GroupWatcher (line 132) | class GroupWatcher method initialize (line 140) | def initialize(rate_period = 60, limit = -1) method add (line 146) | def add(path) method include? (line 150) | def include?(path) method size (line 154) | def size method delete (line 158) | def delete(path) method update_reading_time (line 162) | def update_reading_time(path) method update_lines_read (line 166) | def update_lines_read(path, value) method reset_counter (line 170) | def reset_counter(path) method time_spent_reading (line 175) | def time_spent_reading(path) method limit_time_period_reached? (line 179) | def limit_time_period_reached?(path) method limit_lines_reached? (line 183) | def limit_lines_reached?(path) method to_s (line 199) | def to_s FILE: lib/fluent/plugin/in_tail/position_file.rb type Fluent::Plugin (line 19) | module Fluent::Plugin class TailInput (line 20) | class TailInput < Fluent::Plugin::Input class PositionFile (line 21) | class PositionFile method load (line 25) | def self.load(file, follow_inodes, existing_targets, logger:) method initialize (line 31) | def initialize(file, follow_inodes, logger: nil) method [] (line 39) | def [](target_info) method unwatch_removed_targets (line 56) | def unwatch_removed_targets(existing_targets) method unwatch (line 64) | def unwatch(target_info) method load (line 68) | def load(existing_targets = nil) method try_compact (line 95) | def try_compact method unwatch_key (line 127) | def unwatch_key(key) method compact (line 133) | def compact(existing_targets = nil) method fetch_compacted_entries (line 151) | def fetch_compacted_entries method remove_deleted_files_entries (line 183) | def remove_deleted_files_entries(existent_entries, existing_targets) method to_entry_fmt (line 193) | def to_entry_fmt class FilePositionEntry (line 200) | class FilePositionEntry method initialize (line 207) | def initialize(file, file_mutex, seek, pos, inode) method update (line 217) | def update(ino, pos) method update_pos (line 226) | def update_pos(pos) method read_inode (line 234) | def read_inode method read_pos (line 238) | def read_pos class MemoryPositionEntry (line 243) | class MemoryPositionEntry method initialize (line 244) | def initialize method update (line 249) | def update(ino, pos) method update_pos (line 254) | def update_pos(pos) method read_pos (line 258) | def read_pos method read_inode (line 262) | def read_inode FILE: lib/fluent/plugin/in_tcp.rb type Fluent::Plugin (line 19) | module Fluent::Plugin class TcpInput (line 20) | class TcpInput < Input method configure (line 60) | def configure(conf) method multi_workers_ready? (line 100) | def multi_workers_ready? method zero_downtime_restart_ready? (line 104) | def zero_downtime_restart_ready? method start (line 108) | def start method check_client (line 217) | def check_client(conn) FILE: lib/fluent/plugin/in_udp.rb type Fluent::Plugin (line 19) | module Fluent::Plugin class UdpInput (line 20) | class UdpInput < Input method configure (line 55) | def configure(conf) method multi_workers_ready? (line 69) | def multi_workers_ready? method zero_downtime_restart_ready? (line 73) | def zero_downtime_restart_ready? method start (line 77) | def start FILE: lib/fluent/plugin/in_unix.rb type Fluent::Plugin (line 26) | module Fluent::Plugin class UnixInput (line 28) | class UnixInput < Input method initialize (line 33) | def initialize method configure (line 46) | def configure(conf) method start (line 50) | def start method shutdown (line 57) | def shutdown method listen (line 66) | def listen method on_message (line 99) | def on_message(msg) method convert_time (line 135) | def convert_time(time) class Handler (line 146) | class Handler < Coolio::Socket method initialize (line 147) | def initialize(io, log, on_message) method on_connect (line 154) | def on_connect method on_read (line 157) | def on_read(data) method on_read_json (line 174) | def on_read_json(data) method on_read_msgpack (line 182) | def on_read_msgpack(data) method on_close (line 190) | def on_close FILE: lib/fluent/plugin/input.rb type Fluent (line 23) | module Fluent type Plugin (line 24) | module Plugin class Input (line 25) | class Input < Base method initialize (line 32) | def initialize method configure (line 40) | def configure(conf) method statistics (line 48) | def statistics method metric_callback (line 57) | def metric_callback(es) method multi_workers_ready? (line 62) | def multi_workers_ready? method zero_downtime_restart_ready? (line 66) | def zero_downtime_restart_ready? FILE: lib/fluent/plugin/metrics.rb type Fluent (line 25) | module Fluent type Plugin (line 26) | module Plugin class Metrics (line 27) | class Metrics < Base method initialize (line 42) | def initialize method configure (line 50) | def configure(conf) method use_gauge_metric= (line 62) | def use_gauge_metric=(use_gauge_metric=false) method create (line 66) | def create(namespace:, subsystem:,name:,help_text:,labels: {}) method get (line 70) | def get method inc (line 74) | def inc method dec (line 78) | def dec method add (line 82) | def add(value) method sub (line 86) | def sub(value) method set (line 90) | def set(value) method has_methods_for_counter? (line 96) | def has_methods_for_counter? method has_methods_for_gauge? (line 107) | def has_methods_for_gauge? FILE: lib/fluent/plugin/metrics_local.rb type Fluent (line 20) | module Fluent type Plugin (line 21) | module Plugin class LocalMetrics (line 22) | class LocalMetrics < Metrics method initialize (line 25) | def initialize method configure (line 31) | def configure(conf) method multi_workers_ready? (line 47) | def multi_workers_ready? method get (line 51) | def get method inc (line 57) | def inc method dec_gauge (line 63) | def dec_gauge method add (line 69) | def add(value) method sub_gauge (line 75) | def sub_gauge(value) method set_counter (line 81) | def set_counter(value) method set_gauge (line 89) | def set_gauge(value) FILE: lib/fluent/plugin/multi_output.rb type Fluent (line 22) | module Fluent type Plugin (line 23) | module Plugin class MultiOutput (line 24) | class MultiOutput < Base method process (line 39) | def process(tag, es) method initialize (line 43) | def initialize method statistics (line 59) | def statistics method multi_output? (line 70) | def multi_output? method configure (line 74) | def configure(conf) method static_outputs (line 99) | def static_outputs method call_lifecycle_method (line 112) | def call_lifecycle_method(method_name, checker_name) method start (line 125) | def start method after_start (line 130) | def after_start method stop (line 135) | def stop method before_shutdown (line 140) | def before_shutdown method shutdown (line 145) | def shutdown method after_shutdown (line 150) | def after_shutdown method close (line 155) | def close method terminate (line 160) | def terminate method emit_sync (line 165) | def emit_sync(tag, es) FILE: lib/fluent/plugin/out_buffer.rb type Fluent::Plugin (line 19) | module Fluent::Plugin class BufferOutput (line 20) | class BufferOutput < Output method multi_workers_ready? (line 31) | def multi_workers_ready? method write (line 35) | def write(chunk) FILE: lib/fluent/plugin/out_copy.rb type Fluent::Plugin (line 21) | module Fluent::Plugin class CopyOutput (line 22) | class CopyOutput < MultiOutput method initialize (line 32) | def initialize method configure (line 38) | def configure(conf) method multi_workers_ready? (line 54) | def multi_workers_ready? method process (line 58) | def process(tag, es) method gen_copy_proc (line 87) | def gen_copy_proc FILE: lib/fluent/plugin/out_exec.rb type Fluent::Plugin (line 22) | module Fluent::Plugin class ExecOutput (line 23) | class ExecOutput < Output method configure (line 48) | def configure(conf) method multi_workers_ready? (line 54) | def multi_workers_ready? method format (line 60) | def format(tag, time, record) method try_write (line 69) | def try_write(chunk) FILE: lib/fluent/plugin/out_exec_filter.rb type Fluent::Plugin (line 22) | module Fluent::Plugin class ExecFilterOutput (line 23) | class ExecFilterOutput < Output method exec_filter_compat_parameters_copy_to_subsection! (line 106) | def exec_filter_compat_parameters_copy_to_subsection!(conf, subsecti... method exec_filter_compat_parameters_convert! (line 116) | def exec_filter_compat_parameters_convert!(conf) method configure (line 130) | def configure(conf) method multi_workers_ready? (line 176) | def multi_workers_ready? method start (line 182) | def start method terminate (line 247) | def terminate method tag_remove_prefix (line 252) | def tag_remove_prefix(tag) method format (line 263) | def format(tag, time, record) method write (line 273) | def write(chunk) method run (line 286) | def run(io) method on_record (line 304) | def on_record(time, record) FILE: lib/fluent/plugin/out_file.rb type Fluent::Plugin (line 27) | module Fluent::Plugin class FileOutput (line 28) | class FileOutput < Output type SymlinkBufferMixin (line 74) | module SymlinkBufferMixin function metadata (line 75) | def metadata(timekey: nil, tag: nil, variables: nil) function output_plugin_for_symlink= (line 86) | def output_plugin_for_symlink=(output_plugin) function symlink_path= (line 90) | def symlink_path=(path) function generate_chunk (line 94) | def generate_chunk(metadata) method configure (line 114) | def configure(conf) method multi_workers_ready? (line 217) | def multi_workers_ready? method format (line 221) | def format(tag, time, record) method write (line 226) | def write(chunk) method write_without_compression (line 261) | def write_without_compression(path, chunk) method write_with_compression (line 267) | def write_with_compression(type, path, chunk) method write_from_compressed_chunk (line 280) | def write_from_compressed_chunk(type, path, chunk) method timekey_to_timeformat (line 286) | def timekey_to_timeformat(timekey) method compression_suffix (line 296) | def compression_suffix(compress) method generate_path_template (line 312) | def generate_path_template(original, timekey, append, compress, path... method find_filepath_available (line 338) | def find_filepath_available(path_with_placeholder, with_lock: false)... FILE: lib/fluent/plugin/out_forward.rb type Fluent::Plugin (line 33) | module Fluent::Plugin class ForwardOutput (line 34) | class ForwardOutput < Output method initialize (line 162) | def initialize method configure (line 176) | def configure(conf) method multi_workers_ready? (line 291) | def multi_workers_ready? method prefer_delayed_commit (line 295) | def prefer_delayed_commit method overwrite_delayed_commit_timeout (line 299) | def overwrite_delayed_commit_timeout method start (line 308) | def start method close (line 340) | def close method stop (line 349) | def stop method before_shutdown (line 357) | def before_shutdown method after_shutdown (line 362) | def after_shutdown method try_flush (line 367) | def try_flush method last_ack (line 372) | def last_ack method write (line 377) | def write(chunk) method try_write (line 384) | def try_write(chunk) method create_transfer_socket (line 395) | def create_transfer_socket(host, port, hostname, &block) method statistics (line 441) | def statistics method forward_header (line 463) | def forward_header method build_node (line 469) | def build_node(server) method on_heartbeat_timer (line 481) | def on_heartbeat_timer method on_udp_heartbeat_response_recv (line 502) | def on_udp_heartbeat_response_recv(data, sock) method on_purge_obsolete_socks (line 514) | def on_purge_obsolete_socks method ack_select_interval (line 518) | def ack_select_interval method ack_reader (line 526) | def ack_reader method ack_check (line 534) | def ack_check(select_interval) class Node (line 556) | class Node method initialize (line 562) | def initialize(sender, server, failure:, connection_manager:, ack_... method validate_host_resolution! (line 608) | def validate_host_resolution! method available? (line 612) | def available? method disable! (line 616) | def disable! method standby? (line 620) | def standby? method verify_connection (line 624) | def verify_connection method establish_connection (line 630) | def establish_connection(sock, ri) method send_data_actual (line 680) | def send_data_actual(sock, tag, chunk) method send_data (line 702) | def send_data(tag, chunk) method send_heartbeat (line 716) | def send_heartbeat method resolved_host (line 751) | def resolved_host method resolve_dns! (line 772) | def resolve_dns! method tick (line 780) | def tick method heartbeat (line 810) | def heartbeat(detect=true) method ensure_established_connection (line 824) | def ensure_established_connection(sock, request_info) method connect (line 834) | def connect(host = nil, ack: false, &block) class NoneHeartbeatNode (line 840) | class NoneHeartbeatNode < Node method available? (line 841) | def available? method tick (line 845) | def tick method heartbeat (line 849) | def heartbeat(detect=true) FILE: lib/fluent/plugin/out_forward/ack_handler.rb type Fluent::Plugin (line 22) | module Fluent::Plugin class ForwardOutput (line 23) | class ForwardOutput < Output class AckHandler (line 24) | class AckHandler type Result (line 25) | module Result method initialize (line 31) | def initialize(timeout:, log:, read_length:) method collect_response (line 40) | def collect_response(select_interval) method expired? (line 89) | def expired?(now) method enqueue (line 95) | def enqueue(sock) method create_ack (line 100) | def create_ack(chunk_id, node) method enqueue (line 104) | def enqueue(node, sock, cid) method read_ack_from_sock (line 113) | def read_ack_from_sock(sock) method dump_unique_id_hex (line 159) | def dump_unique_id_hex(unique_id) method find (line 163) | def find(sock) method delete (line 169) | def delete(info) FILE: lib/fluent/plugin/out_forward/connection_manager.rb type Fluent::Plugin (line 19) | module Fluent::Plugin class ForwardOutput (line 20) | class ForwardOutput < Output class ConnectionManager (line 21) | class ConnectionManager method initialize (line 28) | def initialize(log:, secure:, connection_factory:, socket_cache:) method stop (line 35) | def stop method connect (line 40) | def connect(host:, port:, hostname:, ack: nil, &block) method purge_obsolete_socks (line 65) | def purge_obsolete_socks method close (line 72) | def close(sock) method connect_keepalive (line 83) | def connect_keepalive(host:, port:, hostname:, ack: nil) FILE: lib/fluent/plugin/out_forward/error.rb type Fluent::Plugin (line 19) | module Fluent::Plugin class ForwardOutput (line 20) | class ForwardOutput < Output class Error (line 21) | class Error < StandardError; end class NoNodesAvailable (line 22) | class NoNodesAvailable < Error; end class ConnectionClosedError (line 23) | class ConnectionClosedError < Error; end class HandshakeError (line 24) | class HandshakeError < Error; end class HeloError (line 25) | class HeloError < HandshakeError; end class PingpongError (line 26) | class PingpongError < HandshakeError; end FILE: lib/fluent/plugin/out_forward/failure_detector.rb type Fluent::Plugin (line 19) | module Fluent::Plugin class ForwardOutput (line 20) | class ForwardOutput < Output class FailureDetector (line 21) | class FailureDetector method initialize (line 25) | def initialize(heartbeat_interval, hard_timeout, init_last) method hard_timeout? (line 35) | def hard_timeout?(now) method add (line 39) | def add(now) method phi (line 51) | def phi(now) method sample_size (line 74) | def sample_size method clear (line 78) | def clear FILE: lib/fluent/plugin/out_forward/handshake_protocol.rb type Fluent::Plugin (line 21) | module Fluent::Plugin class ForwardOutput (line 22) | class ForwardOutput < Output class HandshakeProtocol (line 23) | class HandshakeProtocol method initialize (line 24) | def initialize(log:, hostname:, shared_key:, password:, username:) method invoke (line 33) | def invoke(sock, ri, data) method check_pong (line 58) | def check_pong(ri, message) method check_helo (line 83) | def check_helo(ri, message) method generate_ping (line 97) | def generate_ping(ri) method generate_salt (line 120) | def generate_salt FILE: lib/fluent/plugin/out_forward/load_balancer.rb type Fluent::Plugin (line 20) | module Fluent::Plugin class ForwardOutput (line 21) | class ForwardOutput < Output class LoadBalancer (line 22) | class LoadBalancer method initialize (line 23) | def initialize(log) method select_healthy_node (line 31) | def select_healthy_node method rebuild_weight_array (line 58) | def rebuild_weight_array(nodes) FILE: lib/fluent/plugin/out_forward/socket_cache.rb type Fluent::Plugin (line 19) | module Fluent::Plugin class ForwardOutput (line 20) | class ForwardOutput < Output class SocketCache (line 21) | class SocketCache method initialize (line 24) | def initialize(timeout, log) method checkout_or (line 33) | def checkout_or(key) method checkin (line 50) | def checkin(sock) method revoke (line 61) | def revoke(sock) method purge_obsolete_socks (line 71) | def purge_obsolete_socks method clear (line 98) | def clear method pick_socket (line 118) | def pick_socket(key) method timeout (line 133) | def timeout method expired_socket? (line 137) | def expired_socket?(sock, time: Time.now) FILE: lib/fluent/plugin/out_http.rb class Net::HTTP (line 27) | class Net::HTTP type Fluent::Plugin (line 34) | module Fluent::Plugin class HTTPOutput (line 35) | class HTTPOutput < Output class RetryableResponse (line 38) | class RetryableResponse < StandardError; end method connection_cache_id_thread_key (line 109) | def connection_cache_id_thread_key method connection_cache_id_for_thread (line 113) | def connection_cache_id_for_thread method connection_cache_id_for_thread= (line 117) | def connection_cache_id_for_thread=(id) method initialize (line 121) | def initialize method close (line 133) | def close method configure (line 139) | def configure(conf) method multi_workers_ready? (line 192) | def multi_workers_ready? method formatted_to_msgpack_binary? (line 196) | def formatted_to_msgpack_binary? method format (line 200) | def format(tag, time, record) method format_json_array (line 204) | def format_json_array(tag, time, record) method write (line 208) | def write(chunk) method setup_content_type (line 219) | def setup_content_type method setup_http_option (line 236) | def setup_http_option method parse_endpoint (line 279) | def parse_endpoint(chunk) method set_headers (line 284) | def set_headers(req, uri, chunk) method set_auth (line 301) | def set_auth(req, uri) method create_request (line 323) | def create_request(chunk, uri) method make_request_cached (line 345) | def make_request_cached(uri, req) method make_request (line 367) | def make_request(uri, req, &block) method send_request (line 375) | def send_request(uri, req) FILE: lib/fluent/plugin/out_null.rb type Fluent::Plugin (line 19) | module Fluent::Plugin class NullOutput (line 20) | class NullOutput < Output method prefer_buffered_processing (line 33) | def prefer_buffered_processing method prefer_delayed_commit (line 37) | def prefer_delayed_commit method initialize (line 43) | def initialize method multi_workers_ready? (line 49) | def multi_workers_ready? method process (line 53) | def process(tag, es) method write (line 58) | def write(chunk) method try_write (line 65) | def try_write(chunk) FILE: lib/fluent/plugin/out_relabel.rb type Fluent::Plugin (line 19) | module Fluent::Plugin class RelabelOutput (line 20) | class RelabelOutput < Output method multi_workers_ready? (line 24) | def multi_workers_ready? method process (line 28) | def process(tag, es) FILE: lib/fluent/plugin/out_roundrobin.rb type Fluent::Plugin (line 20) | module Fluent::Plugin class RoundRobinOutput (line 21) | class RoundRobinOutput < MultiOutput method initialize (line 28) | def initialize method configure (line 35) | def configure(conf) method multi_workers_ready? (line 45) | def multi_workers_ready? method start (line 49) | def start method process (line 54) | def process(tag, es) method next_output (line 60) | def next_output method rebuild_weight_array (line 65) | def rebuild_weight_array FILE: lib/fluent/plugin/out_secondary_file.rb type Fluent::Plugin (line 22) | module Fluent::Plugin class SecondaryFileOutput (line 23) | class SecondaryFileOutput < Output method configure (line 36) | def configure(conf) method multi_workers_ready? (line 66) | def multi_workers_ready? method write (line 70) | def write(chunk) method validate_compatible_with_primary_buffer! (line 94) | def validate_compatible_with_primary_buffer!(path_without_suffix) method has_time_format? (line 112) | def has_time_format?(str) method generate_path (line 116) | def generate_path(path_without_suffix) class FileAlreadyExist (line 145) | class FileAlreadyExist < StandardError FILE: lib/fluent/plugin/out_stdout.rb type Fluent::Plugin (line 19) | module Fluent::Plugin class StdoutOutput (line 20) | class StdoutOutput < Output method prefer_buffered_processing (line 42) | def prefer_buffered_processing method multi_workers_ready? (line 46) | def multi_workers_ready? method dest_io (line 50) | def dest_io method configure (line 56) | def configure(conf) method process (line 64) | def process(tag, es) method format (line 72) | def format(tag, time, record) method write (line 77) | def write(chunk) FILE: lib/fluent/plugin/out_stream.rb type Fluent (line 23) | module Fluent class StreamOutput (line 25) | class StreamOutput < BufferedOutput method configure (line 30) | def configure(conf) method format_stream (line 35) | def format_stream(tag, es) method write (line 40) | def write(chunk) method flush_secondary (line 55) | def flush_secondary(secondary) class ReformatWriter (line 62) | class ReformatWriter method initialize (line 63) | def initialize(secondary) method write (line 67) | def write(chunk) class TcpOutput (line 88) | class TcpOutput < StreamOutput method initialize (line 93) | def initialize method configure (line 102) | def configure(conf) method connect (line 106) | def connect class UnixOutput (line 112) | class UnixOutput < StreamOutput method initialize (line 115) | def initialize method configure (line 122) | def configure(conf) method connect (line 126) | def connect FILE: lib/fluent/plugin/output.rb type Fluent (line 33) | module Fluent type Plugin (line 34) | module Plugin class Output (line 35) | class Output < Base method process (line 114) | def process(tag, es) method write (line 118) | def write(chunk) method try_write (line 122) | def try_write(chunk) method format (line 126) | def format(tag, time, record) method formatted_to_msgpack_binary? (line 131) | def formatted_to_msgpack_binary? method formatted_to_msgpack_binary (line 138) | def formatted_to_msgpack_binary method prefer_buffered_processing (line 142) | def prefer_buffered_processing method prefer_delayed_commit (line 149) | def prefer_delayed_commit method multi_workers_ready? (line 154) | def multi_workers_ready? method expired? (line 161) | def expired? method initialize (line 174) | def initialize method acts_as_secondary (line 226) | def acts_as_secondary(primary) method configure (line 244) | def configure(conf) method keep_buffer_config_compat (line 421) | def keep_buffer_config_compat method start (line 427) | def start method after_start (line 505) | def after_start method stop (line 510) | def stop method before_shutdown (line 517) | def before_shutdown method shutdown (line 536) | def shutdown method after_shutdown (line 543) | def after_shutdown method close (line 569) | def close method terminate (line 576) | def terminate method actual_flush_thread_count (line 583) | def actual_flush_thread_count method synchronize_path (line 593) | def synchronize_path(path) method synchronize_path_in_workers (line 601) | def synchronize_path_in_workers(path) method synchronize_in_threads (line 610) | def synchronize_in_threads method support_in_v12_style? (line 619) | def support_in_v12_style?(feature) method implement? (line 631) | def implement?(feature) method placeholder_validate! (line 643) | def placeholder_validate!(name, str) method placeholder_validators (line 649) | def placeholder_validators(name, str, time_key = (@chunk_key_time ... class PlaceholderValidator (line 670) | class PlaceholderValidator method initialize (line 673) | def initialize(name, str, type, arg) method time? (line 681) | def time? method tag? (line 685) | def tag? method keys? (line 689) | def keys? method validate! (line 693) | def validate! method validate_time! (line 701) | def validate_time! method validate_tag! (line 717) | def validate_tag! method validate_keys! (line 728) | def validate_keys! method get_placeholders_time (line 750) | def get_placeholders_time(str) method get_placeholders_tag (line 760) | def get_placeholders_tag(str) method get_placeholders_keys (line 773) | def get_placeholders_keys(str) method extract_placeholders (line 778) | def extract_placeholders(str, chunk) method emit_events (line 853) | def emit_events(tag, es) method emit_sync (line 862) | def emit_sync(tag, es) method emit_buffered (line 874) | def emit_buffered(tag, es) method metadata (line 889) | def metadata(tag, time, record) method calculate_timekey (line 928) | def calculate_timekey(time) method chunk_for_test (line 938) | def chunk_for_test(tag, time, record) method execute_chunking (line 945) | def execute_chunking(tag, es, enqueue: false) method write_guard (line 955) | def write_guard(&block) method generate_format_proc (line 1004) | def generate_format_proc method handle_stream_with_custom_format (line 1023) | def handle_stream_with_custom_format(tag, es, enqueue: false) method handle_stream_with_standard_format (line 1043) | def handle_stream_with_standard_format(tag, es, enqueue: false) method handle_stream_simple (line 1061) | def handle_stream_simple(tag, es, enqueue: false) method commit_write (line 1087) | def commit_write(chunk_id, delayed: @delayed_commit, secondary: fa... method rollback_write (line 1111) | def rollback_write(chunk_id, update_retry: true) method try_rollback_write (line 1132) | def try_rollback_write method try_rollback_all (line 1146) | def try_rollback_all method next_flush_time (line 1161) | def next_flush_time method try_flush (line 1173) | def try_flush method backup_chunk (line 1274) | def backup_chunk(chunk, using_secondary, delayed_commit) method check_slow_flush (line 1285) | def check_slow_flush(start) method update_retry_state (line 1296) | def update_retry_state(chunk_id, using_secondary, error = nil) method log_retry_error (line 1331) | def log_retry_error(error, chunk_id_hex, using_secondary) method handle_limit_reached (line 1342) | def handle_limit_reached(error) method retry_state (line 1354) | def retry_state(randomize) method submit_flush_once (line 1373) | def submit_flush_once method force_flush (line 1389) | def force_flush method submit_flush_all (line 1396) | def submit_flush_all method interrupt_flushes (line 1405) | def interrupt_flushes method enqueue_thread_wait (line 1410) | def enqueue_thread_wait method flush_thread_wakeup (line 1422) | def flush_thread_wakeup method enqueue_thread_run (line 1434) | def enqueue_thread_run method flush_thread_run (line 1499) | def flush_thread_run(state) method statistics (line 1568) | def statistics FILE: lib/fluent/plugin/owned_by_mixin.rb type Fluent (line 17) | module Fluent type Plugin (line 18) | module Plugin type OwnedByMixin (line 19) | module OwnedByMixin function owner= (line 20) | def owner=(plugin) function owner (line 28) | def owner function log (line 34) | def log FILE: lib/fluent/plugin/parser.rb type Fluent (line 27) | module Fluent type Plugin (line 28) | module Plugin class Parser (line 29) | class Parser < Base class TimeoutChecker (line 30) | class TimeoutChecker method initialize (line 33) | def initialize(timeout) method start (line 41) | def start method stop (line 58) | def stop method execute (line 63) | def execute class ParserError (line 76) | class ParserError < StandardError; end method parser_type (line 104) | def parser_type method initialize (line 108) | def initialize method configure (line 114) | def configure(conf) method start (line 131) | def start method stop (line 137) | def stop method parse (line 143) | def parse(text, &block) method parse_with_timeout (line 147) | def parse_with_timeout(text, &block) method call (line 157) | def call(*a, &b) method implement? (line 163) | def implement?(feature) method parse_io (line 173) | def parse_io(io, &block) method parse_partial_data (line 177) | def parse_partial_data(data, &block) method parse_time (line 181) | def parse_time(record) method convert_values (line 202) | def convert_values(time, record) method string_like_null (line 222) | def string_like_null(value, null_empty_string = @null_empty_string... method build_type_converters (line 228) | def build_type_converters(types) FILE: lib/fluent/plugin/parser_apache.rb type Fluent (line 19) | module Fluent type Plugin (line 20) | module Plugin class ApacheParser (line 21) | class ApacheParser < RegexpParser FILE: lib/fluent/plugin/parser_apache2.rb type Fluent (line 19) | module Fluent type Plugin (line 20) | module Plugin class Apache2Parser (line 21) | class Apache2Parser < Parser method initialize (line 27) | def initialize method configure (line 32) | def configure(conf) method patterns (line 37) | def patterns method parse (line 41) | def parse(text) FILE: lib/fluent/plugin/parser_apache_error.rb type Fluent (line 19) | module Fluent type Plugin (line 20) | module Plugin class ApacheErrorParser (line 21) | class ApacheErrorParser < RegexpParser FILE: lib/fluent/plugin/parser_csv.rb type Fluent (line 21) | module Fluent type Plugin (line 22) | module Plugin class CSVParser (line 23) | class CSVParser < Parser method configure (line 33) | def configure(conf) method parse (line 48) | def parse(text, &block) method parse_fast (line 55) | def parse_fast(text, &block) method parse_fast_internal (line 64) | def parse_fast_internal(text) FILE: lib/fluent/plugin/parser_json.rb type Fluent (line 24) | module Fluent type Plugin (line 25) | module Plugin class JSONParser (line 26) | class JSONParser < Parser method configure (line 41) | def configure(conf) method configure_json_parser (line 50) | def configure_json_parser(name) method parse (line 64) | def parse(text) method parse_one_record (line 87) | def parse_one_record(record) method parser_type (line 92) | def parser_type method parse_io (line 96) | def parse_io(io, &block) FILE: lib/fluent/plugin/parser_ltsv.rb type Fluent (line 19) | module Fluent type Plugin (line 20) | module Plugin class LabeledTSVParser (line 21) | class LabeledTSVParser < Parser method configure (line 33) | def configure(conf) method parse (line 38) | def parse(text) FILE: lib/fluent/plugin/parser_msgpack.rb type Fluent (line 20) | module Fluent type Plugin (line 21) | module Plugin class MessagePackParser (line 22) | class MessagePackParser < Parser method configure (line 25) | def configure(conf) method parser_type (line 30) | def parser_type method parse (line 34) | def parse(data, &block) method parse_io (line 41) | def parse_io(io, &block) method parse_unpacked_data (line 48) | def parse_unpacked_data(data) FILE: lib/fluent/plugin/parser_multiline.rb type Fluent (line 20) | module Fluent type Plugin (line 21) | module Plugin class MultilineParser (line 22) | class MultilineParser < Parser class MultilineRegexpParser (line 32) | class MultilineRegexpParser < Fluent::Plugin::RegexpParser method parse (line 33) | def parse(text) method configure (line 54) | def configure(conf) method parse (line 76) | def parse(text, &block) method has_firstline? (line 102) | def has_firstline? method firstline? (line 106) | def firstline?(text) method parse_formats (line 112) | def parse_formats(conf) method check_format_range (line 129) | def check_format_range(conf) method check_format_regexp (line 139) | def check_format_regexp(format, key) FILE: lib/fluent/plugin/parser_nginx.rb type Fluent (line 19) | module Fluent type Plugin (line 20) | module Plugin class NginxParser (line 21) | class NginxParser < RegexpParser FILE: lib/fluent/plugin/parser_none.rb type Fluent (line 21) | module Fluent type Plugin (line 22) | module Plugin class NoneParser (line 23) | class NoneParser < Parser method parse (line 29) | def parse(text) FILE: lib/fluent/plugin/parser_regexp.rb type Fluent (line 19) | module Fluent type Plugin (line 20) | module Plugin class RegexpParser (line 21) | class RegexpParser < Parser method configure (line 33) | def configure(conf) method parse (line 49) | def parse(text) FILE: lib/fluent/plugin/parser_syslog.rb type Fluent (line 21) | module Fluent type Plugin (line 22) | module Plugin class SyslogParser (line 23) | class SyslogParser < Parser method initialize (line 63) | def initialize method configure (line 79) | def configure(conf) method setup_time_parser_3164 (line 124) | def setup_time_parser_3164(time_fmt) method setup_time_parser_5424 (line 132) | def setup_time_parser_5424(time_fmt) method patterns (line 140) | def patterns method parse (line 144) | def parse(text) method parse_auto (line 148) | def parse_auto(text, &block) method parse_rfc3164_regex (line 166) | def parse_rfc3164_regex(text, &block) method parse_rfc5424_regex (line 201) | def parse_rfc5424_regex(text, &block) method parse_plain (line 246) | def parse_plain(re, time, text, idx, record, capture_list, &block) method parse_rfc3164 (line 272) | def parse_rfc3164(text, &block) method parse_rfc5424 (line 374) | def parse_rfc5424(text, &block) FILE: lib/fluent/plugin/parser_tsv.rb type Fluent (line 19) | module Fluent type Plugin (line 20) | module Plugin class TSVParser (line 21) | class TSVParser < Parser method configure (line 29) | def configure(conf) method parse (line 34) | def parse(text) FILE: lib/fluent/plugin/sd_file.rb type Fluent (line 22) | module Fluent type Plugin (line 23) | module Plugin class FileServiceDiscovery (line 24) | class FileServiceDiscovery < ServiceDiscovery method initialize (line 38) | def initialize method configure (line 44) | def configure(conf) method start (line 59) | def start(queue) method parser (line 70) | def parser method refresh_file (line 82) | def refresh_file(queue) method fetch_server_info (line 115) | def fetch_server_info class StatWatcher (line 140) | class StatWatcher < Coolio::StatWatcher method initialize (line 141) | def initialize(path, log, &callback) method on_change (line 148) | def on_change(prev_stat, cur_stat) FILE: lib/fluent/plugin/sd_srv.rb type Fluent (line 22) | module Fluent type Plugin (line 23) | module Plugin class SrvServiceDiscovery (line 24) | class SrvServiceDiscovery < ServiceDiscovery method initialize (line 50) | def initialize method configure (line 55) | def configure(conf) method start (line 72) | def start(queue) method refresh_srv_records (line 82) | def refresh_srv_records(queue) method fetch_srv_record (line 113) | def fetch_srv_record method dns_lookup! (line 129) | def dns_lookup!(host) FILE: lib/fluent/plugin/sd_static.rb type Fluent (line 19) | module Fluent type Plugin (line 20) | module Plugin class StaticServiceDiscovery (line 21) | class StaticServiceDiscovery < ServiceDiscovery method configure (line 45) | def configure(conf) method start (line 53) | def start(queue = nil) FILE: lib/fluent/plugin/service_discovery.rb type Fluent (line 23) | module Fluent type Plugin (line 24) | module Plugin class ServiceDiscovery (line 25) | class ServiceDiscovery < Base method discovery_id (line 35) | def discovery_id method service_in_msg (line 45) | def service_in_msg(service) method service_out_msg (line 49) | def service_out_msg(service) method initialize (line 54) | def initialize method start (line 60) | def start(queue = nil) FILE: lib/fluent/plugin/socket_util.rb type Fluent (line 19) | module Fluent FILE: lib/fluent/plugin/storage.rb type Fluent (line 20) | module Fluent type Plugin (line 21) | module Plugin class Storage (line 22) | class Storage < Base method validate_key (line 34) | def self.validate_key(key) method persistent_always? (line 41) | def persistent_always? method synchronized? (line 45) | def synchronized? method implementation (line 49) | def implementation method load (line 53) | def load method save (line 57) | def save method get (line 61) | def get(key) method fetch (line 65) | def fetch(key, defval) method put (line 69) | def put(key, value) method delete (line 74) | def delete(key) method update (line 79) | def update(key, &block) # transactional get-and-update FILE: lib/fluent/plugin/storage_local.rb type Fluent (line 24) | module Fluent type Plugin (line 25) | module Plugin class LocalStorage (line 26) | class LocalStorage < Storage method initialize (line 40) | def initialize method configure (line 46) | def configure(conf) method multi_workers_ready? (line 105) | def multi_workers_ready? method load (line 112) | def load method save (line 129) | def save method get (line 145) | def get(key) method fetch (line 149) | def fetch(key, defval) method put (line 153) | def put(key, value) method delete (line 157) | def delete(key) method update (line 161) | def update(key, &block) FILE: lib/fluent/plugin/string_util.rb type Fluent (line 19) | module Fluent FILE: lib/fluent/plugin_helper.rb type Fluent (line 37) | module Fluent type PluginHelper (line 38) | module PluginHelper type Mixin (line 39) | module Mixin function included (line 40) | def self.included(mod) function extended (line 45) | def self.extended(mod) function helpers_internal (line 53) | def helpers_internal(*snake_case_symbols) function helpers (line 65) | def helpers(*snake_case_symbols) function plugin_helpers (line 71) | def plugin_helpers FILE: lib/fluent/plugin_helper/cert_option.rb type Fluent (line 23) | module Fluent type PluginHelper (line 24) | module PluginHelper type CertOption (line 25) | module CertOption function cert_option_create_context (line 26) | def cert_option_create_context(version, insecure, ciphers, conf) function cert_option_server_validate! (line 68) | def cert_option_server_validate!(conf) function cert_option_load (line 96) | def cert_option_load(cert_path, private_key_path, private_key_pass... function cert_option_cert_generation_opts_from_conf (line 103) | def cert_option_cert_generation_opts_from_conf(conf) function cert_option_generate_pair (line 115) | def cert_option_generate_pair(opts, issuer = nil) function cert_option_add_extensions (line 138) | def cert_option_add_extensions(cert, extensions) function cert_option_generate_ca_pair_self_signed (line 146) | def cert_option_generate_ca_pair_self_signed(generate_opts) function cert_option_generate_server_pair_by_ca (line 157) | def cert_option_generate_server_pair_by_ca(ca_cert_path, ca_key_pa... function cert_option_generate_server_pair_self_signed (line 174) | def cert_option_generate_server_pair_self_signed(generate_opts) function cert_option_certificates_from_file (line 187) | def cert_option_certificates_from_file(path) FILE: lib/fluent/plugin_helper/child_process.rb type Fluent (line 24) | module Fluent type PluginHelper (line 25) | module PluginHelper type ChildProcess (line 26) | module ChildProcess function child_process_running? (line 44) | def child_process_running? function child_process_id (line 49) | def child_process_id function child_process_exist? (line 53) | def child_process_exist?(pid) function child_process_execute (line 65) | def child_process_execute( function initialize (line 122) | def initialize function stop (line 131) | def stop function shutdown (line 142) | def shutdown function close (line 174) | def close function terminate (line 202) | def terminate function child_process_kill (line 208) | def child_process_kill(pinfo, force: false) function child_process_execute_once (line 231) | def child_process_execute_once( FILE: lib/fluent/plugin_helper/compat_parameters.rb type Fluent (line 20) | module Fluent type PluginHelper (line 21) | module PluginHelper type CompatParameters (line 22) | module CompatParameters function compat_parameters_convert (line 112) | def compat_parameters_convert(conf, *types, **kwargs) function compat_parameters_buffer (line 133) | def compat_parameters_buffer(conf, default_chunk_key: '') function compat_parameters_inject (line 181) | def compat_parameters_inject(conf) function to_bool (line 222) | def to_bool(v) function compat_parameters_extract (line 230) | def compat_parameters_extract(conf) function compat_parameters_parser (line 264) | def compat_parameters_parser(conf) function compat_parameters_formatter (line 310) | def compat_parameters_formatter(conf) function compat_parameters_copy_to_subsection_attributes (line 327) | def compat_parameters_copy_to_subsection_attributes(conf, params, ... FILE: lib/fluent/plugin_helper/counter.rb type Fluent (line 20) | module Fluent type PluginHelper (line 21) | module PluginHelper type Counter (line 22) | module Counter function counter_client_create (line 23) | def counter_client_create(scope:, loop: Coolio::Loop.new) function initialize (line 35) | def initialize function stop (line 40) | def stop function terminate (line 45) | def terminate FILE: lib/fluent/plugin_helper/event_emitter.rb type Fluent (line 19) | module Fluent type PluginHelper (line 20) | module PluginHelper type EventEmitter (line 21) | module EventEmitter function router (line 27) | def router function router= (line 41) | def router=(r) function has_router? (line 46) | def has_router? function event_emitter_used_actually? (line 50) | def event_emitter_used_actually? function event_emitter_apply_source_only (line 54) | def event_emitter_apply_source_only function event_emitter_cancel_source_only (line 58) | def event_emitter_cancel_source_only function event_emitter_router (line 62) | def event_emitter_router(label_name) function initialize (line 82) | def initialize function configure (line 90) | def configure(conf) function after_shutdown (line 96) | def after_shutdown function close (line 101) | def close # unset router many times to reduce test cost function terminate (line 106) | def terminate FILE: lib/fluent/plugin_helper/event_loop.rb type Fluent (line 21) | module Fluent type PluginHelper (line 22) | module PluginHelper type EventLoop (line 23) | module EventLoop function event_loop_attach (line 38) | def event_loop_attach(watcher) function event_loop_detach (line 46) | def event_loop_detach(watcher) function event_loop_wait_until_start (line 55) | def event_loop_wait_until_start function event_loop_wait_until_stop (line 59) | def event_loop_wait_until_stop function event_loop_running? (line 70) | def event_loop_running? function initialize (line 74) | def initialize function start (line 84) | def start function shutdown (line 100) | def shutdown function after_shutdown (line 116) | def after_shutdown function close (line 139) | def close function terminate (line 151) | def terminate class DefaultWatcher (line 161) | class DefaultWatcher < Coolio::TimerWatcher method initialize (line 162) | def initialize method on_timer (line 166) | def on_timer; end FILE: lib/fluent/plugin_helper/extract.rb type Fluent (line 21) | module Fluent type PluginHelper (line 22) | module PluginHelper type Extract (line 23) | module Extract function extract_tag_from_record (line 24) | def extract_tag_from_record(record) function extract_time_from_record (line 35) | def extract_time_from_record(record) type ExtractParams (line 46) | module ExtractParams function included (line 63) | def self.included(mod) function initialize (line 67) | def initialize function configure (line 77) | def configure(conf) FILE: lib/fluent/plugin_helper/formatter.rb type Fluent (line 22) | module Fluent type PluginHelper (line 23) | module PluginHelper type Formatter (line 24) | module Formatter function formatter_create (line 25) | def formatter_create(usage: '', type: nil, conf: nil, default_type... type FormatterParams (line 61) | module FormatterParams function included (line 70) | def self.included(mod) function initialize (line 76) | def initialize function configure (line 82) | def configure(conf) function start (line 95) | def start function formatter_operate (line 103) | def formatter_operate(method_name, &block) function stop (line 114) | def stop function before_shutdown (line 119) | def before_shutdown function shutdown (line 124) | def shutdown function after_shutdown (line 129) | def after_shutdown function close (line 134) | def close function terminate (line 139) | def terminate FILE: lib/fluent/plugin_helper/http_server.rb type Fluent (line 22) | module Fluent type PluginHelper (line 23) | module PluginHelper type HttpServer (line 24) | module HttpServer function included (line 33) | def self.included(mod) function initialize (line 37) | def initialize(*) function create_http_server (line 42) | def create_http_server(title, addr:, port:, logger:, default_app: ... function http_server_create_http_server (line 54) | def http_server_create_http_server(title, addr:, port:, logger:, d... function http_server_create_https_server (line 80) | def http_server_create_https_server(title, addr:, port:, logger:, ... function stop (line 100) | def stop function _http_server_overwrite_config (line 110) | def _http_server_overwrite_config(config, opts) function _block_until_http_server_start (line 121) | def _block_until_http_server_start FILE: lib/fluent/plugin_helper/http_server/app.rb type Fluent (line 21) | module Fluent type PluginHelper (line 22) | module PluginHelper type HttpServer (line 23) | module HttpServer class App (line 24) | class App method initialize (line 25) | def initialize(router, logger) method call (line 31) | def call(request) FILE: lib/fluent/plugin_helper/http_server/methods.rb type Fluent (line 17) | module Fluent type PluginHelper (line 18) | module PluginHelper type HttpServer (line 19) | module HttpServer type Methods (line 20) | module Methods FILE: lib/fluent/plugin_helper/http_server/request.rb type Fluent (line 21) | module Fluent type PluginHelper (line 22) | module PluginHelper type HttpServer (line 23) | module HttpServer class Request (line 24) | class Request method initialize (line 27) | def initialize(request) method headers (line 33) | def headers method query (line 37) | def query method body (line 47) | def body FILE: lib/fluent/plugin_helper/http_server/router.rb type Fluent (line 19) | module Fluent type PluginHelper (line 20) | module PluginHelper type HttpServer (line 21) | module HttpServer class Router (line 22) | class Router class NotFoundApp (line 23) | class NotFoundApp method call (line 24) | def self.call(req) method initialize (line 29) | def initialize(default_app = nil) method mount (line 37) | def mount(method, path, app) method route! (line 48) | def route!(method, path, request) FILE: lib/fluent/plugin_helper/http_server/server.rb type Fluent (line 26) | module Fluent type PluginHelper (line 27) | module PluginHelper type HttpServer (line 28) | module HttpServer class Server (line 29) | class Server method initialize (line 33) | def initialize(addr:, port:, logger:, default_app: nil, tls_cont... method start (line 70) | def start(notify = nil) method stop (line 92) | def stop FILE: lib/fluent/plugin_helper/http_server/ssl_context_builder.rb type Fluent (line 19) | module Fluent type PluginHelper (line 20) | module PluginHelper type HttpServer (line 21) | module HttpServer class SSLContextBuilder (line 23) | class SSLContextBuilder method initialize (line 26) | def initialize(log) method build (line 31) | def build(config) FILE: lib/fluent/plugin_helper/inject.rb type Fluent (line 22) | module Fluent type PluginHelper (line 23) | module PluginHelper type Inject (line 24) | module Inject function inject_values_to_record (line 25) | def inject_values_to_record(tag, time, record) function inject_values_to_event_stream (line 45) | def inject_values_to_event_stream(tag, es) type InjectParams (line 69) | module InjectParams function included (line 87) | def self.included(mod) function initialize (line 91) | def initialize function configure (line 103) | def configure(conf) FILE: lib/fluent/plugin_helper/metrics.rb type Fluent (line 26) | module Fluent type PluginHelper (line 27) | module PluginHelper type Metrics (line 28) | module Metrics function initialize (line 33) | def initialize function configure (line 39) | def configure(conf) function metrics_create (line 53) | def metrics_create(namespace: "fluentd", subsystem: "metrics", nam... function metrics_operate (line 85) | def metrics_operate(method_name, &block) function start (line 96) | def start function stop (line 103) | def stop function before_shutdown (line 109) | def before_shutdown function shutdown (line 114) | def shutdown function after_shutdown (line 119) | def after_shutdown function close (line 124) | def close function terminate (line 129) | def terminate FILE: lib/fluent/plugin_helper/parser.rb type Fluent (line 22) | module Fluent type PluginHelper (line 23) | module PluginHelper type Parser (line 24) | module Parser function parser_create (line 25) | def parser_create(usage: '', type: nil, conf: nil, default_type: nil) type ParserParams (line 61) | module ParserParams function included (line 70) | def self.included(mod) function initialize (line 76) | def initialize function configure (line 82) | def configure(conf) function start (line 95) | def start function parser_operate (line 103) | def parser_operate(method_name, &block) function stop (line 114) | def stop function before_shutdown (line 119) | def before_shutdown function shutdown (line 124) | def shutdown function after_shutdown (line 129) | def after_shutdown function close (line 134) | def close function terminate (line 139) | def terminate FILE: lib/fluent/plugin_helper/record_accessor.rb type Fluent (line 19) | module Fluent type PluginHelper (line 20) | module PluginHelper type RecordAccessor (line 21) | module RecordAccessor function record_accessor_create (line 22) | def record_accessor_create(param) function record_accessor_nested? (line 26) | def record_accessor_nested?(param) class Accessor (line 30) | class Accessor method initialize (line 33) | def initialize(param) method call (line 54) | def call(r) method call_dig (line 60) | def call_dig(r) method delete (line 64) | def delete(r) method delete_nest (line 68) | def delete_nest(r) method set (line 80) | def set(r, v) method set_nest (line 86) | def set_nest(r, v) method parse_parameter (line 92) | def self.parse_parameter(param) method parse_dot_notation (line 102) | def self.parse_dot_notation(param) method validate_dot_keys (line 119) | def self.validate_dot_keys(keys) method parse_dot_array_op (line 128) | def self.parse_dot_array_op(key, param) method parse_bracket_notation (line 162) | def self.parse_bracket_notation(param) FILE: lib/fluent/plugin_helper/retry_state.rb type Fluent (line 17) | module Fluent type PluginHelper (line 18) | module PluginHelper type RetryState (line 19) | module RetryState function retry_state_create (line 20) | def retry_state_create( class RetryStateMachine (line 35) | class RetryStateMachine method initialize (line 38) | def initialize(title, wait, timeout, forever, max_steps, randomi... method current_time (line 75) | def current_time method randomize (line 79) | def randomize(interval) method calc_next_time (line 85) | def calc_next_time method naive_next_time (line 114) | def naive_next_time(retry_times) method secondary? (line 118) | def secondary? method step (line 122) | def step method recalc_next_time (line 140) | def recalc_next_time method limit? (line 144) | def limit? class ExponentialBackOffRetry (line 153) | class ExponentialBackOffRetry < RetryStateMachine method initialize (line 154) | def initialize(title, wait, timeout, forever, max_steps, randomi... method naive_next_time (line 164) | def naive_next_time(retry_next_times) method calc_max_retry_timeout (line 169) | def calc_max_retry_timeout(max_steps) method calc_interval (line 177) | def calc_interval(num) method raw_interval (line 195) | def raw_interval(num) class PeriodicRetry (line 200) | class PeriodicRetry < RetryStateMachine method initialize (line 201) | def initialize(title, wait, timeout, forever, max_steps, randomi... method naive_next_time (line 209) | def naive_next_time(retry_next_times) method calc_max_retry_timeout (line 213) | def calc_max_retry_timeout(max_steps) FILE: lib/fluent/plugin_helper/server.rb type Fluent (line 29) | module Fluent type PluginHelper (line 30) | module PluginHelper type Server (line 31) | module Server function server_wait_until_start (line 48) | def server_wait_until_start function server_wait_until_stop (line 52) | def server_wait_until_stop function server_create_connection (line 70) | def server_create_connection(title, port, proto: nil, bind: '0.0.0... function server_create (line 124) | def server_create(title, port, proto: nil, bind: '0.0.0.0', shared... function server_create_tcp (line 192) | def server_create_tcp(title, port, **kwargs, &callback) function server_create_udp (line 196) | def server_create_udp(title, port, **kwargs, &callback) function server_create_tls (line 200) | def server_create_tls(title, port, **kwargs, &callback) function server_create_unix (line 204) | def server_create_unix(title, port, **kwargs, &callback) function server_attach (line 210) | def server_attach(title, proto, port, bind, shared, server) function server_create_for_tcp_connection (line 215) | def server_create_for_tcp_connection(shared, bind, port, backlog, ... function server_create_for_tls_connection (line 230) | def server_create_for_tls_connection(shared, bind, port, conf, bac... function server_create_transport_section_object (line 257) | def server_create_transport_section_object(opts) type ServerTransportParams (line 267) | module ServerTransportParams function included (line 325) | def self.included(mod) function initialize (line 329) | def initialize function configure (line 336) | def configure(conf) function stop (line 346) | def stop function shutdown (line 358) | def shutdown function terminate (line 369) | def terminate function server_socket_manager_client (line 374) | def server_socket_manager_client function server_create_tcp_socket (line 382) | def server_create_tcp_socket(shared, bind, port) function server_create_udp_socket (line 397) | def server_create_udp_socket(shared, bind, port) class CallbackSocket (line 414) | class CallbackSocket method initialize (line 415) | def initialize(server_type, sock, enabled_events = [], close_soc... method remote_addr (line 423) | def remote_addr method remote_host (line 427) | def remote_host method remote_port (line 431) | def remote_port method send (line 435) | def send(data, flags = 0) method write (line 439) | def write(data) method close_after_write_complete (line 443) | def close_after_write_complete method close (line 447) | def close method data (line 451) | def data(&callback) method on (line 455) | def on(event, &callback) class TCPCallbackSocket (line 472) | class TCPCallbackSocket < CallbackSocket method initialize (line 477) | def initialize(sock) method write (line 483) | def write(data) class TLSCallbackSocket (line 488) | class TLSCallbackSocket < CallbackSocket method initialize (line 493) | def initialize(sock) method write (line 499) | def write(data) class UDPCallbackSocket (line 504) | class UDPCallbackSocket < CallbackSocket method initialize (line 507) | def initialize(sock, peeraddr, **kwargs) method remote_addr (line 512) | def remote_addr method remote_host (line 516) | def remote_host method remote_port (line 520) | def remote_port method write (line 524) | def write(data) type EventHandler (line 529) | module EventHandler class UDPServer (line 530) | class UDPServer < Coolio::IO method initialize (line 533) | def initialize(sock, max_bytes, flags, close_socket, log, unde... method on_readable_without_sock (line 555) | def on_readable_without_sock method on_readable_with_sock (line 572) | def on_readable_with_sock class TCPServer (line 590) | class TCPServer < Coolio::TCPSocket method initialize (line 594) | def initialize(sock, socket_option_setter, close_callback, log... method to_io (line 616) | def to_io method data (line 620) | def data(&callback) method write (line 632) | def write(data) method on_writable (line 638) | def on_writable method on_connect (line 643) | def on_connect method on_read_without_connection (line 651) | def on_read_without_connection(data) method on_read_with_connection (line 660) | def on_read_with_connection(data) method close (line 669) | def close class TLSServer (line 679) | class TLSServer < Coolio::Socket method initialize (line 684) | def initialize(sock, context, socket_option_setter, close_call... method to_io (line 708) | def to_io method data (line 712) | def data(&callback) method write (line 724) | def write(data) method try_tls_accept (line 732) | def try_tls_accept method on_connect (line 766) | def on_connect method on_readable (line 770) | def on_readable method on_writable (line 781) | def on_writable method on_read_without_connection (line 810) | def on_read_without_connection(data) method on_read_with_connection (line 819) | def on_read_with_connection(data) method close (line 828) | def close FILE: lib/fluent/plugin_helper/service_discovery.rb type Fluent (line 20) | module Fluent type PluginHelper (line 21) | module PluginHelper type ServiceDiscovery (line 22) | module ServiceDiscovery function included (line 28) | def self.included(mod) function configure (line 32) | def configure(conf) function start (line 38) | def start function service_discovery_configure (line 68) | def service_discovery_configure(title, static_default_service_dire... function service_discovery_select_service (line 81) | def service_discovery_select_service(&block) function service_discovery_services (line 85) | def service_discovery_services function service_discovery_rebalance (line 89) | def service_discovery_rebalance function service_discovery_create_manager (line 97) | def service_discovery_create_manager(title, configurations:, load_... function discovery_manager (line 112) | def discovery_manager type ServiceDiscoveryParams (line 116) | module ServiceDiscoveryParams FILE: lib/fluent/plugin_helper/service_discovery/manager.rb type Fluent (line 20) | module Fluent type PluginHelper (line 21) | module PluginHelper type ServiceDiscovery (line 22) | module ServiceDiscovery class Manager (line 23) | class Manager method initialize (line 24) | def initialize(log:, load_balancer: nil, custom_build_method: nil) method configure (line 35) | def configure(configs, parent: nil) method static_config? (line 59) | def static_config? method start (line 63) | def start method run_once (line 77) | def run_once method rebalance (line 103) | def rebalance method select_service (line 107) | def select_service(&block) method services (line 111) | def services method handle_message (line 117) | def handle_message(msg) method build_service (line 140) | def build_service(n) FILE: lib/fluent/plugin_helper/service_discovery/round_robin_balancer.rb type Fluent (line 17) | module Fluent type PluginHelper (line 18) | module PluginHelper type ServiceDiscovery (line 19) | module ServiceDiscovery class RoundRobinBalancer (line 20) | class RoundRobinBalancer method initialize (line 21) | def initialize method rebalance (line 26) | def rebalance(services) method select_service (line 32) | def select_service FILE: lib/fluent/plugin_helper/socket.rb type Fluent (line 27) | module Fluent type PluginHelper (line 28) | module PluginHelper type Socket (line 29) | module Socket function socket_create (line 41) | def socket_create(proto, host, port, **kwargs, &block) function socket_create_tcp (line 56) | def socket_create_tcp(host, port, resolve_name: false, connect_tim... function socket_create_udp (line 77) | def socket_create_udp(host, port, resolve_name: false, connect: fa... function socket_create_tls (line 93) | def socket_create_tls( function socket_certificates_from_file (line 207) | def socket_certificates_from_file(path) function tls_verify_result_name (line 218) | def self.tls_verify_result_name(code) type WrappedSocket (line 257) | module WrappedSocket class TCP (line 258) | class TCP < ::TCPSocket method remote_addr (line 259) | def remote_addr; peeraddr[3]; end method remote_host (line 260) | def remote_host; peeraddr[2]; end method remote_port (line 261) | def remote_port; peeraddr[1]; end class UDP (line 263) | class UDP < ::UDPSocket method remote_addr (line 264) | def remote_addr; peeraddr[3]; end method remote_host (line 265) | def remote_host; peeraddr[2]; end method remote_port (line 266) | def remote_port; peeraddr[1]; end class TLS (line 268) | class TLS < OpenSSL::SSL::SSLSocket method remote_addr (line 269) | def remote_addr; peeraddr[3]; end method remote_host (line 270) | def remote_host; peeraddr[2]; end method remote_port (line 271) | def remote_port; peeraddr[1]; end function initialize (line 275) | def initialize FILE: lib/fluent/plugin_helper/socket_option.rb type Fluent (line 21) | module Fluent type PluginHelper (line 22) | module PluginHelper type SocketOption (line 23) | module SocketOption function socket_option_validate! (line 29) | def socket_option_validate!(protocol, resolve_name: nil, linger_ti... function socket_option_set (line 47) | def socket_option_set(sock, resolve_name: nil, nonblock: false, li... function socket_option_set_one (line 91) | def socket_option_set_one(sock, option, value) FILE: lib/fluent/plugin_helper/storage.rb type Fluent (line 25) | module Fluent type PluginHelper (line 26) | module PluginHelper type Storage (line 27) | module Storage function storage_create (line 32) | def storage_create(usage: '', type: nil, conf: nil, default_type: ... type StorageParams (line 79) | module StorageParams function included (line 88) | def self.included(mod) function initialize (line 94) | def initialize function configure (line 100) | def configure(conf) function start (line 116) | def start function storage_operate (line 137) | def storage_operate(method_name, &block) function stop (line 148) | def stop function before_shutdown (line 154) | def before_shutdown function shutdown (line 159) | def shutdown function after_shutdown (line 166) | def after_shutdown function close (line 171) | def close function terminate (line 176) | def terminate function wrap_instance (line 182) | def wrap_instance(storage) class PersistentWrapper (line 194) | class PersistentWrapper method initialize (line 198) | def initialize(storage) method method_missing (line 207) | def method_missing(name, *args) method persistent_always? (line 211) | def persistent_always? method persistent (line 215) | def persistent method autosave (line 219) | def autosave method synchronized? (line 223) | def synchronized? method implementation (line 227) | def implementation method load (line 231) | def load method save (line 237) | def save method get (line 243) | def get(key) method fetch (line 250) | def fetch(key, defval) method put (line 257) | def put(key, value) method delete (line 266) | def delete(key) method update (line 275) | def update(key, &block) class SynchronizeWrapper (line 286) | class SynchronizeWrapper method initialize (line 289) | def initialize(storage) method method_missing (line 299) | def method_missing(name, *args) method synchronized? (line 303) | def synchronized? method implementation (line 307) | def implementation method load (line 311) | def load method save (line 317) | def save method get (line 323) | def get(key) method fetch (line 327) | def fetch(key, defval) method put (line 331) | def put(key, value) method delete (line 335) | def delete(key) method update (line 339) | def update(key, &block) FILE: lib/fluent/plugin_helper/thread.rb type Fluent (line 19) | module Fluent type PluginHelper (line 20) | module PluginHelper type Thread (line 21) | module Thread function thread_current_running? (line 32) | def thread_current_running? function thread_wait_until_start (line 37) | def thread_wait_until_start function thread_wait_until_stop (line 43) | def thread_wait_until_stop function thread_create (line 65) | def thread_create(title) function thread_exist? (line 103) | def thread_exist?(title) function thread_started? (line 107) | def thread_started?(title) function thread_running? (line 112) | def thread_running?(title) function initialize (line 117) | def initialize function stop (line 124) | def stop function after_shutdown (line 140) | def after_shutdown function close (line 153) | def close function terminate (line 164) | def terminate FILE: lib/fluent/plugin_helper/timer.rb type Fluent (line 20) | module Fluent type PluginHelper (line 21) | module PluginHelper type Timer (line 22) | module Timer function timer_execute (line 33) | def timer_execute(title, interval, repeat: true, &block) function timer_running? (line 44) | def timer_running? function initialize (line 48) | def initialize function start (line 53) | def start function stop (line 58) | def stop function terminate (line 63) | def terminate class TimerWatcher (line 68) | class TimerWatcher < Coolio::TimerWatcher method initialize (line 69) | def initialize(title, interval, repeat, log, checker, detacher, ... method on_timer (line 79) | def on_timer FILE: lib/fluent/plugin_id.rb type Fluent (line 21) | module Fluent type PluginId (line 22) | module PluginId function initialize (line 24) | def initialize function configure (line 32) | def configure(conf) function plugin_id_for_test? (line 47) | def plugin_id_for_test? function plugin_id_configured? (line 59) | def plugin_id_configured? function plugin_id (line 65) | def plugin_id function plugin_root_dir (line 73) | def plugin_root_dir function stop (line 85) | def stop FILE: lib/fluent/process.rb type Fluent (line 19) | module Fluent FILE: lib/fluent/registry.rb type Fluent (line 19) | module Fluent class Registry (line 20) | class Registry method initialize (line 24) | def initialize(kind, search_prefix, dir_search_prefix: nil) method register (line 34) | def register(type, value) method lookup (line 39) | def lookup(type) method reverse_lookup (line 52) | def reverse_lookup(value) method search (line 59) | def search(type) FILE: lib/fluent/root_agent.rb type Fluent (line 27) | module Fluent class RootAgent (line 48) | class RootAgent < Agent class SourceOnlyMode (line 51) | class SourceOnlyMode method initialize (line 56) | def initialize(with_source_only, start_in_parallel) method enabled? (line 66) | def enabled? method only_zero_downtime_restart_ready? (line 70) | def only_zero_downtime_restart_ready? method disable! (line 74) | def disable! method initialize (line 79) | def initialize(log:, system_config: SystemConfig.new, start_in_paral... method source_only_router (line 97) | def source_only_router method configure (line 102) | def configure(conf) method setup_error_label (line 203) | def setup_error_label(e) method setup_source_only_buffer_agent (line 209) | def setup_source_only_buffer_agent(flush: false) method cleanup_source_only_buffer_agent (line 214) | def cleanup_source_only_buffer_agent method lifecycle (line 218) | def lifecycle(desc: false, kind_callback: nil, kind_or_agent_list: nil) method start (line 261) | def start(kind_or_agent_list: nil) method flush! (line 274) | def flush! method cancel_source_only! (line 294) | def cancel_source_only! method shutdown (line 326) | def shutdown(kind_or_agent_list: nil) method suppress_interval (line 401) | def suppress_interval(interval_time) method add_source (line 406) | def add_source(type, conf) method add_label (line 425) | def add_label(name) method find_label (line 432) | def find_label(label_name) method emit_error_event (line 440) | def emit_error_event(tag, time, record, error) method handle_emits_error (line 452) | def handle_emits_error(tag, es, error) FILE: lib/fluent/rpc.rb type Fluent (line 19) | module Fluent type RPC (line 20) | module RPC class Server (line 21) | class Server method initialize (line 22) | def initialize(endpoint, log) method mount (line 37) | def mount(path, servlet, *args) method mount_proc (line 42) | def mount_proc(path, &block) method start (line 76) | def start method shutdown (line 83) | def shutdown FILE: lib/fluent/source_only_buffer_agent.rb type Fluent (line 20) | module Fluent class SourceOnlyBufferAgent (line 21) | class SourceOnlyBufferAgent < Agent method initialize (line 26) | def initialize(log:, system_config:) method configure (line 35) | def configure(flush: false) method cleanup (line 60) | def cleanup method emit_error_event (line 79) | def emit_error_event(tag, time, record, error) method handle_emits_error (line 84) | def handle_emits_error(tag, es, error) method config_example_to_recover (line 92) | def config_example_to_recover(path) FILE: lib/fluent/static_config_analysis.rb type Fluent (line 20) | module Fluent class StaticConfigAnalysis (line 22) | class StaticConfigAnalysis type Elem (line 23) | module Elem method all_plugins (line 32) | def all_plugins method call (line 39) | def self.call(conf, workers: 1) method initialize (line 43) | def initialize(workers) method call (line 49) | def call(config) method reset (line 64) | def reset method static_worker_analyse (line 71) | def static_worker_analyse(conf) method parse_worker_id (line 103) | def parse_worker_id(conf) method static_label_analyse (line 137) | def static_label_analyse(conf) method static_filter_and_output_analyse (line 157) | def static_filter_and_output_analyse(conf) method static_input_analyse (line 179) | def static_input_analyse(conf) FILE: lib/fluent/supervisor.rb type Fluent (line 41) | module Fluent type ServerModule (line 42) | module ServerModule function before_run (line 43) | def before_run function after_run (line 92) | def after_run function cleanup_lock_dir (line 102) | def cleanup_lock_dir function run_rpc_server (line 107) | def run_rpc_server function stop_rpc_server (line 183) | def stop_rpc_server function run_counter_server (line 187) | def run_counter_server(counter_conf) function stop_counter_server (line 195) | def stop_counter_server function stop_parallel_old_supervisor_after_delay (line 199) | def stop_parallel_old_supervisor_after_delay function notify_new_supervisor_that_old_one_has_stopped (line 218) | def notify_new_supervisor_that_old_one_has_stopped function install_supervisor_signal_handlers (line 237) | def install_supervisor_signal_handlers function restart (line 270) | def restart(graceful) function reload (line 276) | def reload function install_windows_event_handler (line 283) | def install_windows_event_handler function stop_windows_event_thread (line 341) | def stop_windows_event_thread function supervisor_sighup_handler (line 349) | def supervisor_sighup_handler function supervisor_sigusr1_handler (line 353) | def supervisor_sigusr1_handler function graceful_reload (line 358) | def graceful_reload function zero_downtime_restart (line 386) | def zero_downtime_restart function cancel_source_only (line 432) | def cancel_source_only function supervisor_dump_handler_for_windows (line 459) | def supervisor_dump_handler_for_windows function kill_worker (line 479) | def kill_worker function supervisor_dump_config_handler (line 493) | def supervisor_dump_config_handler function supervisor_get_dump_config_handler (line 497) | def supervisor_get_dump_config_handler function dump (line 501) | def dump function reopen_log (line 507) | def reopen_log function send_signal_to_workers (line 517) | def send_signal_to_workers(signal) function send_command_to_workers (line 530) | def send_command_to_workers(signal) function dump_all_windows_workers (line 544) | def dump_all_windows_workers type WorkerModule (line 551) | module WorkerModule function spawn (line 552) | def spawn(process_manager) function after_start (line 561) | def after_start function dump (line 565) | def dump class Supervisor (line 570) | class Supervisor method serverengine_config (line 571) | def self.serverengine_config(params = {}) method default_options (line 617) | def self.default_options method cleanup_socketmanager_path (line 648) | def self.cleanup_socketmanager_path method initialize (line 655) | def initialize(cl_opt) method run_supervisor (line 689) | def run_supervisor(dry_run: false) method options (line 748) | def options method run_worker (line 758) | def run_worker method configure (line 789) | def configure(supervisor: false) method setup_global_logger (line 852) | def setup_global_logger(supervisor: false) method create_socket_manager (line 939) | def create_socket_manager method show_plugin_config (line 944) | def show_plugin_config method supervise (line 950) | def supervise method install_main_process_signal_handlers (line 989) | def install_main_process_signal_handlers method install_main_process_command_handlers (line 1042) | def install_main_process_command_handlers method flush_buffer (line 1076) | def flush_buffer method cancel_source_only (line 1092) | def cancel_source_only method reload_config (line 1104) | def reload_config method dump_non_windows (line 1137) | def dump_non_windows method dump_windows (line 1145) | def dump_windows method logging_with_console_output (line 1155) | def logging_with_console_output method main_process (line 1166) | def main_process(&block) method build_system_config (line 1211) | def build_system_config(conf) method build_additional_configurations (line 1229) | def build_additional_configurations(parsed_files) method build_spawn_command (line 1260) | def build_spawn_command type FluentSigdump (line 1299) | module FluentSigdump function dump_windows (line 1300) | def self.dump_windows function get_path_with_pid (line 1316) | def self.get_path_with_pid(raw_path) FILE: lib/fluent/system_config.rb type Fluent (line 21) | module Fluent class SystemConfig (line 22) | class SystemConfig method force_stacktrace_level? (line 122) | def force_stacktrace_level? method create (line 126) | def self.create(conf, strict_config_value=false) method blank_system_config (line 134) | def self.blank_system_config method overwrite_system_config (line 138) | def self.overwrite_system_config(hash) method initialize (line 148) | def initialize(conf=nil, strict_config_value=false) method configure (line 154) | def configure(conf, strict_config_value=false) method dup (line 173) | def dup method overwrite_variables (line 181) | def overwrite_variables(**opt) type Mixin (line 189) | module Mixin function system_config (line 190) | def system_config function system_config_override (line 199) | def system_config_override(opts={}) FILE: lib/fluent/test.rb type Fluent (line 29) | module Fluent type Test (line 30) | module Test function dummy_logger (line 31) | def self.dummy_logger function setup (line 38) | def self.setup FILE: lib/fluent/test/base.rb type Fluent (line 23) | module Fluent type Test (line 24) | module Test class TestDriver (line 25) | class TestDriver method initialize (line 28) | def initialize(klass, &block) method configure (line 51) | def configure(str, use_v1 = false) method run (line 65) | def run(num_waits = 10, &block) FILE: lib/fluent/test/driver/base.rb type Fluent (line 28) | module Fluent type Test (line 29) | module Test type Driver (line 30) | module Driver class TestTimedOut (line 31) | class TestTimedOut < RuntimeError; end class Base (line 33) | class Base method initialize (line 38) | def initialize(klass, opts: {}, &block) method configure (line 59) | def configure(conf, syntax: :v1) method end_if (line 63) | def end_if(&block) method break_if (line 68) | def break_if(&block) method broken? (line 73) | def broken? method run (line 77) | def run(timeout: nil, start: true, shutdown: true, &block) method instance_start (line 104) | def instance_start method instance_hook_after_started (line 137) | def instance_hook_after_started method instance_hook_before_stopped (line 141) | def instance_hook_before_stopped method instance_shutdown (line 145) | def instance_shutdown(log: Logger.new($stdout)) method run_actual (line 188) | def run_actual(timeout: DEFAULT_TIMEOUT) method stop? (line 212) | def stop? FILE: lib/fluent/test/driver/base_owned.rb type Fluent (line 24) | module Fluent type Test (line 25) | module Test type Driver (line 26) | module Driver class OwnerDummy (line 27) | class OwnerDummy < Fluent::Plugin::Base class BaseOwned (line 33) | class BaseOwned < Base method initialize (line 36) | def initialize(klass, opts: {}, &block) method configure (line 56) | def configure(conf) method configure_v0 (line 69) | def configure_v0(conf) FILE: lib/fluent/test/driver/base_owner.rb type Fluent (line 20) | module Fluent type Test (line 21) | module Test type Driver (line 22) | module Driver class BaseOwner (line 23) | class BaseOwner < Base method initialize (line 24) | def initialize(klass, opts: {}, &block) method configure (line 37) | def configure(conf, syntax: :v1) method emit_event_stream (line 65) | def emit_event_stream(tag, es) method emit_error_event (line 69) | def emit_error_event(tag, time, record, error) method events (line 73) | def events(tag: nil) method event_streams (line 91) | def event_streams(tag: nil) method emit_count (line 103) | def emit_count method record_count (line 107) | def record_count method error_events (line 111) | def error_events(tag: nil) method run (line 122) | def run(expect_emits: nil, expect_records: nil, timeout: nil, st... FILE: lib/fluent/test/driver/event_feeder.rb type Fluent (line 20) | module Fluent type Test (line 21) | module Test type Driver (line 22) | module Driver type EventFeeder (line 23) | module EventFeeder function initialize (line 24) | def initialize(klass, opts: {}, &block) function run (line 30) | def run(default_tag: nil, **kwargs, &block) function feed_to_plugin (line 42) | def feed_to_plugin(tag, es) function feed (line 57) | def feed(*args) FILE: lib/fluent/test/driver/filter.rb type Fluent (line 22) | module Fluent type Test (line 23) | module Test type Driver (line 24) | module Driver class Filter (line 25) | class Filter < BaseOwner method initialize (line 30) | def initialize(klass, opts: {}, &block) method filtered_records (line 36) | def filtered_records method filtered_time (line 40) | def filtered_time method instance_hook_after_started (line 44) | def instance_hook_after_started FILE: lib/fluent/test/driver/formatter.rb type Fluent (line 19) | module Fluent type Test (line 20) | module Test type Driver (line 21) | module Driver class Formatter (line 22) | class Formatter < BaseOwned method initialize (line 23) | def initialize(klass, **kwargs, &block) FILE: lib/fluent/test/driver/input.rb type Fluent (line 20) | module Fluent type Test (line 21) | module Test type Driver (line 22) | module Driver class Input (line 23) | class Input < BaseOwner method initialize (line 24) | def initialize(klass, opts: {}, &block) FILE: lib/fluent/test/driver/multi_output.rb type Fluent (line 22) | module Fluent type Test (line 23) | module Test type Driver (line 24) | module Driver class MultiOutput (line 25) | class MultiOutput < BaseOwner method initialize (line 28) | def initialize(klass, opts: {}, &block) method run (line 34) | def run(flush: true, **kwargs, &block) method run_actual (line 39) | def run_actual(**kwargs, &block) method flush (line 47) | def flush FILE: lib/fluent/test/driver/output.rb type Fluent (line 23) | module Fluent type Test (line 24) | module Test type Driver (line 25) | module Driver class Output (line 26) | class Output < BaseOwner method initialize (line 29) | def initialize(klass, opts: {}, &block) method run (line 39) | def run(flush: true, wait_flush_completion: true, force_flush_re... method run_actual (line 46) | def run_actual(**kwargs, &block) method formatted (line 59) | def formatted method flush (line 63) | def flush method wait_flush_completion (line 68) | def wait_flush_completion method instance_hook_after_started (line 83) | def instance_hook_after_started FILE: lib/fluent/test/driver/parser.rb type Fluent (line 19) | module Fluent type Test (line 20) | module Test type Driver (line 21) | module Driver class Parser (line 22) | class Parser < BaseOwned method initialize (line 23) | def initialize(klass, **kwargs, &block) FILE: lib/fluent/test/driver/storage.rb type Fluent (line 19) | module Fluent type Test (line 20) | module Test type Driver (line 21) | module Driver class Storage (line 22) | class Storage < BaseOwned method initialize (line 23) | def initialize(klass, **kwargs, &block) FILE: lib/fluent/test/driver/test_event_router.rb type Fluent (line 19) | module Fluent type Test (line 20) | module Test type Driver (line 21) | module Driver class TestEventRouter (line 22) | class TestEventRouter method initialize (line 23) | def initialize(driver) method emit (line 27) | def emit(tag, time, record) method emit_array (line 31) | def emit_array(tag, array) method emit_stream (line 35) | def emit_stream(tag, es) method emit_error_event (line 39) | def emit_error_event(tag, time, record, error) FILE: lib/fluent/test/filter_test.rb type Fluent (line 20) | module Fluent type Test (line 21) | module Test class FilterTestDriver (line 22) | class FilterTestDriver < TestDriver method initialize (line 23) | def initialize(klass, tag = 'filter.test', &block) method emit (line 33) | def emit(record, time = EventTime.now) method emit_with_tag (line 38) | def emit_with_tag(tag, record, time = EventTime.now) method filter_stream (line 44) | def filter_stream(es) method filter_stream_with_tag (line 48) | def filter_stream_with_tag(tag, es) method filtered_as_array (line 52) | def filtered_as_array method run (line 62) | def run(num_waits = 0) FILE: lib/fluent/test/formatter_test.rb type Fluent (line 21) | module Fluent type Test (line 22) | module Test class FormatterTestDriver (line 23) | class FormatterTestDriver method initialize (line 24) | def initialize(klass_or_str, proc=nil, &block) method configure (line 45) | def configure(conf) method format (line 60) | def format(tag, time, record) FILE: lib/fluent/test/helpers.rb type Fluent (line 21) | module Fluent type Test (line 22) | module Test type Helpers (line 23) | module Helpers function assert_equal_event_time (line 25) | def assert_equal_event_time(expected, actual, message = nil) function config_element (line 37) | def config_element(name = 'test', argument = '', params = {}, elem... function event_time (line 41) | def event_time(str=nil, format: nil) function event_time_without_nsec (line 53) | def event_time_without_nsec(str=nil, format: nil) function with_timezone (line 57) | def with_timezone(tz) function with_worker_config (line 64) | def with_worker_config(root_dir: nil, workers: nil, worker_id: nil... function time2str (line 85) | def time2str(time, localtime: false, format: nil) function msgpack (line 101) | def msgpack(type) function capture_log (line 119) | def capture_log(driver) function capture_stdout (line 128) | def capture_stdout FILE: lib/fluent/test/input_test.rb type Fluent (line 21) | module Fluent type Test (line 22) | module Test class InputTestDriver (line 23) | class InputTestDriver < TestDriver method initialize (line 24) | def initialize(klass, &block) method expect_emit (line 35) | def expect_emit(tag, time, record) method expected_emits (line 40) | def expected_emits method emits (line 48) | def emits method events (line 58) | def events method records (line 66) | def records method register_run_post_condition (line 76) | def register_run_post_condition(&block) method register_run_breaking_condition (line 82) | def register_run_breaking_condition(&block) method run_should_stop? (line 89) | def run_should_stop? type EmitStreamWrapper (line 103) | module EmitStreamWrapper function emit_stream_callee= (line 104) | def emit_stream_callee=(method) function emit_stream (line 107) | def emit_stream(tag, es) method run (line 112) | def run(num_waits = 10) method emit_stream (line 168) | def emit_stream(tag, es) FILE: lib/fluent/test/log.rb type Fluent (line 20) | module Fluent type Test (line 21) | module Test class DummyLogDevice (line 22) | class DummyLogDevice method initialize (line 26) | def initialize method reset (line 32) | def reset method tty? (line 36) | def tty? method puts (line 40) | def puts(*args) method write (line 44) | def write(message) method flush (line 51) | def flush method close (line 55) | def close class TestLogger (line 60) | class TestLogger < Fluent::PluginLogger method initialize (line 61) | def initialize method reset (line 70) | def reset method logs (line 74) | def logs FILE: lib/fluent/test/output_test.rb type Fluent (line 21) | module Fluent type Test (line 22) | module Test class TestOutputChain (line 23) | class TestOutputChain method initialize (line 24) | def initialize method next (line 28) | def next class OutputTestDriver (line 36) | class OutputTestDriver < InputTestDriver method initialize (line 37) | def initialize(klass, tag='test', &block) method emit (line 44) | def emit(record, time=EventTime.now) class BufferedOutputTestDriver (line 51) | class BufferedOutputTestDriver < InputTestDriver method initialize (line 52) | def initialize(klass, tag='test', &block) method emit (line 65) | def emit(record, time=EventTime.now) method expect_format (line 70) | def expect_format(str) method run (line 74) | def run(num_waits = 10) class TimeSlicedOutputTestDriver (line 103) | class TimeSlicedOutputTestDriver < InputTestDriver method initialize (line 104) | def initialize(klass, tag='test', &block) method emit (line 113) | def emit(record, time=EventTime.now) method expect_format (line 118) | def expect_format(str) method run (line 122) | def run FILE: lib/fluent/test/parser_test.rb type Fluent (line 20) | module Fluent type Test (line 21) | module Test class ParserTestDriver (line 22) | class ParserTestDriver method initialize (line 23) | def initialize(klass_or_str, format=nil, conf={}, &block) method configure (line 50) | def configure(conf) method parse (line 65) | def parse(text, &block) FILE: lib/fluent/test/startup_shutdown.rb type Fluent (line 20) | module Fluent type Test (line 21) | module Test type StartupShutdown (line 22) | module StartupShutdown function startup (line 23) | def startup function shutdown (line 28) | def shutdown function setup (line 32) | def self.setup function teardown (line 37) | def self.teardown FILE: lib/fluent/time.rb type Fluent (line 24) | module Fluent class EventTime (line 25) | class EventTime method initialize (line 29) | def initialize(sec, nsec = 0) method == (line 34) | def ==(other) method sec (line 42) | def sec method nsec (line 46) | def nsec method to_int (line 50) | def to_int method to_f (line 55) | def to_f method to_r (line 60) | def to_r method coerce (line 65) | def coerce(other) method to_s (line 69) | def to_s method to_time (line 77) | def to_time method to_time (line 81) | def to_time method to_json (line 86) | def to_json(*args) method to_msgpack (line 90) | def to_msgpack(io = nil) method to_msgpack_ext (line 94) | def to_msgpack_ext method from_msgpack_ext (line 98) | def self.from_msgpack_ext(data) method from_time (line 102) | def self.from_time(time) method eq? (line 106) | def self.eq?(a, b) method now (line 114) | def self.now method parse (line 120) | def self.parse(*args) method method_missing (line 125) | def method_missing(name, *args, &block) method inspect (line 129) | def inspect type TimeMixin (line 134) | module TimeMixin type TimeParameters (line 149) | module TimeParameters function configure (line 155) | def configure(conf) type Parser (line 184) | module Parser function included (line 185) | def self.included(mod) function time_parser_create (line 189) | def time_parser_create(type: @time_type, format: @time_format, tim... type Formatter (line 199) | module Formatter function included (line 200) | def self.included(mod) function time_formatter_create (line 204) | def time_formatter_create(type: @time_type, format: @time_format, ... class TimeParser (line 214) | class TimeParser class TimeParseError (line 215) | class TimeParseError < StandardError; end method initialize (line 217) | def initialize(format = nil, localtime = true, timezone = nil) method parse (line 267) | def parse(value) class NumericTimeParser (line 292) | class NumericTimeParser < TimeParser # to include TimeParseError method initialize (line 293) | def initialize(type, localtime = nil, timezone = nil) method parse_unixtime (line 305) | def parse_unixtime(value) method parse_float (line 336) | def parse_float(value) class TimeFormatter (line 363) | class TimeFormatter method initialize (line 364) | def initialize(format = nil, localtime = true, timezone = nil) method format_without_subsec (line 391) | def format_without_subsec(time) method format_with_subsec (line 409) | def format_with_subsec(time) method format_nocache (line 431) | def format_nocache(time) class NumericTimeFormatter (line 436) | class NumericTimeFormatter < TimeFormatter method initialize (line 437) | def initialize(type, localtime = nil, timezone = nil) method format_unixtime (line 449) | def format_unixtime(time) method format_float (line 453) | def format_float(time) class MixedTimeParser (line 475) | class MixedTimeParser < TimeParser # to include TimeParseError method initialize (line 476) | def initialize(type, format = nil, localtime = nil, timezone = nil, ... method parse (line 494) | def parse(value) FILE: lib/fluent/timezone.rb type IntegerExt (line 22) | module IntegerExt function to_time (line 24) | def to_time type Fluent (line 30) | module Fluent class Timezone (line 31) | class Timezone method validate (line 54) | def self.validate(timezone) method validate! (line 90) | def self.validate!(timezone) method formatter (line 102) | def self.formatter(timezone = nil, format = nil) method utc_offset (line 157) | def self.utc_offset(timezone) FILE: lib/fluent/tls.rb type Fluent (line 20) | module Fluent type TLS (line 21) | module TLS function set_version_to_context (line 56) | def set_version_to_context(ctx, version, min_version, max_version) function set_version_to_options (line 80) | def set_version_to_options(opt, version, min_version, max_version) FILE: lib/fluent/unique_id.rb type Fluent (line 17) | module Fluent type UniqueId (line 18) | module UniqueId function generate (line 19) | def self.generate function hex (line 25) | def self.hex(unique_id) type Mixin (line 29) | module Mixin function generate_unique_id (line 30) | def generate_unique_id function dump_unique_id_hex (line 34) | def dump_unique_id_hex(unique_id) FILE: lib/fluent/variable_store.rb type Fluent (line 17) | module Fluent class VariableStore (line 20) | class VariableStore method fetch_or_build (line 24) | def fetch_or_build(namespace, default_value: {}) method try_to_reset (line 28) | def try_to_reset FILE: lib/fluent/version.rb type Fluent (line 17) | module Fluent FILE: lib/fluent/win32api.rb type Fluent (line 19) | module Fluent type Win32API (line 20) | module Win32API FILE: lib/fluent/winsvc.rb function read_fluentdopt (line 37) | def read_fluentdopt(service_name) function service_main_start (line 43) | def service_main_start(service_name) class FluentdService (line 50) | class FluentdService < Daemon method initialize (line 56) | def initialize(service_name) method service_main (line 60) | def service_main method service_stop (line 75) | def service_stop method service_paramchange (line 79) | def service_paramchange method service_user_defined_control (line 83) | def service_user_defined_control(code) method set_event (line 96) | def set_event(event_name) method repeat_set_event_several_times_until_success (line 102) | def repeat_set_event_several_times_until_success(event_name) method wait_supervisor_finished (line 120) | def wait_supervisor_finished FILE: tasks/backport.rb function append_additional_arguments (line 18) | def append_additional_arguments(commands) FILE: tasks/backport/backporter.rb class PullRequestBackporter (line 6) | class PullRequestBackporter method initialize (line 8) | def initialize method current_branch (line 19) | def current_branch method parse_command_line (line 26) | def parse_command_line(argv) method collect_backports (line 51) | def collect_backports method create_pull_requests (line 88) | def create_pull_requests method run (line 154) | def run(argv) FILE: tasks/benchmark/patch_in_tail.rb class Fluent::Plugin::TailInput::TailWatcher::IOHandler (line 4) | class Fluent::Plugin::TailInput::TailWatcher::IOHandler method with_io (line 7) | def with_io(&block) FILE: test/command/test_binlog_reader.rb class TestFluentBinlogReader (line 9) | class TestFluentBinlogReader < ::Test::Unit::TestCase type ::BinlogReaderCommand (line 10) | module ::BinlogReaderCommand class Dummy (line 11) | class Dummy < Base method call (line 12) | def call; end method suppress_stdout (line 16) | def suppress_stdout class TestBaseCommand (line 55) | class TestBaseCommand < ::Test::Unit::TestCase method create_message_packed_file (line 58) | def create_message_packed_file(path, times = [event_time], records = [... method setup (line 70) | def setup method timezone (line 75) | def timezone(timezone = 'UTC') class TestHead (line 84) | class TestHead < TestBaseCommand class TestCat (line 208) | class TestCat < TestBaseCommand class TestFormats (line 323) | class TestFormats < TestBaseCommand FILE: test/command/test_ca_generate.rb class TestFluentCaGenerate (line 9) | class TestFluentCaGenerate < ::Test::Unit::TestCase method test_generate_ca_pair (line 10) | def test_generate_ca_pair method test_ca_generate (line 16) | def test_ca_generate FILE: test/command/test_cap_ctl.rb class TestFluentCapCtl (line 6) | class TestFluentCapCtl < Test::Unit::TestCase FILE: test/command/test_cat.rb class TestFluentCat (line 11) | class TestFluentCat < ::Test::Unit::TestCase method setup (line 12) | def setup method teardown (line 24) | def teardown method config (line 32) | def config class DummyOutput (line 43) | class DummyOutput < Fluent::Plugin::Output method write (line 44) | def write(chunk); end method create_driver (line 47) | def create_driver(conf=config) method create_primary (line 51) | def create_primary(buffer_config = config_element('buffer')) method create_secondary_driver (line 55) | def create_secondary_driver(conf=SECONDARY_CONFIG) method create_chunk (line 61) | def create_chunk(primary, metadata, es) method test_cat_json (line 69) | def test_cat_json method test_cat_secondary_file (line 84) | def test_cat_secondary_file method test_without_event_time (line 101) | def test_without_event_time method test_with_event_time (line 116) | def test_with_event_time FILE: test/command/test_ctl.rb class TestFluentdCtl (line 8) | class TestFluentdCtl < ::Test::Unit::TestCase method assert_win32_event (line 9) | def assert_win32_event(event_name, command, pid_or_svcname) method test_commands (line 26) | def test_commands(data) method test_commands_with_winsvcname (line 47) | def test_commands_with_winsvcname(data) FILE: test/command/test_fluentd.rb class TestFluentdCommand (line 11) | class TestFluentdCommand < ::Test::Unit::TestCase method tmp_dir (line 15) | def tmp_dir method process_exist? (line 37) | def process_exist?(pid) method create_conf_file (line 47) | def create_conf_file(name, content, ext_enc = 'utf-8') method create_plugin_file (line 55) | def create_plugin_file(name, content) method create_cmdline (line 64) | def create_cmdline(conf_path, *fluentd_options) method process_kill (line 74) | def process_kill(pid) method execute_command (line 88) | def execute_command(cmdline, chdir=@tmp_dir, env = {}) method eager_read (line 117) | def eager_read(io) method assert_log_matches (line 132) | def assert_log_matches(cmdline, *pattern_list, patterns_not_match: [],... method assert_fluentd_fails_to_start (line 223) | def assert_fluentd_fails_to_start(cmdline, *pattern_list, timeout: 20) method conf (line 1367) | def conf(udp_port, tcp_port, syslog_port) method run_fluentd (line 1408) | def run_fluentd(config) method send_udp (line 1441) | def send_udp(port, count:, interval_sec:) method send_tcp (line 1450) | def send_tcp(port, count:, interval_sec:) method send_syslog (line 1459) | def send_syslog(port, count:, interval_sec:) method send_end (line 1468) | def send_end(port) method create_config_include_dir_configuration (line 1540) | def create_config_include_dir_configuration(config_path, config_dir, y... FILE: test/command/test_plugin_config_formatter.rb class TestFluentPluginConfigFormatter (line 11) | class TestFluentPluginConfigFormatter < Test::Unit::TestCase class FakeInput (line 12) | class FakeInput < ::Fluent::Plugin::Input class FakeOutput (line 19) | class FakeOutput < ::Fluent::Plugin::Output method process (line 25) | def process(tag, es) class FakeFilter (line 29) | class FakeFilter < ::Fluent::Plugin::Filter method filter (line 35) | def filter(tag, time, record) class FakeParser (line 39) | class FakeParser < ::Fluent::Plugin::Parser method parse (line 45) | def parse(text) class FakeFormatter (line 49) | class FakeFormatter < ::Fluent::Plugin::Formatter method format (line 55) | def format(tag, time, record) class FakeStorage (line 59) | class FakeStorage < ::Fluent::Plugin::Storage method get (line 62) | def get(key) method fetch (line 65) | def fetch(key, defval) method put (line 68) | def put(key, value) method delete (line 71) | def delete(key) method update (line 74) | def update(key, &block) class FakeServiceDiscovery (line 78) | class FakeServiceDiscovery < ::Fluent::Plugin::ServiceDiscovery class SimpleInput (line 85) | class SimpleInput < ::Fluent::Plugin::Input class ComplexOutput (line 93) | class ComplexOutput < ::Fluent::Plugin::Output method process (line 113) | def process(tag, es) class SimpleServiceDiscovery (line 117) | class SimpleServiceDiscovery < ::Fluent::Plugin::ServiceDiscovery FILE: test/command/test_plugin_generator.rb class TestFluentPluginGenerator (line 6) | class TestFluentPluginGenerator < Test::Unit::TestCase method stub_git_process (line 19) | def stub_git_process(target) FILE: test/compat/test_calls_super.rb class CompatCallsSuperTest (line 8) | class CompatCallsSuperTest < Test::Unit::TestCase class DummyGoodInput (line 9) | class DummyGoodInput < Fluent::Input method configure (line 10) | def configure(conf); super; end method start (line 11) | def start; super; end method before_shutdown (line 12) | def before_shutdown; super; end method shutdown (line 13) | def shutdown; super; end class DummyBadInput (line 15) | class DummyBadInput < Fluent::Input method configure (line 16) | def configure(conf); super; end method start (line 17) | def start; end method before_shutdown (line 18) | def before_shutdown; end method shutdown (line 19) | def shutdown; end class DummyGoodOutput (line 21) | class DummyGoodOutput < Fluent::Output method configure (line 22) | def configure(conf); super; end method start (line 23) | def start; super; end method before_shutdown (line 24) | def before_shutdown; super; end method shutdown (line 25) | def shutdown; super; end class DummyBadOutput (line 27) | class DummyBadOutput < Fluent::Output method configure (line 28) | def configure(conf); super; end method start (line 29) | def start; end method before_shutdown (line 30) | def before_shutdown; end method shutdown (line 31) | def shutdown; end class DummyGoodFilter (line 33) | class DummyGoodFilter < Fluent::Filter method configure (line 34) | def configure(conf); super; end method filter (line 35) | def filter(tag, time, record); end method start (line 36) | def start; super; end method before_shutdown (line 37) | def before_shutdown; super; end method shutdown (line 38) | def shutdown; super; end class DummyBadFilter (line 40) | class DummyBadFilter < Fluent::Filter method configure (line 41) | def configure(conf); super; end method filter (line 42) | def filter(tag, time, record); end method start (line 43) | def start; end method before_shutdown (line 44) | def before_shutdown; end method shutdown (line 45) | def shutdown; end FILE: test/compat/test_parser.rb class TextParserTest (line 4) | class TextParserTest < ::Test::Unit::TestCase method setup (line 5) | def setup class MultiEventTestParser (line 9) | class MultiEventTestParser < ::Fluent::Parser method parse (line 12) | def parse(text) method test_lookup_unknown_format (line 24) | def test_lookup_unknown_format method test_lookup_known_parser (line 31) | def test_lookup_known_parser(data) method test_parse_with_return (line 39) | def test_parse_with_return method test_parse_with_block (line 46) | def test_parse_with_block method test_multi_event_parser (line 54) | def test_multi_event_parser method test_setting_estimate_current_event_value (line 65) | def test_setting_estimate_current_event_value method test_regexp_parser_config (line 86) | def test_regexp_parser_config(options) FILE: test/config/assertions.rb type Test::Unit::Assertions (line 3) | module Test::Unit::Assertions function assert_text_parsed_as (line 4) | def assert_text_parsed_as(expected, actual) function assert_text_parsed_as_json (line 17) | def assert_text_parsed_as_json(expected, actual) function assert_parse_error (line 26) | def assert_parse_error(actual) FILE: test/config/test_config_parser.rb type Fluent::Config (line 10) | module Fluent::Config type V1TestHelper (line 11) | module V1TestHelper function root (line 12) | def root(*elements) function e (line 21) | def e(name, arg='', attrs={}, elements=[]) class AllTypes (line 26) | class AllTypes class TestV1Parser (line 41) | class TestV1Parser < ::Test::Unit::TestCase method read_config (line 42) | def read_config(path) method parse_text (line 48) | def parse_text(text) method test_rejects_at_prefix_in_the_parameter_name (line 231) | def test_rejects_at_prefix_in_the_parameter_name(data) method test_not_reject_at_prefix_in_the_parameter_name (line 244) | def test_not_reject_at_prefix_in_the_parameter_name(data) method test_parse_element (line 293) | def test_parse_element(data) method test_parse_error (line 327) | def test_parse_error(data) method write_config (line 367) | def write_config(path, data) method prepare_config (line 372) | def prepare_config(tmp_dir) class TestV0Parser (line 511) | class TestV0Parser < ::Test::Unit::TestCase method parse_text (line 512) | def parse_text(text) FILE: test/config/test_configurable.rb type ConfigurableSpec (line 6) | module ConfigurableSpec class Base1 (line 7) | class Base1 method get_all (line 22) | def get_all class Base1Safe (line 27) | class Base1Safe < Base1 class Base1Nil (line 33) | class Base1Nil < Base1 class Base2 (line 40) | class Base2 < Base1 method get_all (line 48) | def get_all class Base3 (line 54) | class Base3 < Base2 method get_all (line 71) | def get_all class Base4 (line 77) | class Base4 < Base2 method get_all (line 99) | def get_all class Base4Safe (line 105) | class Base4Safe < Base4 class Init0 (line 139) | class Init0 class Example0 (line 149) | class Example0 class ExampleWithAlias (line 162) | class ExampleWithAlias method get_all (line 171) | def get_all class ExampleWithSecret (line 176) | class ExampleWithSecret class ExampleWithDefaultHashAndArray (line 188) | class ExampleWithDefaultHashAndArray class ExampleWithSkipAccessor (line 194) | class ExampleWithSkipAccessor class ExampleWithCustomSection (line 199) | class ExampleWithCustomSection class CustomSection (line 206) | class CustomSection class AnotherElement (line 211) | class AnotherElement method configure (line 215) | def configure(conf) class ExampleWithIntFloat (line 224) | class ExampleWithIntFloat type Overwrite (line 230) | module Overwrite class Base (line 231) | class Base class Required (line 241) | class Required < Base class Multi (line 247) | class Multi < Base class Alias (line 253) | class Alias < Base class DefaultOptions (line 259) | class DefaultOptions < Base class DetailAddressDefault (line 265) | class DetailAddressDefault < Base class AddParam (line 271) | class AddParam < Base class AddParamOverwriteAddress (line 277) | class AddParamOverwriteAddress < Base type Final (line 285) | module Final class Base (line 288) | class Base class Finalized (line 297) | class Finalized < Base class InheritsFinalized (line 311) | class InheritsFinalized < Finalized class FinalizedBase (line 324) | class FinalizedBase class FinalizedBase2 (line 331) | class FinalizedBase2 class OverwriteInit (line 339) | class OverwriteInit < FinalizedBase2 class Subclass (line 347) | class Subclass < FinalizedBase class OverwriteParamName (line 354) | class OverwriteParamName < FinalizedBase class OverwriteFinal (line 360) | class OverwriteFinal < FinalizedBase class OverwriteRequired (line 367) | class OverwriteRequired < FinalizedBase class OverwriteMulti (line 373) | class OverwriteMulti < FinalizedBase class OverwriteAlias (line 379) | class OverwriteAlias < FinalizedBase type OverwriteDefaults (line 385) | module OverwriteDefaults class Owner (line 386) | class Owner class SubOwner (line 394) | class SubOwner < Owner class NilOwner (line 400) | class NilOwner < Owner class FlatChild (line 406) | class FlatChild class BufferChild (line 412) | class BufferChild class BufferBase (line 419) | class BufferBase class BufferSubclass (line 423) | class BufferSubclass < BufferBase class BufferSubSubclass (line 429) | class BufferSubSubclass < BufferSubclass class UnRecommended (line 432) | class UnRecommended type Fluent::Config (line 440) | module Fluent::Config class TestConfigurable (line 441) | class TestConfigurable < ::Test::Unit::TestCase method assert_secret_param (line 1399) | def assert_secret_param(key, value) class InvalidDescClass (line 1465) | class InvalidDescClass class InvalidAliasClass (line 1473) | class InvalidAliasClass class InvalidSecretClass (line 1481) | class InvalidSecretClass class InvalidSecret2Class (line 1487) | class InvalidSecret2Class class InvalidDeprecatedClass (line 1495) | class InvalidDeprecatedClass class InvalidObsoletedClass (line 1503) | class InvalidObsoletedClass class InvalidValueTypeOfHashClass (line 1511) | class InvalidValueTypeOfHashClass class InvalidValueTypeOfArrayClass (line 1519) | class InvalidValueTypeOfArrayClass class InvalidSkipAccessorClass (line 1527) | class InvalidSkipAccessorClass class InvalidSkipAccessor2Class (line 1533) | class InvalidSkipAccessor2Class class Buggy1 (line 1546) | class Buggy1 class InitTestClass01 (line 1600) | class InitTestClass01 class InitTestClass02 (line 1614) | class InitTestClass02 type InitTestModule03 (line 1632) | module InitTestModule03 class InitTestClass03 (line 1638) | class InitTestClass03 class InitTestClass04 (line 1654) | class InitTestClass04 class InitTestClass04 (line 1669) | class InitTestClass04 type InitTestModule05 (line 1683) | module InitTestModule05 class InitTestClass05 (line 1689) | class InitTestClass05 class TestClass01 (line 1707) | class TestClass01 class TestClass02 (line 1722) | class TestClass02 class TestClass03 (line 1737) | class TestClass03 class TestClass04 (line 1753) | class TestClass04 class TestClass05 (line 1769) | class TestClass05 FILE: test/config/test_configure_proxy.rb type Fluent::Config (line 4) | module Fluent::Config class TestConfigureProxy (line 5) | class TestConfigureProxy < ::Test::Unit::TestCase FILE: test/config/test_dsl.rb function write_config (line 7) | def write_config(path, data) function prepare_config1 (line 12) | def prepare_config1 function prepare_config2 (line 62) | def prepare_config2 type Fluent::Config (line 150) | module Fluent::Config class TestDSLParser (line 151) | class TestDSLParser < ::Test::Unit::TestCase method setup (line 153) | def setup method setup (line 214) | def setup method setup (line 234) | def setup method setup (line 279) | def setup FILE: test/config/test_element.rb class TestConfigElement (line 7) | class TestConfigElement < ::Test::Unit::TestCase method element (line 8) | def element(name = 'ROOT', arg = '', attrs = {}, elements = [], unused... FILE: test/config/test_literal_parser.rb type Fluent::Config (line 8) | module Fluent::Config class TestLiteralParser (line 9) | class TestLiteralParser < ::Test::Unit::TestCase method parse_text (line 10) | def parse_text(text) method v1 (line 19) | def v1 method v2 (line 23) | def v2 method v3 (line 27) | def v3 method eval_context (line 31) | def eval_context method test_true (line 36) | def test_true method test_false (line 39) | def test_false method test_trueX (line 42) | def test_trueX method test_falseX (line 45) | def test_falseX FILE: test/config/test_plugin_configuration.rb type ConfigurationForPlugins (line 5) | module ConfigurationForPlugins class AllBooleanParams (line 6) | class AllBooleanParams < Fluent::Plugin::Input class BooleanParamsWithoutValue (line 20) | class BooleanParamsWithoutValue < ::Test::Unit::TestCase FILE: test/config/test_section.rb type Fluent::Config (line 5) | module Fluent::Config class TestSection (line 6) | class TestSection < ::Test::Unit::TestCase FILE: test/config/test_system_config.rb type Fluent::Config (line 7) | module Fluent::Config class FakeSupervisor (line 8) | class FakeSupervisor method initialize (line 11) | def initialize(**opt) method for_system_config (line 33) | def for_system_config class TestSystemConfig (line 52) | class TestSystemConfig < ::Test::Unit::TestCase method parse_text (line 55) | def parse_text(text) FILE: test/config/test_types.rb class TestConfigTypes (line 4) | class TestConfigTypes < ::Test::Unit::TestCase FILE: test/config/test_yaml_parser.rb class YamlParserTest (line 7) | class YamlParserTest < Test::Unit::TestCase method write_config (line 10) | def write_config(path, data, encoding: 'utf-8') method test_special_yaml_elements_dollar (line 16) | def test_special_yaml_elements_dollar method test_embedded_ruby_code (line 57) | def test_embedded_ruby_code method test_fluent_json_format (line 67) | def test_fluent_json_format method test_root_elements (line 82) | def test_root_elements method test_root_elements_only_config_section (line 100) | def test_root_elements_only_config_section method test_root_elements_only_system_section (line 111) | def test_root_elements_only_system_section method test_config_section_directives (line 123) | def test_config_section_directives method test_config_section_unknown_directives (line 153) | def test_config_section_unknown_directives method test_label_section (line 169) | def test_label_section method test_label_section_missing_name (line 184) | def test_label_section_missing_name method test_label_section_missing_config (line 198) | def test_label_section_missing_config method test_worker_section (line 213) | def test_worker_section method test_worker_section_missing_arg (line 228) | def test_worker_section_missing_arg method test_worker_section_missing_config (line 242) | def test_worker_section_missing_config method test_source_section (line 257) | def test_source_section method test_source_section_missing_type (line 270) | def test_source_section_missing_type method test_filter_section (line 284) | def test_filter_section method test_filter_section_multiple_tags (line 297) | def test_filter_section_multiple_tags method test_filter_section_missing_tag (line 323) | def test_filter_section_missing_tag method test_filter_section_missing_type (line 335) | def test_filter_section_missing_type method test_match_section (line 349) | def test_match_section method test_match_section_multiple_tags (line 362) | def test_match_section_multiple_tags method test_match_section_missing_tag (line 388) | def test_match_section_missing_tag method test_match_section_missing_type (line 400) | def test_match_section_missing_type method test_include (line 414) | def test_include method test_include_normal_config_file (line 428) | def test_include_normal_config_file method test_merge_common_parameter (line 447) | def test_merge_common_parameter method test_override_merged_common_parameter (line 468) | def test_override_merged_common_parameter method test_merge_common_parameter_using_include (line 493) | def test_merge_common_parameter_using_include method test_unknown_anchor (line 516) | def test_unknown_anchor method test_yaml_values (line 534) | def test_yaml_values FILE: test/counter/test_client.rb class CounterClientTest (line 8) | class CounterClientTest < ::Test::Unit::TestCase method extract_value_from_server (line 61) | def extract_value_from_server(server, scope, name) method travel (line 67) | def travel(sec) FILE: test/counter/test_error.rb class CounterErrorTest (line 4) | class CounterErrorTest < ::Test::Unit::TestCase FILE: test/counter/test_mutex_hash.rb class MutexHashTest (line 7) | class MutexHashTest < ::Test::Unit::TestCase class CleanupThreadTest (line 117) | class CleanupThreadTest < ::Test::Unit::TestCase FILE: test/counter/test_server.rb class CounterServerTest (line 8) | class CounterServerTest < ::Test::Unit::TestCase method extract_value_from_counter (line 25) | def extract_value_from_counter(counter, scope, name) method travel (line 31) | def travel(sec) class CounterCounterResponseTest (line 533) | class CounterCounterResponseTest < ::Test::Unit::TestCase FILE: test/counter/test_store.rb class CounterStoreTest (line 6) | class CounterStoreTest < ::Test::Unit::TestCase method extract_value_from_counter (line 21) | def extract_value_from_counter(counter, key) method travel (line 26) | def travel(sec) FILE: test/counter/test_validator.rb class CounterValidatorTest (line 4) | class CounterValidatorTest < ::Test::Unit::TestCase class CounterArrayValidatorTest (line 65) | class CounterArrayValidatorTest < ::Test::Unit::TestCase class CounterHashValidatorTest (line 80) | class CounterHashValidatorTest < ::Test::Unit::TestCase FILE: test/helper.rb function new (line 6) | def mod.new(*args, &block) class Hash (line 28) | class Hash method corresponding_proxies (line 29) | def corresponding_proxies method to_masked_element (line 33) | def to_masked_element type Fluent (line 55) | module Fluent type Plugin (line 56) | module Plugin class TestBase (line 57) | class TestBase < Base class Test::Unit::AssertionFailedError (line 68) | class Test::Unit::AssertionFailedError < StandardError function unused_port (line 74) | def unused_port(num = 1, protocol:, bind: "0.0.0.0") function unused_port_tcp_udp (line 87) | def unused_port_tcp_udp(num = 1) function unused_port_tcp (line 99) | def unused_port_tcp(num = 1) function unused_port_udp (line 117) | def unused_port_udp(num = 1, port_list: [], bind: "0.0.0.0") function waiting (line 145) | def waiting(seconds, logs: nil, plugin: nil) function ipv6_enabled? (line 160) | def ipv6_enabled? FILE: test/helpers/fuzzy_assert.rb class FuzzyIncludeAssertion (line 3) | class FuzzyIncludeAssertion method assert (line 6) | def self.assert(expected, actual, message = nil) method initialize (line 10) | def initialize(expected, actual, message) method assert (line 16) | def assert method assert_same_value (line 26) | def assert_same_value method assert_same_class (line 34) | def assert_same_class method assert_same_collection (line 42) | def assert_same_collection method assert_same_values (line 47) | def assert_same_values method collection? (line 59) | def collection? class FuzzyAssertion (line 64) | class FuzzyAssertion < FuzzyIncludeAssertion method assert_same_collection (line 67) | def assert_same_collection method assert_same_keys (line 72) | def assert_same_keys type FuzzyAssert (line 81) | module FuzzyAssert function assert_fuzzy_include (line 82) | def assert_fuzzy_include(left, right, message = nil) function assert_fuzzy_equal (line 86) | def assert_fuzzy_equal(left, right, message = nil) FILE: test/helpers/process_extenstion.rb type Process (line 3) | module Process function clock_gettime (line 7) | def clock_gettime(clock_id, unit = :float_second) FILE: test/log/test_console_adapter.rb class ConsoleAdapterTest (line 6) | class ConsoleAdapterTest < Test::Unit::TestCase method setup (line 7) | def setup method teardown (line 18) | def teardown method test_expected_log_levels (line 22) | def test_expected_log_levels method test_reflect_log_level (line 33) | def test_reflect_log_level(data) method test_string_subject (line 46) | def test_string_subject(level) method test_args (line 57) | def test_args(level) method test_options (line 73) | def test_options(level) method test_block (line 94) | def test_block(level) method test_multiple_entries (line 108) | def test_multiple_entries(level) FILE: test/plugin/in_tail/test_fifo.rb class IntailFIFO (line 5) | class IntailFIFO < Test::Unit::TestCase FILE: test/plugin/in_tail/test_io_handler.rb class IntailIOHandlerTest (line 7) | class IntailIOHandlerTest < Test::Unit::TestCase method setup (line 8) | def setup method create_target_info (line 25) | def create_target_info method create_watcher (line 29) | def create_watcher FILE: test/plugin/in_tail/test_position_file.rb class IntailPositionFileTest (line 8) | class IntailPositionFileTest < Test::Unit::TestCase method setup (line 9) | def setup method write_data (line 33) | def write_data(f, content) method follow_inodes_block (line 38) | def follow_inodes_block method build_files (line 279) | def build_files(file) FILE: test/plugin/out_forward/test_ack_handler.rb class AckHandlerTest (line 8) | class AckHandlerTest < Test::Unit::TestCase method recv (line 114) | def r.recv(arg) FILE: test/plugin/out_forward/test_connection_manager.rb class ConnectionManager (line 9) | class ConnectionManager < Test::Unit::TestCase FILE: test/plugin/out_forward/test_handshake_protocol.rb class HandshakeProtocolTest (line 8) | class HandshakeProtocolTest < Test::Unit::TestCase FILE: test/plugin/out_forward/test_load_balancer.rb class LoadBalancerTest (line 6) | class LoadBalancerTest < Test::Unit::TestCase FILE: test/plugin/out_forward/test_socket_cache.rb class SocketCacheTest (line 6) | class SocketCacheTest < Test::Unit::TestCase method teardown (line 113) | def teardown FILE: test/plugin/test_bare_output.rb type FluentPluginBareOutputTest (line 5) | module FluentPluginBareOutputTest class DummyPlugin (line 6) | class DummyPlugin < Fluent::Plugin::BareOutput method initialize (line 8) | def initialize method process (line 12) | def process(tag, es) class BareOutputTest (line 20) | class BareOutputTest < Test::Unit::TestCase class FluentPluginBareOutputTest::DummyPlugin2 (line 92) | class FluentPluginBareOutputTest::DummyPlugin2 < Fluent::Plugin::BareO... FILE: test/plugin/test_base.rb type FluentPluginBaseTest (line 5) | module FluentPluginBaseTest class DummyPlugin (line 6) | class DummyPlugin < Fluent::Plugin::Base class BaseTest (line 10) | class BaseTest < Test::Unit::TestCase class FluentPluginBaseTest::DummyPlugin2 (line 82) | class FluentPluginBaseTest::DummyPlugin2 < Fluent::Plugin::TestBase method assert_system_config_workers_value (line 157) | def assert_system_config_workers_value(data) method stub_supervisor_mode (line 164) | def stub_supervisor_mode FILE: test/plugin/test_buf_file.rb type FluentPluginFileBufferTest (line 10) | module FluentPluginFileBufferTest class DummyOutputPlugin (line 11) | class DummyOutputPlugin < Fluent::Plugin::Output method multi_workers_ready? (line 16) | def multi_workers_ready? method write (line 19) | def write(chunk) class DummyErrorOutputPlugin (line 24) | class DummyErrorOutputPlugin < DummyOutputPlugin method register_write (line 25) | def register_write(&block) method initialize (line 29) | def initialize method recover (line 35) | def recover method write (line 39) | def write(chunk) method format (line 47) | def format(tag, time, record) class FileBufferTest (line 53) | class FileBufferTest < Test::Unit::TestCase method metadata (line 54) | def metadata(timekey: nil, tag: nil, variables: nil, seq: 0) method write_metadata_old (line 60) | def write_metadata_old(path, chunk_id, metadata, size, ctime, mtime) method write_metadata (line 73) | def write_metadata(path, chunk_id, metadata, size, ctime, mtime) method setup_plugins (line 1202) | def setup_plugins(buf_conf) method create_first_chunk (line 1208) | def create_first_chunk(mode) method create_second_chunk (line 1225) | def create_second_chunk(mode) method compare_staged_chunk (line 1241) | def compare_staged_chunk(staged, id, time, num, mode) method compare_queued_chunk (line 1249) | def compare_queued_chunk(queued, id, num, mode) method compare_log (line 1256) | def compare_log(plugin, msg) method setup (line 1374) | def setup method start_plugin (line 1392) | def start_plugin(plugin) method stop_plugin (line 1397) | def stop_plugin(plugin) method configure_output (line 1406) | def configure_output(id, chunk_key, buffer_conf) method wait (line 1416) | def wait(sec: 4) method emit_events (line 1422) | def emit_events(output, tag, es) method proceed_to_next_retry (line 1431) | def proceed_to_next_retry(output) method dummy_event_stream (line 1437) | def dummy_event_stream method evacuate_dir (line 1445) | def evacuate_dir(plugin_id) FILE: test/plugin/test_buf_file_single.rb type FluentPluginFileSingleBufferTest (line 11) | module FluentPluginFileSingleBufferTest class DummyOutputPlugin (line 12) | class DummyOutputPlugin < Fluent::Plugin::Output method multi_workers_ready? (line 17) | def multi_workers_ready? method write (line 20) | def write(chunk) class DummyOutputMPPlugin (line 25) | class DummyOutputMPPlugin < Fluent::Plugin::Output method formatted_to_msgpack_binary? (line 30) | def formatted_to_msgpack_binary? method multi_workers_ready? (line 33) | def multi_workers_ready? method write (line 36) | def write(chunk) class DummyErrorOutputPlugin (line 41) | class DummyErrorOutputPlugin < DummyOutputPlugin method register_write (line 42) | def register_write(&block) method initialize (line 46) | def initialize method recover (line 52) | def recover method write (line 56) | def write(chunk) method format (line 64) | def format(tag, time, record) class FileSingleBufferTest (line 70) | class FileSingleBufferTest < Test::Unit::TestCase method metadata (line 71) | def metadata(timekey: nil, tag: 'testing', variables: nil) method create_driver (line 102) | def create_driver(conf = TAG_CONF, klass = FluentPluginFileSingleBuffe... method setup (line 928) | def setup method start_plugin (line 946) | def start_plugin(plugin) method stop_plugin (line 951) | def stop_plugin(plugin) method configure_output (line 960) | def configure_output(id, chunk_key, buffer_conf) method wait (line 970) | def wait(sec: 4) method emit_events (line 976) | def emit_events(output, tag, es) method proceed_to_next_retry (line 985) | def proceed_to_next_retry(output) method dummy_event_stream (line 991) | def dummy_event_stream method evacuate_dir (line 999) | def evacuate_dir(plugin_id) FILE: test/plugin/test_buf_memory.rb type FluentPluginMemoryBufferTest (line 6) | module FluentPluginMemoryBufferTest class DummyOutputPlugin (line 7) | class DummyOutputPlugin < Fluent::Plugin::Output class MemoryBufferTest (line 11) | class MemoryBufferTest < Test::Unit::TestCase FILE: test/plugin/test_buffer.rb type FluentPluginBufferTest (line 14) | module FluentPluginBufferTest class DummyOutputPlugin (line 15) | class DummyOutputPlugin < Fluent::Plugin::Base class DummyMemoryChunkError (line 19) | class DummyMemoryChunkError < StandardError; end class DummyMemoryChunk (line 20) | class DummyMemoryChunk < Fluent::Plugin::Buffer::MemoryChunk method initialize (line 23) | def initialize(metadata, compress: :text) method concat (line 31) | def concat(data, size) method rollback (line 36) | def rollback method close (line 40) | def close method purge (line 44) | def purge class DummyPlugin (line 49) | class DummyPlugin < Fluent::Plugin::Buffer method create_metadata (line 50) | def create_metadata(timekey=nil, tag=nil, variables=nil) method create_chunk (line 53) | def create_chunk(metadata, data) method create_chunk_es (line 59) | def create_chunk_es(metadata, es) method resume (line 65) | def resume method generate_chunk (line 81) | def generate_chunk(metadata) class BufferTest (line 87) | class BufferTest < Test::Unit::TestCase method create_buffer (line 88) | def create_buffer(hash) method create_metadata (line 98) | def create_metadata(timekey=nil, tag=nil, variables=nil) method create_chunk (line 102) | def create_chunk(metadata, data) method create_chunk_es (line 109) | def create_chunk_es(metadata, es) FILE: test/plugin/test_buffer_chunk.rb class BufferChunkTest (line 4) | class BufferChunkTest < Test::Unit::TestCase class TestChunk (line 92) | class TestChunk < Fluent::Plugin::Buffer::Chunk method initialize (line 94) | def initialize(meta) method size (line 98) | def size method open (line 101) | def open(**kwargs) FILE: test/plugin/test_buffer_file_chunk.rb class BufferFileChunkTest (line 11) | class BufferFileChunkTest < Test::Unit::TestCase method gen_metadata (line 26) | def gen_metadata(timekey: nil, tag: nil, variables: nil) method read_metadata_file (line 30) | def read_metadata_file(path) method gen_path (line 52) | def gen_path(path) method gen_test_chunk_id (line 56) | def gen_test_chunk_id method hex_id (line 66) | def hex_id(id) method gen_chunk_path (line 125) | def gen_chunk_path(prefix, unique_id) FILE: test/plugin/test_buffer_file_single_chunk.rb class BufferFileSingleChunkTest (line 10) | class BufferFileSingleChunkTest < Test::Unit::TestCase method gen_metadata (line 21) | def gen_metadata(timekey: nil, tag: 'testing', variables: nil) method gen_path (line 25) | def gen_path(path) method gen_test_chunk_id (line 29) | def gen_test_chunk_id method hex_id (line 38) | def hex_id(id) method gen_chunk_path (line 102) | def gen_chunk_path(prefix, unique_id) FILE: test/plugin/test_buffer_memory_chunk.rb class BufferMemoryChunkTest (line 7) | class BufferMemoryChunkTest < Test::Unit::TestCase FILE: test/plugin/test_compressable.rb class CompressableTest (line 4) | class CompressableTest < Test::Unit::TestCase method compress_assert_equal (line 7) | def compress_assert_equal(expected, actual) FILE: test/plugin/test_file_util.rb class FileUtilTest (line 5) | class FileUtilTest < Test::Unit::TestCase method setup (line 6) | def setup FILE: test/plugin/test_filter.rb type FluentPluginFilterTest (line 6) | module FluentPluginFilterTest class DummyPlugin (line 7) | class DummyPlugin < Fluent::Plugin::Filter class NumDoublePlugin (line 9) | class NumDoublePlugin < Fluent::Plugin::Filter method filter (line 10) | def filter(tag, time, record) class IgnoreForNumPlugin (line 16) | class IgnoreForNumPlugin < Fluent::Plugin::Filter method filter (line 17) | def filter(tag, time, record) class RaiseForNumPlugin (line 25) | class RaiseForNumPlugin < Fluent::Plugin::Filter method filter (line 26) | def filter(tag, time, record) class NumDoublePluginWithTime (line 33) | class NumDoublePluginWithTime < Fluent::Plugin::Filter method filter_with_time (line 34) | def filter_with_time(tag, time, record) class IgnoreForNumPluginWithTime (line 40) | class IgnoreForNumPluginWithTime < Fluent::Plugin::Filter method filter_with_time (line 41) | def filter_with_time(tag, time, record) class InvalidPlugin (line 49) | class InvalidPlugin < Fluent::Plugin::Filter method filter_with_time (line 51) | def filter_with_time(tag, time, record); end method filter (line 52) | def filter(tag, time, record); end class FilterPluginTest (line 56) | class FilterPluginTest < Test::Unit::TestCase method emit_error_event (line 58) | def emit_error_event(tag, time, record, error) class FluentPluginFilterTest::DummyPlugin2 (line 162) | class FluentPluginFilterTest::DummyPlugin2 < Fluent::Plugin::Filter FILE: test/plugin/test_filter_grep.rb class GrepFilterTest (line 5) | class GrepFilterTest < Test::Unit::TestCase method create_driver (line 13) | def create_driver(conf = '') method messages (line 247) | def messages method filter (line 256) | def filter(config, msgs) method messages (line 324) | def messages method records (line 338) | def records method filter (line 347) | def filter(conf, records) method records (line 426) | def records method messages (line 622) | def messages method filter (line 630) | def filter(config, msgs) method filter (line 674) | def filter(msg, config = 'regexp1 message 0') FILE: test/plugin/test_filter_parser.rb class ParserFilterTest (line 6) | class ParserFilterTest < Test::Unit::TestCase method setup (line 7) | def setup method teardown (line 14) | def teardown method assert_equal_parsed_time (line 19) | def assert_equal_parsed_time(expected, actual) method create_driver (line 38) | def create_driver(conf=CONFIG) method test_configure (line 42) | def test_configure method test_filter (line 112) | def test_filter method test_filter_with_multiple_records (line 209) | def test_filter_with_multiple_records method test_filter_with_reserved_data (line 228) | def test_filter_with_reserved_data(remove_key_name) method test_filter_ltsv (line 296) | def test_filter_ltsv(time_parse) method test_filter_tsv (line 367) | def test_filter_tsv(time_parse) method test_filter_csv (line 398) | def test_filter_csv(conf) method test_filter_with_nested_record (line 415) | def test_filter_with_nested_record method test_filter_inject_hash_value_field (line 463) | def test_filter_inject_hash_value_field(time_parse) method test_time_should_be_reserved (line 531) | def test_time_should_be_reserved(conf) type HashExcept (line 556) | module HashExcept function except (line 558) | def except(*keys) method run_and_assert (line 569) | def run_and_assert(driver, records:, expected_records:, expected_error... method test_filter_key_not_exist (line 627) | def test_filter_key_not_exist(data) method test_pattern_not_matched (line 676) | def test_pattern_not_matched(data) method test_parser_error (line 712) | def test_parser_error(data) method test_invalid_byte (line 768) | def test_invalid_byte(data) method test_unassumed_error (line 823) | def test_unassumed_error(data) FILE: test/plugin/test_filter_record_transformer.rb class RecordTransformerFilterTest (line 7) | class RecordTransformerFilterTest < Test::Unit::TestCase method create_driver (line 24) | def create_driver(conf = '') method filter (line 43) | def filter(config, msgs = ['']) method filter (line 216) | def filter(config, msgs = ['']) FILE: test/plugin/test_filter_stdout.rb class StdoutFilterTest (line 7) | class StdoutFilterTest < Test::Unit::TestCase method setup (line 10) | def setup method teardown (line 22) | def teardown method create_driver (line 31) | def create_driver(conf = CONFIG) method filter (line 35) | def filter(d, time, record) method test_through_record (line 42) | def test_through_record method test_configure_default (line 50) | def test_configure_default method test_output_type (line 59) | def test_output_type(data) method test_invalid_output_type (line 65) | def test_invalid_output_type method test_output_type_json (line 73) | def test_output_type_json method test_output_type_hash (line 85) | def test_output_type_hash method test_include_time_key (line 98) | def test_include_time_key method test_format_json (line 111) | def test_format_json method test_default (line 120) | def test_default method test_output_type (line 131) | def test_output_type(data) method test_invalid_output_type (line 139) | def test_invalid_output_type method test_json (line 150) | def test_json method test_json_nan (line 159) | def test_json_nan method test_hash (line 169) | def test_hash method test_hash_nan (line 178) | def test_hash_nan method test_include_time_key (line 189) | def test_include_time_key FILE: test/plugin/test_formatter_csv.rb class CsvFormatterTest (line 5) | class CsvFormatterTest < ::Test::Unit::TestCase method setup (line 7) | def setup method create_driver (line 15) | def create_driver(conf = CONF) method tag (line 19) | def tag method test_config_params (line 23) | def test_config_params method test_empty_fields (line 32) | def test_empty_fields(param) method test_config_params_with_customized_delimiters (line 42) | def test_config_params_with_customized_delimiters(data) method test_format (line 48) | def test_format method test_format_with_nested_fields (line 57) | def test_format_with_nested_fields method test_format_without_newline (line 66) | def test_format_without_newline method test_format_with_customized_delimiters (line 75) | def test_format_with_customized_delimiters method test_format_with_non_quote (line 85) | def test_format_with_non_quote method test_format_with_empty_fields (line 106) | def test_format_with_empty_fields(data) method test_config_params_with_fields (line 116) | def test_config_params_with_fields(data) method test_format_with_multiple_records (line 121) | def test_format_with_multiple_records FILE: test/plugin/test_formatter_hash.rb class HashFormatterTest (line 5) | class HashFormatterTest < ::Test::Unit::TestCase method setup (line 6) | def setup method create_driver (line 10) | def create_driver(conf = "") method tag (line 14) | def tag method record (line 18) | def record method test_format (line 24) | def test_format(data) method test_format_without_newline (line 32) | def test_format_without_newline FILE: test/plugin/test_formatter_json.rb class JsonFormatterTest (line 6) | class JsonFormatterTest < ::Test::Unit::TestCase method setup (line 8) | def setup method create_driver (line 17) | def create_driver(conf = "") method tag (line 21) | def tag method record (line 25) | def record method symbolic_record (line 29) | def symbolic_record method test_format (line 38) | def test_format(data) method test_format_without_nl (line 47) | def test_format_without_nl(data) method test_format_with_symbolic_record (line 55) | def test_format_with_symbolic_record(data) FILE: test/plugin/test_formatter_ltsv.rb class LabeledTSVFormatterTest (line 5) | class LabeledTSVFormatterTest < ::Test::Unit::TestCase method setup (line 6) | def setup method create_driver (line 10) | def create_driver(conf = "") method tag (line 14) | def tag method record (line 18) | def record method test_config_params (line 22) | def test_config_params method test_format (line 41) | def test_format(data) method test_format_without_newline (line 49) | def test_format_without_newline method test_format_with_customized_delimiters (line 58) | def test_format_with_customized_delimiters(data) FILE: test/plugin/test_formatter_msgpack.rb class MessagePackFormatterTest (line 5) | class MessagePackFormatterTest < ::Test::Unit::TestCase method setup (line 6) | def setup method create_driver (line 10) | def create_driver(conf = "") method tag (line 14) | def tag method record (line 18) | def record method test_format (line 22) | def test_format FILE: test/plugin/test_formatter_out_file.rb class OutFileFormatterTest (line 5) | class OutFileFormatterTest < ::Test::Unit::TestCase method setup (line 6) | def setup method create_driver (line 15) | def create_driver(conf = {}) method tag (line 27) | def tag method record (line 31) | def record method test_configured_with_both_of_utc_and_localtime (line 36) | def test_configured_with_both_of_utc_and_localtime(value) method test_configured_with_utc_or_localtime (line 49) | def test_configured_with_utc_or_localtime(data) method test_format (line 64) | def test_format(data) method test_format_without_time (line 74) | def test_format_without_time(data) method test_format_without_tag (line 84) | def test_format_without_tag(data) method test_format_without_time_and_tag (line 94) | def test_format_without_time_and_tag method test_format_without_time_and_tag_against_string_literal_configure (line 104) | def test_format_without_time_and_tag_against_string_literal_configure(... FILE: test/plugin/test_formatter_single_value.rb class SingleValueFormatterTest (line 5) | class SingleValueFormatterTest < ::Test::Unit::TestCase method create_driver (line 6) | def create_driver(conf = "") method test_config_params (line 10) | def test_config_params method test_config_params_message_key (line 15) | def test_config_params_message_key method test_format (line 22) | def test_format(data) method test_format_without_newline (line 29) | def test_format_without_newline method test_format_with_message_key (line 37) | def test_format_with_message_key(data) FILE: test/plugin/test_formatter_tsv.rb class TSVFormatterTest (line 5) | class TSVFormatterTest < ::Test::Unit::TestCase method setup (line 6) | def setup method create_driver (line 10) | def create_driver(conf = "") method tag (line 14) | def tag method record (line 18) | def record method test_config_params (line 22) | def test_config_params method test_format (line 42) | def test_format(data) method test_format_without_newline (line 53) | def test_format_without_newline method test_format_with_customized_delimiters (line 65) | def test_format_with_customized_delimiters(data) FILE: test/plugin/test_in_debug_agent.rb class DebugAgentInputTest (line 6) | class DebugAgentInputTest < Test::Unit::TestCase method setup (line 7) | def setup method create_driver (line 15) | def create_driver(conf = '') method test_unix_path_writable (line 19) | def test_unix_path_writable method test_multi_worker_environment_with_port (line 29) | def test_multi_worker_environment_with_port method test_multi_worker_environment_with_unix_path (line 40) | def test_multi_worker_environment_with_unix_path method test_default_configuration (line 50) | def test_default_configuration FILE: test/plugin/test_in_exec.rb class ExecInputTest (line 6) | class ExecInputTest < Test::Unit::TestCase method setup (line 11) | def setup method create_driver (line 16) | def create_driver(conf) FILE: test/plugin/test_in_forward.rb class ForwardInputTest (line 14) | class ForwardInputTest < Test::Unit::TestCase method setup (line 17) | def setup method teardown (line 25) | def teardown method base_config (line 34) | def base_config method config_auth (line 44) | def config_auth method create_driver (line 63) | def create_driver(conf=base_config) method packer (line 1029) | def packer(*args) method unpacker (line 1033) | def unpacker method read_data (line 1040) | def read_data(io, timeout, &block) method simulate_auth_sequence (line 1069) | def simulate_auth_sequence(io, shared_key=SHARED_KEY, username=USER_NA... method connect (line 1122) | def connect method send_data (line 1130) | def send_data(data, try_to_receive_response: false, response_timeout: ... method execute_test_with_source_hostname_key (line 1191) | def execute_test_with_source_hostname_key(*keys, &block) FILE: test/plugin/test_in_gc_stat.rb class GCStatInputTest (line 5) | class GCStatInputTest < Test::Unit::TestCase method setup (line 6) | def setup method create_driver (line 15) | def create_driver(conf=CONFIG) method test_configure (line 19) | def test_configure method setup_gc_stat (line 25) | def setup_gc_stat method test_emit (line 31) | def test_emit method test_emit_with_use_symbol_keys_false (line 45) | def test_emit_with_use_symbol_keys_false FILE: test/plugin/test_in_http.rb class HttpInputTest (line 7) | class HttpInputTest < Test::Unit::TestCase method startup (line 9) | def startup method shutdown (line 14) | def shutdown method setup (line 19) | def setup method teardown (line 24) | def teardown method config (line 29) | def config method create_driver (line 40) | def create_driver(conf=config) method test_configure (line 44) | def test_configure method test_time (line 54) | def test_time method test_time_as_float (line 78) | def test_time_as_float method test_json (line 99) | def test_json method test_default_with_time_format (line 124) | def test_default_with_time_format(data) method test_multi_json (line 152) | def test_multi_json method test_multi_json_with_time_field (line 174) | def test_multi_json_with_time_field method test_default_multi_with_time_format (line 201) | def test_default_multi_with_time_format(data) method test_multi_json_with_nonexistent_time_key (line 226) | def test_multi_json_with_nonexistent_time_key method test_json_with_add_remote_addr (line 249) | def test_json_with_add_remote_addr method test_exact_match_for_expect (line 271) | def test_exact_match_for_expect method test_exact_match_for_expect_with_other_header (line 284) | def test_exact_match_for_expect_with_other_header method test_multi_json_with_add_remote_addr (line 303) | def test_multi_json_with_add_remote_addr method test_json_with_add_remote_addr_given_x_forwarded_for (line 328) | def test_json_with_add_remote_addr_given_x_forwarded_for method test_multi_json_with_add_remote_addr_given_x_forwarded_for (line 356) | def test_multi_json_with_add_remote_addr_given_x_forwarded_for method test_add_remote_addr_given_multi_x_forwarded_for (line 379) | def test_add_remote_addr_given_multi_x_forwarded_for method test_multi_json_with_add_http_headers (line 410) | def test_multi_json_with_add_http_headers method test_json_with_add_http_headers (line 436) | def test_json_with_add_http_headers method test_multi_json_with_custom_parser (line 466) | def test_multi_json_with_custom_parser method test_application_json (line 498) | def test_application_json method test_csp_report (line 520) | def test_csp_report method test_application_msgpack (line 542) | def test_application_msgpack method test_application_ndjson (line 564) | def test_application_ndjson method test_multipart_formdata (line 587) | def test_multipart_formdata method test_msgpack (line 609) | def test_msgpack method test_multi_msgpack (line 632) | def test_multi_msgpack method test_with_regexp (line 655) | def test_with_regexp method test_with_csv (line 684) | def test_with_csv method test_response_with_empty_img (line 712) | def test_response_with_empty_img method test_response_without_empty_img (line 740) | def test_response_without_empty_img method test_response_use_204_response (line 766) | def test_response_use_204_response method test_cors_allowed (line 795) | def test_cors_allowed method test_cors_allowed_wildcard (line 822) | def test_cors_allowed_wildcard method test_get_request (line 842) | def test_get_request method test_cors_preflight (line 851) | def test_cors_preflight method test_cors_allowed_wildcard_for_subdomain (line 868) | def test_cors_allowed_wildcard_for_subdomain method test_cors_allowed_exclude_empty_string (line 888) | def test_cors_allowed_exclude_empty_string method test_cors_allowed_wildcard_preflight_for_subdomain (line 908) | def test_cors_allowed_wildcard_preflight_for_subdomain method test_cors_allow_credentials (line 925) | def test_cors_allow_credentials method test_cors_allow_credentials_for_wildcard_origins (line 956) | def test_cors_allow_credentials_for_wildcard_origins method test_cors_with_nil_origin (line 965) | def test_cors_with_nil_origin method test_content_encoding_gzip (line 985) | def test_content_encoding_gzip method test_content_encoding_deflate (line 1008) | def test_content_encoding_deflate method test_cors_disallowed (line 1031) | def test_cors_disallowed method test_add_query_params (line 1049) | def test_add_query_params method test_add_tag_prefix (line 1073) | def test_add_tag_prefix type ContentTypeHook (line 1099) | module ContentTypeHook function initialize (line 1100) | def initialize(*args) function on_headers_complete (line 1104) | def on_headers_complete(headers) function on_message_begin (line 1111) | def on_message_begin class Fluent::Plugin::HttpInput::Handler (line 1119) | class Fluent::Plugin::HttpInput::Handler method test_if_content_type_is_initialized_properly (line 1123) | def test_if_content_type_is_initialized_properly method get (line 1149) | def get(path, params, header = {}) method options (line 1155) | def options(path, params, header = {}) method post (line 1161) | def post(path, params, header = {}) method compress_gzip (line 1179) | def compress_gzip(data) method include_http_header? (line 1186) | def include_http_header?(record) FILE: test/plugin/test_in_monitor_agent.rb class MonitorAgentInputTest (line 13) | class MonitorAgentInputTest < Test::Unit::TestCase method setup (line 18) | def setup method create_driver (line 22) | def create_driver(conf = '') method configure_ra (line 26) | def configure_ra(ra, conf_str) method test_configure (line 32) | def test_configure class TestEventMetricRouter (line 44) | class TestEventMetricRouter < Fluent::Test::Driver::TestEventRouter method initialize (line 45) | def initialize(driver) method emit (line 51) | def emit(tag, time, record) method emit_array (line 56) | def emit_array(tag, array) method emit_stream (line 61) | def emit_stream(tag, es) class MetricInputDriver (line 67) | class MetricInputDriver < Fluent::Test::Driver::Input method configure (line 68) | def configure(conf, syntax: :v1) method test_enable_input_metrics (line 143) | def test_enable_input_metrics(with_config) method get (line 454) | def get(uri, header = {}) class FluentTestFailWriteOutput (line 771) | class FluentTestFailWriteOutput < ::Fluent::Plugin::Output method write (line 774) | def write(chunk) class FluentTestBufferVariableOutput (line 890) | class FluentTestBufferVariableOutput < ::Fluent::Plugin::Output method configure (line 892) | def configure(conf) method write (line 897) | def write(chunk) class FluentTestBufferVariableFilter (line 900) | class FluentTestBufferVariableFilter < ::Fluent::Plugin::Filter method initialize (line 902) | def initialize method filter (line 906) | def filter(tag, time, record) FILE: test/plugin/test_in_object_space.rb class ObjectSpaceInputTest (line 7) | class ObjectSpaceInputTest < Test::Unit::TestCase method waiting (line 8) | def waiting(seconds, instance) class FailObject (line 19) | class FailObject method setup (line 22) | def setup method teardown (line 31) | def teardown method create_driver (line 41) | def create_driver(conf=TESTCONFIG) method test_configure (line 45) | def test_configure method test_emit (line 52) | def test_emit FILE: test/plugin/test_in_sample.rb class SampleTest (line 6) | class SampleTest < Test::Unit::TestCase method setup (line 7) | def setup method create_driver (line 11) | def create_driver(conf) FILE: test/plugin/test_in_syslog.rb class SyslogInputTest (line 5) | class SyslogInputTest < Test::Unit::TestCase method setup (line 6) | def setup method teardown (line 11) | def teardown method ipv4_config (line 15) | def ipv4_config(port = @port) method ipv6_config (line 23) | def ipv6_config(port = @port) method create_driver (line 31) | def create_driver(conf=ipv4_config) method test_configure (line 39) | def test_configure(data) method test_configure_resolve_hostname (line 61) | def test_configure_resolve_hostname(param) method test_configure_protocol (line 70) | def test_configure_protocol(param) method test_respect_protocol_type_than_transport (line 80) | def test_respect_protocol_type_than_transport method test_time_format (line 101) | def test_time_format(data) method test_msg_size (line 127) | def test_msg_size method test_msg_size_udp_for_large_msg (line 143) | def test_msg_size_udp_for_large_msg method test_msg_size_with_tcp (line 161) | def test_msg_size_with_tcp method test_emit_rfc5452 (line 178) | def test_emit_rfc5452 method test_msg_size_with_same_tcp_connection (line 193) | def test_msg_size_with_same_tcp_connection method test_msg_size_with_json_format (line 210) | def test_msg_size_with_json_format method test_msg_size_with_include_source_host (line 230) | def test_msg_size_with_include_source_host method test_msg_size_with_severity_key (line 252) | def test_msg_size_with_severity_key(param_name) method test_msg_size_with_facility_key (line 269) | def test_msg_size_with_facility_key method test_msg_size_with_source_address_key (line 286) | def test_msg_size_with_source_address_key method test_msg_size_with_source_hostname_key (line 304) | def test_msg_size_with_source_hostname_key method create_test_case (line 323) | def create_test_case(large_message: false) method compare_test_result (line 339) | def compare_test_result(events, tests, options = {}) method test_msg_size_with_tcp (line 352) | def test_msg_size_with_tcp method test_msg_size_with_same_tcp_connection (line 369) | def test_msg_size_with_same_tcp_connection method create_test_case (line 386) | def create_test_case(large_message: false) method create_unmatched_lines_test_case (line 399) | def create_unmatched_lines_test_case method compare_unmatched_lines_test_result (line 410) | def compare_unmatched_lines_test_result(events, tests, options = {}) method test_emit_unmatched_lines (line 421) | def test_emit_unmatched_lines method test_emit_unmatched_lines_with_hostname (line 438) | def test_emit_unmatched_lines_with_hostname method test_emit_unmatched_lines_with_address (line 457) | def test_emit_unmatched_lines_with_address method test_send_keepalive_packet_is_disabled_by_default (line 476) | def test_send_keepalive_packet_is_disabled_by_default method test_send_keepalive_packet_can_be_enabled (line 486) | def test_send_keepalive_packet_can_be_enabled method test_send_keepalive_packet_can_not_be_enabled_for_udp (line 505) | def test_send_keepalive_packet_can_not_be_enabled_for_udp FILE: test/plugin/test_in_tail.rb class TailInputTest (line 13) | class TailInputTest < Test::Unit::TestCase method tmp_dir (line 16) | def tmp_dir method setup (line 20) | def setup method teardown (line 26) | def teardown method cleanup_directory (line 33) | def cleanup_directory(path) method cleanup_file (line 42) | def cleanup_file(path) method create_target_info (line 46) | def create_target_info(path) method base_config (line 56) | def base_config method common_config (line 60) | def common_config method common_follow_inode_config (line 64) | def common_follow_inode_config method ex_config (line 116) | def ex_config method tailing_group_pattern (line 129) | def tailing_group_pattern method create_group_directive (line 137) | def create_group_directive(pattern, rate_period, *rules) method create_rule_directive (line 146) | def create_rule_directive(match_named_captures, limit) method create_path_element (line 155) | def create_path_element(path) method create_driver (line 159) | def create_driver(conf = SINGLE_LINE_CONFIG, use_common_conf = true) method test_emit (line 440) | def test_emit(data) method test_emit_with_emit_unmatched_lines_true (line 464) | def test_emit_with_emit_unmatched_lines_true method test_emit_with_read_lines_limit (line 490) | def test_emit_with_read_lines_limit(data) method test_emit_with_read_bytes_limit_per_second (line 530) | def test_emit_with_read_bytes_limit_per_second(data) method test_read_bytes_limit_precede_read_lines_limit (line 560) | def test_read_bytes_limit_precede_read_lines_limit method test_emit_with_read_bytes_limit_per_second (line 595) | def test_emit_with_read_bytes_limit_per_second(data) method test_longer_than_rotate_wait (line 641) | def test_longer_than_rotate_wait method test_shorter_than_rotate_wait (line 677) | def test_shorter_than_rotate_wait method test_emit_with_read_from_head (line 728) | def test_emit_with_read_from_head(data) method test_emit_without_watch_timer (line 754) | def test_emit_without_watch_timer(data) method test_watch_wildcard_path_without_watch_timer (line 779) | def test_watch_wildcard_path_without_watch_timer method test_emit_with_disable_stat_watcher (line 812) | def test_emit_with_disable_stat_watcher(data) method test_always_read_from_head_on_detecting_a_new_file (line 834) | def test_always_read_from_head_on_detecting_a_new_file class TestWithSystem (line 852) | class TestWithSystem < self method setup (line 862) | def setup method teardown (line 869) | def teardown method parse_system (line 876) | def parse_system(text) method test_emit_with_system (line 881) | def test_emit_with_system method create_driver (line 913) | def create_driver(conf = SINGLE_LINE_CONFIG) method test_rotate_file (line 920) | def test_rotate_file(data) method test_rotate_file_with_read_from_head (line 929) | def test_rotate_file_with_read_from_head(data) method test_rotate_file_with_open_on_every_update (line 938) | def test_rotate_file_with_open_on_every_update(data) method test_rotate_file_with_write_old (line 947) | def test_rotate_file_with_write_old(data) method test_rotate_file_with_write_old_and_no_new_file (line 969) | def test_rotate_file_with_write_old_and_no_new_file(data) method sub_test_rotate_file (line 980) | def sub_test_rotate_file(config = nil, expect_emits: nil, expect_recor... method test_truncate_file (line 1022) | def test_truncate_file method test_move_truncate_move_back (line 1062) | def test_move_truncate_move_back method test_lf (line 1100) | def test_lf method test_whitespace (line 1121) | def test_whitespace method test_encoding (line 1152) | def test_encoding(data) method test_from_encoding (line 1167) | def test_from_encoding method test_from_encoding_utf16 (line 1190) | def test_from_encoding_utf16 method test_encoding_with_bad_character (line 1213) | def test_encoding_with_bad_character method test_encoding_for_regular_expression_parsing (line 1234) | def test_encoding_for_regular_expression_parsing method test_multiline (line 1253) | def test_multiline(data) method test_multiline_with_emit_unmatched_lines_true (line 1281) | def test_multiline_with_emit_unmatched_lines_true(data) method test_multiline_with_emit_unmatched_lines2 (line 1311) | def test_multiline_with_emit_unmatched_lines2(data) method test_multiline_with_flush_interval (line 1338) | def test_multiline_with_flush_interval(data) method test_multiline_encoding_of_flushed_record (line 1372) | def test_multiline_encoding_of_flushed_record(data) method test_multiline_from_encoding_of_flushed_record (line 1391) | def test_multiline_from_encoding_of_flushed_record method test_multiline_with_multiple_formats (line 1435) | def test_multiline_with_multiple_formats(data) method test_multilinelog_with_multiple_paths (line 1476) | def test_multilinelog_with_multiple_paths(data) method test_multiline_without_firstline (line 1521) | def test_multiline_without_firstline(data) method test_expand_paths (line 1547) | def test_expand_paths method test_expand_paths_with_use_glob_p_and_almost_set_of_patterns (line 1572) | def test_expand_paths_with_use_glob_p_and_almost_set_of_patterns method test_expand_paths_with_use_glob_p (line 1595) | def test_expand_paths_with_use_glob_p method test_expand_paths_with_use_glob_p (line 1624) | def test_expand_paths_with_use_glob_p method ex_config_with_brackets (line 1643) | def ex_config_with_brackets method test_config_with_always_with_default_delimiter (line 1657) | def test_config_with_always_with_default_delimiter method test_config_with_always_with_custom_delimiter (line 1675) | def test_config_with_always_with_custom_delimiter method test_expand_paths_with_brackets (line 1694) | def test_expand_paths_with_brackets method test_expand_paths_with_duplicate_configuration (line 1706) | def test_expand_paths_with_duplicate_configuration method test_expand_paths_with_timezone (line 1717) | def test_expand_paths_with_timezone method test_log_file_without_extension (line 1743) | def test_log_file_without_extension method test_unwatched_files_should_be_removed (line 1762) | def test_unwatched_files_should_be_removed method count_timer_object (line 1797) | def count_timer_object method capability_enabled? (line 1807) | def capability_enabled? method test_pos_file_dir_creation (line 1849) | def test_pos_file_dir_creation method test_pos_file_dir_creation_with_system_dir_permission (line 1868) | def test_pos_file_dir_creation_with_system_dir_permission method test_z_refresh_watchers (line 1895) | def test_z_refresh_watchers method test_tag (line 1955) | def test_tag method test_tag_with_only_star (line 1963) | def test_tag_with_only_star method test_tag_prefix (line 1977) | def test_tag_prefix method test_tag_suffix (line 1991) | def test_tag_suffix method test_tag_prefix_and_suffix (line 2005) | def test_tag_prefix_and_suffix method test_tag_prefix_and_suffix_ignore (line 2019) | def test_tag_prefix_and_suffix_ignore method test_missing_file (line 2036) | def test_missing_file method test_should_delete_file_pos_entry_for_non_existing_file_with_follow_inodes (line 2070) | def test_should_delete_file_pos_entry_for_non_existing_file_with_follo... method test_should_write_latest_offset_after_rotate_wait (line 2091) | def test_should_write_latest_offset_after_rotate_wait method test_should_remove_deleted_file (line 2120) | def test_should_remove_deleted_file method test_should_mark_file_unwatched_after_limit_recently_modified_and_rotate_wait (line 2138) | def test_should_mark_file_unwatched_after_limit_recently_modified_and_... method test_should_read_from_head_on_file_renaming_with_star_in_pattern (line 2176) | def test_should_read_from_head_on_file_renaming_with_star_in_pattern method test_should_not_read_from_head_on_rotation_when_watching_inodes (line 2206) | def test_should_not_read_from_head_on_rotation_when_watching_inodes method test_should_mark_file_unwatched_if_same_name_file_created_with_different_inode (line 2230) | def test_should_mark_file_unwatched_if_same_name_file_created_with_dif... method test_should_close_watcher_after_rotate_wait (line 2261) | def test_should_close_watcher_after_rotate_wait method test_should_create_new_watcher_for_new_file_with_same_name (line 2285) | def test_should_create_new_watcher_for_new_file_with_same_name method test_truncate_file_with_follow_inodes (line 2323) | def test_truncate_file_with_follow_inodes method test_should_replace_target_info (line 2349) | def test_should_replace_target_info method test_tail_path_with_singleline (line 2393) | def test_tail_path_with_singleline method test_tail_path_with_multiline_with_firstline (line 2415) | def test_tail_path_with_multiline_with_firstline method test_tail_path_with_multiline_without_firstline (line 2445) | def test_tail_path_with_multiline_without_firstline method test_tail_path_with_multiline_with_multiple_paths (line 2471) | def test_tail_path_with_multiline_with_multiple_paths method test_limit_recently_modified (line 2507) | def test_limit_recently_modified method test_skip_refresh_on_startup (line 2531) | def test_skip_refresh_on_startup method test_ENOENT_error_after_setup_watcher (line 2546) | def test_ENOENT_error_after_setup_watcher method test_EACCES_error_after_setup_watcher (line 2570) | def test_EACCES_error_after_setup_watcher method test_EACCES (line 2601) | def test_EACCES method test_warn_without_directory_permission (line 2619) | def test_warn_without_directory_permission method test_no_warn_with_directory_permission (line 2640) | def test_no_warn_with_directory_permission method test_other_user_owned_files (line 2659) | def test_other_user_owned_files method test_shutdown_timeout (line 2675) | def test_shutdown_timeout method test_lines_collected_with_no_throttling (line 2712) | def test_lines_collected_with_no_throttling(data) method test_updateTW_before_refreshTW_and_detach_before_refreshTW (line 2814) | def test_updateTW_before_refreshTW_and_detach_before_refreshTW method test_updateTW_before_refreshTW_and_detach_after_refreshTW (line 2897) | def test_updateTW_before_refreshTW_and_detach_after_refreshTW method test_updateTW_after_refreshTW (line 2985) | def test_updateTW_after_refreshTW method test_path_resurrection (line 3074) | def test_path_resurrection method test_next_rotation_occurs_very_fast_while_old_TW_still_waiting_rotate_wait (line 3191) | def test_next_rotation_occurs_very_fast_while_old_TW_still_waiting_rot... method test_refreshTW_during_rotation (line 3281) | def test_refreshTW_during_rotation method test_next_rotation_occurs_very_fast_while_old_TW_still_waiting_rotate_wait (line 3375) | def test_next_rotation_occurs_very_fast_while_old_TW_still_waiting_rot... FILE: test/plugin/test_in_tcp.rb class TcpInputTest (line 5) | class TcpInputTest < Test::Unit::TestCase method setup (line 6) | def setup method teardown (line 11) | def teardown method base_config (line 15) | def base_config method ipv4_config (line 22) | def ipv4_config method ipv6_config (line 29) | def ipv6_config method create_driver (line 36) | def create_driver(conf) method create_tcp_socket (line 40) | def create_tcp_socket(host, port, &block) FILE: test/plugin/test_in_udp.rb class UdpInputTest (line 5) | class UdpInputTest < Test::Unit::TestCase method setup (line 6) | def setup method teardown (line 11) | def teardown method base_config (line 15) | def base_config method ipv4_config (line 22) | def ipv4_config method ipv6_config (line 29) | def ipv6_config method create_driver (line 36) | def create_driver(conf) method create_udp_socket (line 40) | def create_udp_socket(host, port) FILE: test/plugin/test_in_unix.rb class UnixInputTest (line 5) | class UnixInputTest < Test::Unit::TestCase method setup (line 6) | def setup method teardown (line 11) | def teardown method create_driver (line 21) | def create_driver(conf = CONFIG) method packer (line 25) | def packer(*args) method unpacker (line 29) | def unpacker method send_data (line 33) | def send_data(data) method test_configure (line 42) | def test_configure method test_time (line 48) | def test_time method test_message (line 71) | def test_message method test_forward (line 89) | def test_forward method test_packed_forward (line 108) | def test_packed_forward method test_message_json (line 127) | def test_message_json method test_message_with_tag (line 146) | def test_message_with_tag method test_broken_message (line 168) | def test_broken_message(data) FILE: test/plugin/test_input.rb type FluentPluginInputTest (line 5) | module FluentPluginInputTest class DummyPlugin (line 6) | class DummyPlugin < Fluent::Plugin::Input class InputTest (line 10) | class InputTest < Test::Unit::TestCase class FluentPluginInputTest::DummyPlugin2 (line 82) | class FluentPluginInputTest::DummyPlugin2 < Fluent::Plugin::Input method emit (line 110) | def emit(tag, es) FILE: test/plugin/test_metadata.rb class BufferMetadataTest (line 4) | class BufferMetadataTest < Test::Unit::TestCase method meta (line 6) | def meta(timekey=nil, tag=nil, variables=nil) FILE: test/plugin/test_metrics.rb class BareMetrics (line 6) | class BareMetrics < Fluent::Plugin::Metrics method has_methods_for_counter? (line 12) | def has_methods_for_counter? class BasicCounterMetrics (line 17) | class BasicCounterMetrics < Fluent::Plugin::Metrics method initialize (line 22) | def initialize method get (line 26) | def get method inc (line 29) | def inc method add (line 32) | def add(value) method set (line 35) | def set(value) method close (line 38) | def close class AliasedCounterMetrics (line 44) | class AliasedCounterMetrics < Fluent::Plugin::Metrics method initialize (line 49) | def initialize method configure (line 53) | def configure(conf) method get (line 59) | def get method inc (line 62) | def inc method add (line 65) | def add(value) method set_counter (line 68) | def set_counter(value) method close (line 71) | def close class BasicGaugeMetrics (line 77) | class BasicGaugeMetrics < Fluent::Plugin::Metrics method initialize (line 82) | def initialize method get (line 86) | def get method inc (line 89) | def inc method dec (line 92) | def dec method add (line 95) | def add(value) method sub (line 98) | def sub(value) method set (line 101) | def set(value) method close (line 104) | def close class AliasedGaugeMetrics (line 110) | class AliasedGaugeMetrics < Fluent::Plugin::Metrics method initialize (line 115) | def initialize method configure (line 119) | def configure(conf) method get (line 127) | def get method inc (line 130) | def inc method dec_gauge (line 133) | def dec_gauge method add (line 136) | def add(value) method sub_gauge (line 139) | def sub_gauge(value) method set_gauge (line 142) | def set_gauge(value) method close (line 145) | def close class StorageTest (line 151) | class StorageTest < Test::Unit::TestCase FILE: test/plugin/test_metrics_local.rb class LocalMetricsTest (line 5) | class LocalMetricsTest < ::Test::Unit::TestCase FILE: test/plugin/test_multi_output.rb type FluentPluginMultiOutputTest (line 9) | module FluentPluginMultiOutputTest class DummyMultiOutput (line 10) | class DummyMultiOutput < Fluent::Plugin::MultiOutput method initialize (line 12) | def initialize method configure (line 16) | def configure(conf) method process (line 19) | def process(tag, es) class DummyCompatMultiOutput (line 25) | class DummyCompatMultiOutput < Fluent::Plugin::MultiOutput method initialize (line 26) | def initialize method configure (line 30) | def configure(conf) method process (line 33) | def process(tag, es) class Dummy1Output (line 38) | class Dummy1Output < Fluent::Plugin::Output method configure (line 41) | def configure(conf) method process (line 45) | def process(tag, es) class Dummy2Output (line 48) | class Dummy2Output < Fluent::Plugin::Output method configure (line 51) | def configure(conf) method process (line 55) | def process(tag, es) class Dummy3Output (line 58) | class Dummy3Output < Fluent::Plugin::Output method configure (line 61) | def configure(conf) method process (line 65) | def process(tag, es) class Dummy4Output (line 68) | class Dummy4Output < Fluent::Plugin::Output method configure (line 71) | def configure(conf) method process (line 75) | def process(tag, es) class MultiOutputTest (line 80) | class MultiOutputTest < Test::Unit::TestCase method create_output (line 81) | def create_output(type=:multi) FILE: test/plugin/test_out_buffer.rb class BufferOutputTest (line 5) | class BufferOutputTest < Test::Unit::TestCase method setup (line 6) | def setup method create_driver (line 10) | def create_driver(conf = "") FILE: test/plugin/test_out_copy.rb class CopyOutputTest (line 7) | class CopyOutputTest < Test::Unit::TestCase method startup (line 11) | def startup method shutdown (line 17) | def shutdown method setup (line 22) | def setup method create_driver (line 41) | def create_driver(conf = CONFIG) method test_configure (line 45) | def test_configure method test_configure_with_errorneus_ignore_if_prev_success (line 74) | def test_configure_with_errorneus_ignore_if_prev_success method test_configure_all_ignore_errors_without_ignore_if_prev_success (line 95) | def test_configure_all_ignore_errors_without_ignore_if_prev_success method test_configure_with_deep_copy_and_use_shallow_copy_mode (line 102) | def test_configure_with_deep_copy_and_use_shallow_copy_mode method test_feed_events (line 119) | def test_feed_events method test_msgpack_unpacker_cache_bug_for_msgpack_event_stream (line 137) | def test_msgpack_unpacker_cache_bug_for_msgpack_event_stream method create_event_test_driver (line 153) | def create_event_test_driver(copy_mode = 'no_copy') method test_copy_mode_with_event_streams (line 198) | def test_copy_mode_with_event_streams(data) method test_ignore_error (line 250) | def test_ignore_error method test_ignore_if_prev_success (line 281) | def test_ignore_if_prev_success FILE: test/plugin/test_out_exec.rb class ExecOutputTest (line 6) | class ExecOutputTest < Test::Unit::TestCase method setup (line 7) | def setup method create_driver (line 21) | def create_driver(config) method create_test_data (line 25) | def create_test_data FILE: test/plugin/test_out_exec_filter.rb class ExecFilterOutputTest (line 6) | class ExecFilterOutputTest < Test::Unit::TestCase method setup (line 7) | def setup method create_driver (line 46) | def create_driver(conf) FILE: test/plugin/test_out_file.rb class FileOutputTest (line 11) | class FileOutputTest < Test::Unit::TestCase method setup (line 12) | def setup method create_driver (line 34) | def create_driver(conf = CONFIG, opts = {}) method check_zipped_result (line 401) | def check_zipped_result(path, expect, type: :gzip) method check_result (line 431) | def check_result(path, expect) method parse_system (line 498) | def parse_system(text) method run_and_check (line 799) | def run_and_check(d, symlink_path, relative_symlink=false) FILE: test/plugin/test_out_forward.rb class ForwardOutputTest (line 9) | class ForwardOutputTest < Test::Unit::TestCase method setup (line 10) | def setup method teardown (line 19) | def teardown method config (line 28) | def config method target_config (line 40) | def target_config method create_driver (line 47) | def create_driver(conf=config) method create_target_input_driver (line 1109) | def create_target_input_driver(response_stub: nil, disconnect: false, ... method plugin_id_for_test? (line 1181) | def plugin_id_for_test? FILE: test/plugin/test_out_http.rb type WEBrick::HTTPServlet (line 13) | module WEBrick::HTTPServlet class ProcHandler (line 14) | class ProcHandler < AbstractServlet class HTTPOutputTest (line 19) | class HTTPOutputTest < Test::Unit::TestCase method startup (line 27) | def startup method shutdown (line 33) | def shutdown method server_port (line 40) | def server_port method base_endpoint (line 44) | def base_endpoint method server_config (line 48) | def server_config method http_client (line 56) | def http_client(**opts, &block) method run_http_server (line 65) | def run_http_server method create_driver (line 155) | def create_driver(conf) method config (line 159) | def config method test_events (line 165) | def test_events method test_configure (line 172) | def test_configure method test_configure_with_warn (line 183) | def test_configure_with_warn method test_configure_without_warn (line 188) | def test_configure_without_warn method test_configure_with_json_array_err (line 198) | def test_configure_with_json_array_err(format_type) method test_configure_content_type (line 213) | def test_configure_content_type(types) method test_configure_content_type_json_array (line 225) | def test_configure_content_type_json_array(content_type) method test_write_with_method (line 232) | def test_write_with_method(method) method test_write_with_json_array_setting (line 248) | def test_write_with_json_array_setting method test_write_with_single_value_format (line 262) | def test_write_with_single_value_format method test_write_with_headers (line 280) | def test_write_with_headers method test_write_with_headers_from_placeholders (line 293) | def test_write_with_headers_from_placeholders method test_write_with_retryable_response (line 312) | def test_write_with_retryable_response method test_write_with_disabled_unrecoverable (line 330) | def test_write_with_disabled_unrecoverable method server_port (line 357) | def server_port method test_basic_auth (line 361) | def test_basic_auth method test_basic_auth_with_invalid_auth (line 383) | def test_basic_auth_with_invalid_auth method server_port (line 413) | def server_port method test_aws_sigv4_sts_role_arn (line 417) | def test_aws_sigv4_sts_role_arn method test_aws_sigv4_no_role (line 456) | def test_aws_sigv4_no_role method server_port (line 495) | def server_port method server_config (line 499) | def server_config method http_client (line 508) | def http_client(&block) method test_write_with_https (line 512) | def test_write_with_https method server_port (line 534) | def server_port method test_write_with_gzip (line 540) | def test_write_with_gzip method server_port (line 569) | def server_port method test_connection_recreation (line 573) | def test_connection_recreation FILE: test/plugin/test_out_null.rb class NullOutputTest (line 5) | class NullOutputTest < Test::Unit::TestCase method setup (line 6) | def setup method create_driver (line 10) | def create_driver(conf = "") FILE: test/plugin/test_out_relabel.rb class RelabelOutputTest (line 5) | class RelabelOutputTest < Test::Unit::TestCase method setup (line 6) | def setup method default_config (line 10) | def default_config method create_driver (line 14) | def create_driver(conf = default_config) method test_process (line 18) | def test_process FILE: test/plugin/test_out_roundrobin.rb class RoundRobinOutputTest (line 5) | class RoundRobinOutputTest < Test::Unit::TestCase method startup (line 7) | def startup method shutdown (line 13) | def shutdown method setup (line 18) | def setup method create_driver (line 53) | def create_driver(conf = CONFIG) method test_configure (line 57) | def test_configure method test_events_feeded_to_plugins_by_roundrobin (line 102) | def test_events_feeded_to_plugins_by_roundrobin method test_events_feeded_with_specified_weights (line 129) | def test_events_feeded_with_specified_weights FILE: test/plugin/test_out_secondary_file.rb class FileOutputSecondaryTest (line 11) | class FileOutputSecondaryTest < Test::Unit::TestCase method setup (line 14) | def setup class DummyOutput (line 28) | class DummyOutput < Fluent::Plugin::Output method write (line 29) | def write(chunk); end method create_primary (line 32) | def create_primary(buffer_config = config_element('buffer')) method create_driver (line 36) | def create_driver(conf = CONFIG, primary = create_primary) method check_gzipped_result (line 113) | def check_gzipped_result(path, expect) method create_chunk (line 134) | def create_chunk(primary, metadata, es) FILE: test/plugin/test_out_stdout.rb class StdoutOutputTest (line 5) | class StdoutOutputTest < Test::Unit::TestCase method setup (line 6) | def setup method create_driver (line 14) | def create_driver(conf = CONFIG) method capture_log (line 211) | def capture_log method capture_stdout (line 220) | def capture_stdout FILE: test/plugin/test_out_stream.rb type StreamOutputTest (line 5) | module StreamOutputTest function setup (line 6) | def setup function test_write (line 10) | def test_write function test_write_event_time (line 26) | def test_write_event_time function create_driver (line 43) | def create_driver(klass, conf) class TcpOutputTest (line 52) | class TcpOutputTest < Test::Unit::TestCase method setup (line 55) | def setup method teardown (line 60) | def teardown method config (line 64) | def config method create_driver (line 72) | def create_driver(conf=config) method test_configure (line 76) | def test_configure class UnixOutputTest (line 84) | class UnixOutputTest < Test::Unit::TestCase method create_driver (line 93) | def create_driver(conf=CONFIG) method test_configure (line 97) | def test_configure FILE: test/plugin/test_output.rb type FluentPluginOutputTest (line 10) | module FluentPluginOutputTest class DummyBareOutput (line 11) | class DummyBareOutput < Fluent::Plugin::Output method register (line 12) | def register(name, &block) class DummySyncOutput (line 16) | class DummySyncOutput < DummyBareOutput method initialize (line 17) | def initialize method process (line 21) | def process(tag, es) class DummyAsyncOutput (line 25) | class DummyAsyncOutput < DummyBareOutput method initialize (line 26) | def initialize method format (line 31) | def format(tag, time, record) method write (line 34) | def write(chunk) class DummyAsyncStandardOutput (line 38) | class DummyAsyncStandardOutput < DummyBareOutput method initialize (line 39) | def initialize method write (line 43) | def write(chunk) class DummyDelayedOutput (line 47) | class DummyDelayedOutput < DummyBareOutput method initialize (line 48) | def initialize method format (line 53) | def format(tag, time, record) method try_write (line 56) | def try_write(chunk) class DummyDelayedStandardOutput (line 60) | class DummyDelayedStandardOutput < DummyBareOutput method initialize (line 61) | def initialize method try_write (line 65) | def try_write(chunk) class DummyFullFeatureOutput (line 69) | class DummyFullFeatureOutput < DummyBareOutput method initialize (line 70) | def initialize method prefer_buffered_processing (line 79) | def prefer_buffered_processing method prefer_delayed_commit (line 82) | def prefer_delayed_commit method process (line 85) | def process(tag, es) method format (line 88) | def format(tag, time, record) method write (line 91) | def write(chunk) method try_write (line 94) | def try_write(chunk) class OutputTest (line 100) | class OutputTest < Test::Unit::TestCase method startup (line 102) | def startup method shutdown (line 107) | def shutdown method create_output (line 112) | def create_output(type=:full) method create_metadata (line 125) | def create_metadata(timekey: nil, tag: nil, variables: nil) method create_chunk (line 128) | def create_chunk(timekey: nil, tag: nil, variables: nil) method waiting (line 132) | def waiting(seconds) method invoke_slow_flush_log_threshold_test (line 1048) | def invoke_slow_flush_log_threshold_test(i) method setup (line 1161) | def setup method assert_worker_lock (line 1168) | def assert_worker_lock(lock_path, expect_locked) method assert_thread_lock (line 1181) | def assert_thread_lock(output_plugin, expect_locked) FILE: test/plugin/test_output_as_buffered.rb type FluentPluginOutputAsBufferedTest (line 12) | module FluentPluginOutputAsBufferedTest class DummyBareOutput (line 13) | class DummyBareOutput < Fluent::Plugin::Output method register (line 14) | def register(name, &block) class DummySyncOutput (line 18) | class DummySyncOutput < DummyBareOutput method initialize (line 19) | def initialize method process (line 23) | def process(tag, es) class DummyAsyncOutput (line 27) | class DummyAsyncOutput < DummyBareOutput method initialize (line 28) | def initialize method format (line 33) | def format(tag, time, record) method write (line 36) | def write(chunk) class DummyDelayedOutput (line 40) | class DummyDelayedOutput < DummyBareOutput method initialize (line 41) | def initialize method format (line 47) | def format(tag, time, record) method try_write (line 50) | def try_write(chunk) method shutdown (line 53) | def shutdown class DummyStandardBufferedOutput (line 60) | class DummyStandardBufferedOutput < DummyBareOutput method initialize (line 61) | def initialize method prefer_delayed_commit (line 67) | def prefer_delayed_commit method write (line 70) | def write(chunk) method try_write (line 73) | def try_write(chunk) class DummyCustomFormatBufferedOutput (line 77) | class DummyCustomFormatBufferedOutput < DummyBareOutput method initialize (line 78) | def initialize method format (line 85) | def format(tag, time, record) method formatted_to_msgpack_binary? (line 88) | def formatted_to_msgpack_binary? method prefer_delayed_commit (line 91) | def prefer_delayed_commit method write (line 94) | def write(chunk) method try_write (line 97) | def try_write(chunk) class DummyOldCustomFormatBufferedOutput (line 102) | class DummyOldCustomFormatBufferedOutput < DummyBareOutput method initialize (line 103) | def initialize method format (line 110) | def format(tag, time, record) method formatted_to_msgpack_binary (line 113) | def formatted_to_msgpack_binary method prefer_delayed_commit (line 116) | def prefer_delayed_commit method write (line 119) | def write(chunk) method try_write (line 122) | def try_write(chunk) class DummyFullFeatureOutput (line 126) | class DummyFullFeatureOutput < DummyBareOutput method initialize (line 127) | def initialize method prefer_buffered_processing (line 136) | def prefer_buffered_processing method prefer_delayed_commit (line 139) | def prefer_delayed_commit method process (line 142) | def process(tag, es) method format (line 145) | def format(tag, time, record) method write (line 148) | def write(chunk) method try_write (line 151) | def try_write(chunk) type OldPluginMethodMixin (line 155) | module OldPluginMethodMixin function initialize (line 156) | def initialize function register (line 161) | def register(name, &block) function format (line 164) | def format(tag, time, record) function write (line 167) | def write(chunk) class DummyOldBufferedOutput (line 171) | class DummyOldBufferedOutput < Fluent::BufferedOutput class DummyOldObjectBufferedOutput (line 174) | class DummyOldObjectBufferedOutput < Fluent::ObjectBufferedOutput class BufferedOutputTest (line 179) | class BufferedOutputTest < Test::Unit::TestCase method create_output (line 180) | def create_output(type=:full) method create_metadata (line 196) | def create_metadata(timekey: nil, tag: nil, variables: nil) method waiting (line 199) | def waiting(seconds) FILE: test/plugin/test_output_as_buffered_backup.rb class BufferedOutputBackupTest (line 13) | class BufferedOutputBackupTest < Test::Unit::TestCase class BareOutput (line 14) | class BareOutput < Fluent::Plugin::Output method register (line 15) | def register(name, &block) class DummyOutput (line 19) | class DummyOutput < BareOutput method initialize (line 20) | def initialize method prefer_buffered_processing (line 27) | def prefer_buffered_processing method prefer_delayed_commit (line 30) | def prefer_delayed_commit method process (line 33) | def process(tag, es) method format (line 36) | def format(tag, time, record) method write (line 39) | def write(chunk) method try_write (line 42) | def try_write(chunk) class DummyOutputForSecondary (line 46) | class DummyOutputForSecondary < BareOutput method initialize (line 47) | def initialize method prefer_buffered_processing (line 54) | def prefer_buffered_processing method prefer_delayed_commit (line 57) | def prefer_delayed_commit method process (line 60) | def process(tag, es) method format (line 63) | def format(tag, time, record) method write (line 66) | def write(chunk) method try_write (line 69) | def try_write(chunk) class DummyAsyncOutputForSecondary (line 73) | class DummyAsyncOutputForSecondary < BareOutput method initialize (line 74) | def initialize method prefer_buffered_processing (line 81) | def prefer_buffered_processing method prefer_delayed_commit (line 84) | def prefer_delayed_commit method process (line 87) | def process(tag, es) method format (line 90) | def format(tag, time, record) method write (line 93) | def write(chunk) method try_write (line 96) | def try_write(chunk) method create_output (line 103) | def create_output method create_metadata (line 106) | def create_metadata(timekey: nil, tag: nil, variables: nil) method waiting (line 109) | def waiting(seconds) method dummy_event_stream (line 120) | def dummy_event_stream method flush_chunks (line 151) | def flush_chunks method wait_flush (line 172) | def wait_flush(target_file) FILE: test/plugin/test_output_as_buffered_compress.rb type FluentPluginOutputAsBufferedCompressTest (line 9) | module FluentPluginOutputAsBufferedCompressTest class DummyBareOutput (line 10) | class DummyBareOutput < Fluent::Plugin::Output method register (line 11) | def register(name, &block) class DummyAsyncOutput (line 16) | class DummyAsyncOutput < DummyBareOutput method initialize (line 17) | def initialize method write (line 21) | def write(chunk) class DummyAsyncOutputWithFormat (line 26) | class DummyAsyncOutputWithFormat < DummyBareOutput method initialize (line 27) | def initialize method write (line 31) | def write(chunk) method format (line 34) | def format(tag, time, record) function dummy_event_stream (line 39) | def self.dummy_event_stream class BufferedOutputCompressTest (line 50) | class BufferedOutputCompressTest < Test::Unit::TestCase method create_output (line 53) | def create_output(type=:async) method waiting (line 62) | def waiting(seconds) FILE: test/plugin/test_output_as_buffered_overflow.rb type FluentPluginOutputAsBufferedOverflowTest (line 11) | module FluentPluginOutputAsBufferedOverflowTest class DummyBareOutput (line 12) | class DummyBareOutput < Fluent::Plugin::Output method register (line 13) | def register(name, &block) class DummyAsyncOutput (line 17) | class DummyAsyncOutput < DummyBareOutput method initialize (line 18) | def initialize method format (line 22) | def format(tag, time, record) method write (line 25) | def write(chunk) class BufferedOutputOverflowTest (line 31) | class BufferedOutputOverflowTest < Test::Unit::TestCase method create_output (line 32) | def create_output method create_metadata (line 35) | def create_metadata(timekey: nil, tag: nil, variables: nil) method waiting (line 38) | def waiting(seconds) FILE: test/plugin/test_output_as_buffered_retries.rb type FluentPluginOutputAsBufferedRetryTest (line 11) | module FluentPluginOutputAsBufferedRetryTest class DummyBareOutput (line 12) | class DummyBareOutput < Fluent::Plugin::Output method register (line 13) | def register(name, &block) class DummySyncOutput (line 17) | class DummySyncOutput < DummyBareOutput method initialize (line 18) | def initialize method process (line 22) | def process(tag, es) class DummyFullFeatureOutput (line 26) | class DummyFullFeatureOutput < DummyBareOutput method initialize (line 27) | def initialize method prefer_buffered_processing (line 36) | def prefer_buffered_processing method prefer_delayed_commit (line 39) | def prefer_delayed_commit method process (line 42) | def process(tag, es) method format (line 45) | def format(tag, time, record) method write (line 48) | def write(chunk) method try_write (line 51) | def try_write(chunk) class DummyFullFeatureOutput2 (line 55) | class DummyFullFeatureOutput2 < DummyFullFeatureOutput method prefer_buffered_processing (line 56) | def prefer_buffered_processing; true; end method prefer_delayed_commit (line 57) | def prefer_delayed_commit; super; end method format (line 58) | def format(tag, time, record); super; end method write (line 59) | def write(chunk); super; end method try_write (line 60) | def try_write(chunk); super; end class BufferedOutputRetryTest (line 64) | class BufferedOutputRetryTest < Test::Unit::TestCase method create_output (line 65) | def create_output(type=:full) method create_metadata (line 74) | def create_metadata(timekey: nil, tag: nil, variables: nil) method waiting (line 77) | def waiting(seconds) method dummy_event_stream (line 87) | def dummy_event_stream method get_log_time (line 94) | def get_log_time(msg, logs) FILE: test/plugin/test_output_as_buffered_secondary.rb type FluentPluginOutputAsBufferedSecondaryTest (line 11) | module FluentPluginOutputAsBufferedSecondaryTest class DummyBareOutput (line 12) | class DummyBareOutput < Fluent::Plugin::Output method register (line 13) | def register(name, &block) class DummySyncOutput (line 17) | class DummySyncOutput < DummyBareOutput method initialize (line 18) | def initialize method process (line 22) | def process(tag, es) class DummyFullFeatureOutput (line 26) | class DummyFullFeatureOutput < DummyBareOutput method initialize (line 27) | def initialize method prefer_buffered_processing (line 36) | def prefer_buffered_processing method prefer_delayed_commit (line 39) | def prefer_delayed_commit method process (line 42) | def process(tag, es) method format (line 45) | def format(tag, time, record) method write (line 48) | def write(chunk) method try_write (line 51) | def try_write(chunk) class DummyFullFeatureOutput2 (line 55) | class DummyFullFeatureOutput2 < DummyFullFeatureOutput method prefer_buffered_processing (line 56) | def prefer_buffered_processing; true; end method prefer_delayed_commit (line 57) | def prefer_delayed_commit; super; end method format (line 58) | def format(tag, time, record); super; end method write (line 59) | def write(chunk); super; end method try_write (line 60) | def try_write(chunk); super; end class BufferedOutputSecondaryTest (line 64) | class BufferedOutputSecondaryTest < Test::Unit::TestCase method create_output (line 65) | def create_output(type=:full) method create_metadata (line 74) | def create_metadata(timekey: nil, tag: nil, variables: nil) method waiting (line 77) | def waiting(seconds) method dummy_event_stream (line 87) | def dummy_event_stream FILE: test/plugin/test_output_as_standard.rb type FluentPluginStandardBufferedOutputTest (line 13) | module FluentPluginStandardBufferedOutputTest class DummyBareOutput (line 14) | class DummyBareOutput < Fluent::Plugin::Output method register (line 15) | def register(name, &block) class DummyAsyncOutput (line 19) | class DummyAsyncOutput < DummyBareOutput method format (line 20) | def format(tag, time, record) method write (line 23) | def write(chunk) class DummyAsyncStandardOutput (line 27) | class DummyAsyncStandardOutput < DummyBareOutput method write (line 28) | def write(chunk) class StandardBufferedOutputTest (line 34) | class StandardBufferedOutputTest < Test::Unit::TestCase method create_output (line 35) | def create_output(type=:full) method create_metadata (line 44) | def create_metadata(timekey: nil, tag: nil, variables: nil) method waiting (line 47) | def waiting(seconds) method test_event_stream (line 57) | def test_event_stream FILE: test/plugin/test_owned_by.rb type OwnedByMixinTestEnv (line 6) | module OwnedByMixinTestEnv class DummyParent (line 7) | class DummyParent < Fluent::Plugin::Input class DummyChild (line 10) | class DummyChild < Fluent::Plugin::Base class OwnedByMixinTest (line 16) | class OwnedByMixinTest < Test::Unit::TestCase FILE: test/plugin/test_parser.rb class ParserTest (line 7) | class ParserTest < ::Test::Unit::TestCase class ExampleParser (line 8) | class ExampleParser < Fluent::Plugin::Parser method parse (line 9) | def parse(data) method create_driver (line 15) | def create_driver(conf={}) method setup (line 19) | def setup method test_init (line 24) | def test_init method test_configure_against_string_literal (line 33) | def test_configure_against_string_literal method test_parse (line 38) | def test_parse class SleepParser (line 361) | class SleepParser < Fluent::Plugin::Parser method configure (line 364) | def configure(conf) method parse (line 370) | def parse(data) FILE: test/plugin/test_parser_apache.rb class ApacheParserTest (line 5) | class ApacheParserTest < ::Test::Unit::TestCase method setup (line 6) | def setup method create_driver (line 10) | def create_driver(conf = {}) method test_call (line 15) | def test_call(method_name) method test_parse_with_keep_time_key (line 31) | def test_parse_with_keep_time_key FILE: test/plugin/test_parser_apache2.rb class Apache2ParserTest (line 5) | class Apache2ParserTest < ::Test::Unit::TestCase method setup (line 6) | def setup method test_parse (line 22) | def test_parse method test_parse_without_http_version (line 33) | def test_parse_without_http_version method test_parse_with_escape_sequence (line 40) | def test_parse_with_escape_sequence FILE: test/plugin/test_parser_apache_error.rb class ApacheErrorParserTest (line 5) | class ApacheErrorParserTest < ::Test::Unit::TestCase method setup (line 6) | def setup method create_driver (line 15) | def create_driver method test_parse (line 19) | def test_parse method test_parse_with_pid (line 27) | def test_parse_with_pid method test_parse_without_client (line 35) | def test_parse_without_client FILE: test/plugin/test_parser_csv.rb class CSVParserTest (line 5) | class CSVParserTest < ::Test::Unit::TestCase method setup (line 6) | def setup method create_driver (line 10) | def create_driver(conf={}) method test_parse (line 15) | def test_parse(param) method test_parse_without_time (line 27) | def test_parse_without_time(param) method test_parse_with_keep_time_key (line 50) | def test_parse_with_keep_time_key method test_parse_with_null_value_pattern (line 64) | def test_parse_with_null_value_pattern(param) method test_parse_with_null_empty_string (line 80) | def test_parse_with_null_empty_string(param) method test_parse_with_option_delimiter (line 92) | def test_parse_with_option_delimiter(param) method test_compatibility_between_normal_and_fast_parser (line 107) | def test_compatibility_between_normal_and_fast_parser(param) method test_incompatibility_between_normal_and_fast_parser (line 153) | def test_incompatibility_between_normal_and_fast_parser method test_parser_type_method (line 190) | def test_parser_type_method(engine) method test_parser_engine (line 196) | def test_parser_engine(engine) FILE: test/plugin/test_parser_json.rb class JsonParserTest (line 5) | class JsonParserTest < ::Test::Unit::TestCase method setup (line 6) | def setup method test_return_each_loader (line 15) | def test_return_each_loader((input, expected_return)) method test_raise_exception_for_unknown_input (line 20) | def test_raise_exception_for_unknown_input method test_fall_back_oj_to_json_if_oj_not_available (line 26) | def test_fall_back_oj_to_json_if_oj_not_available method test_parse (line 43) | def test_parse(data) method test_parse_with_large_float (line 56) | def test_parse_with_large_float(data) method test_parse_without_time (line 64) | def test_parse_without_time(data) method test_parse_with_colon_string (line 90) | def test_parse_with_colon_string(data) method test_parse_with_invalid_time (line 98) | def test_parse_with_invalid_time(data) method test_parse_float_time (line 106) | def test_parse_float_time(data) method test_parse_with_keep_time_key (line 117) | def test_parse_with_keep_time_key(data) method test_parse_with_keep_time_key_without_time_format (line 133) | def test_parse_with_keep_time_key_without_time_format(data) method test_yajl_parse_io_with_buffer_smaller_than_input (line 146) | def test_yajl_parse_io_with_buffer_smaller_than_input method test_oj (line 199) | def test_oj(data) method test_yajl (line 208) | def test_yajl(data) method test_json (line 217) | def test_json(json) method test_oj (line 248) | def test_oj(data) method test_yajl (line 257) | def test_yajl(data) method test_json (line 266) | def test_json(json) FILE: test/plugin/test_parser_labeled_tsv.rb class LabeledTSVParserTest (line 5) | class LabeledTSVParserTest < ::Test::Unit::TestCase method setup (line 6) | def setup method test_config_params (line 10) | def test_config_params method test_parse (line 25) | def test_parse method test_parse_with_customized_delimiter (line 37) | def test_parse_with_customized_delimiter method test_parse_with_customized_time_format (line 52) | def test_parse_with_customized_time_format method test_parse_without_time (line 67) | def test_parse_without_time method test_parse_with_keep_time_key (line 91) | def test_parse_with_keep_time_key method test_parse_and_reject_invalid_kv_pairs (line 103) | def test_parse_and_reject_invalid_kv_pairs method test_parse_with_null_value_pattern (line 118) | def test_parse_with_null_value_pattern method test_parse_with_null_empty_string (line 133) | def test_parse_with_null_empty_string method test_parse_with_delimiter_pattern (line 149) | def test_parse_with_delimiter_pattern(data) FILE: test/plugin/test_parser_msgpack.rb class MessagePackParserTest (line 5) | class MessagePackParserTest < ::Test::Unit::TestCase method setup (line 6) | def setup method create_driver (line 10) | def create_driver(conf) method test_parse (line 59) | def test_parse(data) method test_parse_io (line 67) | def test_parse_io(data) method test_parse (line 109) | def test_parse(data) method test_parse_io (line 117) | def test_parse_io(data) FILE: test/plugin/test_parser_multiline.rb class MultilineParserTest (line 5) | class MultilineParserTest < ::Test::Unit::TestCase method setup (line 6) | def setup method create_parser (line 10) | def create_parser(conf) method test_configure_with_invalid_params (line 15) | def test_configure_with_invalid_params method test_parse (line 23) | def test_parse method test_parse_with_firstline (line 40) | def test_parse_with_firstline method test_parse_with_multiple_formats (line 54) | def test_parse_with_multiple_formats method test_parse_with_keep_time_key (line 90) | def test_parse_with_keep_time_key method test_parse_unmatched_lines (line 101) | def test_parse_unmatched_lines FILE: test/plugin/test_parser_nginx.rb class NginxParserTest (line 5) | class NginxParserTest < ::Test::Unit::TestCase method setup (line 6) | def setup method create_driver (line 45) | def create_driver method test_parse (line 49) | def test_parse method test_parse_with_empty_included_path (line 57) | def test_parse_with_empty_included_path method test_parse_without_http_version (line 65) | def test_parse_without_http_version method test_parse_with_http_x_forwarded_for (line 73) | def test_parse_with_http_x_forwarded_for method test_parse_with_http_x_forwarded_for_multiple_ip (line 81) | def test_parse_with_http_x_forwarded_for_multiple_ip FILE: test/plugin/test_parser_none.rb class NoneParserTest (line 5) | class NoneParserTest < ::Test::Unit::TestCase method setup (line 6) | def setup method test_config_params (line 10) | def test_config_params method test_parse (line 19) | def test_parse method test_parse_with_message_key (line 27) | def test_parse_with_message_key method test_parse_without_default_time (line 35) | def test_parse_without_default_time FILE: test/plugin/test_parser_regexp.rb class RegexpParserTest (line 5) | class RegexpParserTest < ::Test::Unit::TestCase method setup (line 6) | def setup method internal_test_case (line 10) | def internal_test_case(parser) method create_driver (line 27) | def create_driver(regexp, conf = {}, initialize_conf: false) method test_parse_with_typed (line 35) | def test_parse_with_typed method test_parse_with_configure (line 46) | def test_parse_with_configure method test_parse_with_typed_and_name_separator (line 59) | def test_parse_with_typed_and_name_separator method test_parse_with_time_key (line 70) | def test_parse_with_time_key method test_parse_without_time (line 82) | def test_parse_without_time method test_parse_without_time_estimate_current_event_false (line 100) | def test_parse_without_time_estimate_current_event_false method test_parse_with_keep_time_key (line 117) | def test_parse_with_keep_time_key method test_parse_with_keep_time_key_with_typecast (line 130) | def test_parse_with_keep_time_key_with_typecast method create_driver (line 146) | def create_driver(conf) method test_bad_expression (line 151) | def test_bad_expression method test_default_options (line 160) | def test_default_options method test_options (line 176) | def test_options(data) method test_parse_with_typed (line 189) | def test_parse_with_typed method test_parse_with_typed_by_json_hash (line 199) | def test_parse_with_typed_by_json_hash method test_parse_with_time_key (line 209) | def test_parse_with_time_key method test_parse_without_time (line 222) | def test_parse_without_time method test_parse_without_time_estimate_current_event_false (line 240) | def test_parse_without_time_estimate_current_event_false method test_parse_with_keep_time_key (line 257) | def test_parse_with_keep_time_key method test_parse_with_keep_time_key_with_typecast (line 270) | def test_parse_with_keep_time_key_with_typecast FILE: test/plugin/test_parser_syslog.rb class SyslogParserTest (line 5) | class SyslogParserTest < ::Test::Unit::TestCase method setup (line 6) | def setup method test_parse (line 18) | def test_parse(param) method test_parse_with_time_format (line 29) | def test_parse_with_time_format(param) method test_parse_with_time_format2 (line 39) | def test_parse_with_time_format2(param) method test_parse_with_time_format_rfc5424 (line 48) | def test_parse_with_time_format_rfc5424 method test_parse_with_subsecond_time (line 58) | def test_parse_with_subsecond_time(param) method test_parse_with_priority (line 67) | def test_parse_with_priority(param) method test_parse_rfc5452_with_priority (line 78) | def test_parse_rfc5452_with_priority(param) method test_parse_with_empty_priority (line 88) | def test_parse_with_empty_priority(param) method test_parse_without_colon (line 97) | def test_parse_without_colon(param) method test_parse_with_keep_time_key (line 108) | def test_parse_with_keep_time_key(param) method test_parse_various_characters_for_tag (line 121) | def test_parse_various_characters_for_tag(param) method test_parse_various_characters_for_tag_with_priority (line 131) | def test_parse_various_characters_for_tag_with_priority(param) class TestRFC5424Regexp (line 201) | class TestRFC5424Regexp < self method test_parse_with_rfc5424_message (line 203) | def test_parse_with_rfc5424_message(param) method test_parse_with_rfc5424_message_trailing_eol (line 222) | def test_parse_with_rfc5424_message_trailing_eol(param) method test_parse_with_rfc5424_multiline_message (line 241) | def test_parse_with_rfc5424_multiline_message(param) method test_parse_with_rfc5424_message_and_without_priority (line 260) | def test_parse_with_rfc5424_message_and_without_priority(param) method test_parse_with_rfc5424_empty_message_and_without_priority (line 278) | def test_parse_with_rfc5424_empty_message_and_without_priority(param) method test_parse_with_rfc5424_message_without_time_format (line 296) | def test_parse_with_rfc5424_message_without_time_format(param) method test_parse_with_rfc5424_message_with_priority_and_pid (line 313) | def test_parse_with_rfc5424_message_with_priority_and_pid(param) method test_parse_with_rfc5424_structured_message (line 330) | def test_parse_with_rfc5424_structured_message(param) method test_parse_with_rfc5424_multiple_structured_message (line 349) | def test_parse_with_rfc5424_multiple_structured_message(param) method test_parse_with_rfc5424_message_includes_right_bracket (line 368) | def test_parse_with_rfc5424_message_includes_right_bracket(param) method test_parse_with_rfc5424_empty_message (line 387) | def test_parse_with_rfc5424_empty_message(param) method test_parse_with_rfc5424_space_empty_message (line 406) | def test_parse_with_rfc5424_space_empty_message(param) method test_parse_with_rfc5424_message_without_subseconds (line 429) | def test_parse_with_rfc5424_message_without_subseconds(param) method test_parse_with_rfc5424_message_both_timestamp (line 446) | def test_parse_with_rfc5424_message_both_timestamp(param) class TestAutoRegexp (line 471) | class TestAutoRegexp < self method test_auto_with_legacy_syslog_message (line 473) | def test_auto_with_legacy_syslog_message(param) method test_auto_with_legacy_syslog_priority_message (line 487) | def test_auto_with_legacy_syslog_priority_message(param) method test_parse_with_rfc5424_message (line 502) | def test_parse_with_rfc5424_message(param) method test_parse_with_rfc5424_structured_message (line 521) | def test_parse_with_rfc5424_structured_message(param) method test_parse_with_both_message_type (line 540) | def test_parse_with_both_message_type(param) method test_parse_with_both_message_type_and_priority (line 587) | def test_parse_with_both_message_type_and_priority(param) method test_parser_type_method (line 640) | def test_parser_type_method(engine) method test_parser_engine (line 646) | def test_parser_engine(engine) FILE: test/plugin/test_parser_tsv.rb class TSVParserTest (line 5) | class TSVParserTest < ::Test::Unit::TestCase method setup (line 6) | def setup method create_driver (line 10) | def create_driver(conf={}) method test_config_params (line 15) | def test_config_params(param) method test_parse (line 32) | def test_parse(param) method test_parse_with_time (line 43) | def test_parse_with_time method test_black_column (line 73) | def test_black_column(data) method test_parse_with_keep_time_key (line 82) | def test_parse_with_keep_time_key method test_parse_with_null_value_pattern (line 96) | def test_parse_with_null_value_pattern(param) method test_parse_with_null_empty_string (line 112) | def test_parse_with_null_empty_string(param) FILE: test/plugin/test_sd_file.rb class FileServiceDiscoveryTest (line 6) | class FileServiceDiscoveryTest < ::Test::Unit::TestCase type TestStatEventHelperWrapper (line 63) | module TestStatEventHelperWrapper function event_loop_attach (line 65) | def event_loop_attach(watcher) function resume (line 88) | def resume function shutdown (line 92) | def shutdown method create_tmp_config (line 101) | def create_tmp_config(path, body) FILE: test/plugin/test_sd_srv.rb class SrvServiceDiscoveryTest (line 7) | class SrvServiceDiscoveryTest < ::Test::Unit::TestCase type TestTimerEventHelperWrapper (line 85) | module TestTimerEventHelperWrapper function timer_execute (line 87) | def timer_execute(_name, _interval, &block) function resume (line 101) | def resume function shutdown (line 105) | def shutdown FILE: test/plugin/test_storage.rb class DummyPlugin (line 5) | class DummyPlugin < Fluent::Plugin::TestBase class BareStorage (line 8) | class BareStorage < Fluent::Plugin::Storage class BasicStorage (line 12) | class BasicStorage < Fluent::Plugin::Storage method initialize (line 17) | def initialize method load (line 21) | def load method save (line 24) | def save method get (line 27) | def get(key) method fetch (line 30) | def fetch(key, defval) method put (line 33) | def put(key, value) method delete (line 36) | def delete(key) method update (line 39) | def update(key, &block) method close (line 42) | def close method terminate (line 46) | def terminate class StorageTest (line 52) | class StorageTest < Test::Unit::TestCase FILE: test/plugin/test_storage_local.rb class LocalStorageTest (line 7) | class LocalStorageTest < Test::Unit::TestCase class MyInput (line 10) | class MyInput < Fluent::Plugin::Input FILE: test/plugin/test_string_util.rb class StringUtilTest (line 4) | class StringUtilTest < Test::Unit::TestCase method setup (line 5) | def setup FILE: test/plugin_helper/data/cert/generate_cert.rb type CertUtil (line 4) | module CertUtil function write_cert_and_key (line 32) | def write_cert_and_key(cert_path, cert, key_path, key, passphrase) function create_server_pair_signed_by_self (line 41) | def create_server_pair_signed_by_self(cert_path, private_key_path, passp... function create_ca_pair_signed_by_self (line 47) | def create_ca_pair_signed_by_self(cert_path, private_key_path, passphrase) function create_server_pair_signed_by_ca (line 53) | def create_server_pair_signed_by_ca(ca_cert_path, ca_key_path, ca_key_pa... function create_without_ca (line 59) | def create_without_ca function create_with_ca (line 70) | def create_with_ca function create_cert_pair_chained_with_root_ca (line 87) | def create_cert_pair_chained_with_root_ca(ca_cert_path, ca_key_path, ca_... function create_cert_chain (line 112) | def create_cert_chain FILE: test/plugin_helper/http_server/test_app.rb class HttpHelperAppTest (line 12) | class HttpHelperAppTest < Test::Unit::TestCase class DummyRouter (line 15) | class DummyRouter method initialize (line 16) | def initialize(table = {}) method route! (line 20) | def route!(method, path, _req) FILE: test/plugin_helper/http_server/test_request.rb class HttpHelperRequestTest (line 5) | class HttpHelperRequestTest < Test::Unit::TestCase method test_request (line 6) | def test_request FILE: test/plugin_helper/http_server/test_route.rb class HttpHelperRouterTest (line 12) | class HttpHelperRouterTest < Test::Unit::TestCase FILE: test/plugin_helper/service_discovery/test_manager.rb class TestServiceDiscoveryManager (line 4) | class TestServiceDiscoveryManager < ::Test::Unit::TestCase class TestSdPlugin (line 9) | class TestSdPlugin < Fluent::Plugin::ServiceDiscovery method initialize (line 12) | def initialize method service_in (line 16) | def service_in(host, port) method service_out (line 21) | def service_out(host, port) method start (line 26) | def start(queue) FILE: test/plugin_helper/service_discovery/test_round_robin_balancer.rb class TestRoundRobinBalancer (line 4) | class TestRoundRobinBalancer < ::Test::Unit::TestCase FILE: test/plugin_helper/test_cert_option.rb class CertOptionPluginHelperTest (line 5) | class CertOptionPluginHelperTest < Test::Unit::TestCase class Dummy (line 6) | class Dummy < Fluent::Plugin::TestBase class DummyServer (line 10) | class DummyServer < Fluent::Plugin::TestBase FILE: test/plugin_helper/test_child_process.rb class ChildProcessTest (line 8) | class ChildProcessTest < Test::Unit::TestCase class Dummy (line 31) | class Dummy < Fluent::Plugin::TestBase method configure (line 33) | def configure(conf) FILE: test/plugin_helper/test_compat_parameters.rb class CompatParameterTest (line 9) | class CompatParameterTest < Test::Unit::TestCase class DummyI0 (line 31) | class DummyI0 < Fluent::Plugin::Input method configure (line 34) | def configure(conf) method start (line 38) | def start method produce_events (line 42) | def produce_events(input_data) class DummyO0 (line 51) | class DummyO0 < Fluent::Plugin::Output method configure (line 53) | def configure(conf) method write (line 57) | def write(chunk); end class DummyO1 (line 59) | class DummyO1 < Fluent::Plugin::Output method configure (line 61) | def configure(conf) method write (line 65) | def write(chunk); end class DummyO2 (line 67) | class DummyO2 < Fluent::Plugin::Output method configure (line 69) | def configure(conf) method write (line 73) | def write(chunk); end class DummyO3 (line 75) | class DummyO3 < Fluent::Plugin::Output method configure (line 77) | def configure(conf) method write (line 81) | def write(chunk); end class DummyO4 (line 83) | class DummyO4 < Fluent::Plugin::Output method configure (line 86) | def configure(conf) method start (line 90) | def start method write (line 94) | def write(chunk); end FILE: test/plugin_helper/test_event_emitter.rb class EventEmitterTest (line 6) | class EventEmitterTest < Test::Unit::TestCase class Dummy0 (line 11) | class Dummy0 < Fluent::Plugin::TestBase class Dummy (line 14) | class Dummy < Fluent::Plugin::TestBase FILE: test/plugin_helper/test_event_loop.rb class EventLoopTest (line 5) | class EventLoopTest < Test::Unit::TestCase class Dummy (line 6) | class Dummy < Fluent::Plugin::TestBase method configure (line 8) | def configure(conf) FILE: test/plugin_helper/test_extract.rb class ExtractHelperTest (line 5) | class ExtractHelperTest < Test::Unit::TestCase class Dummy (line 6) | class Dummy < Fluent::Plugin::TestBase class Dummy2 (line 10) | class Dummy2 < Fluent::Plugin::TestBase method config_extract_section (line 17) | def config_extract_section(hash = {}) FILE: test/plugin_helper/test_formatter.rb class FormatterHelperTest (line 5) | class FormatterHelperTest < Test::Unit::TestCase class ExampleFormatter (line 6) | class ExampleFormatter < Fluent::Plugin::Formatter method format (line 8) | def format(tag, time, record) class Example2Formatter (line 12) | class Example2Formatter < Fluent::Plugin::Formatter method format (line 14) | def format(tag, time, record) class Dummy (line 18) | class Dummy < Fluent::Plugin::TestBase class Dummy2 (line 25) | class Dummy2 < Fluent::Plugin::TestBase FILE: test/plugin_helper/test_http_server_helper.rb class HttpHelperTest (line 11) | class HttpHelperTest < Test::Unit::TestCase method setup (line 16) | def setup method teardown (line 20) | def teardown class Dummy (line 24) | class Dummy < Fluent::Plugin::TestBase method on_driver (line 28) | def on_driver(config = nil) method on_driver_transport (line 63) | def on_driver_transport(opts = {}, &block) method start_https_request (line 105) | def start_https_request(addr, port, verify: true, cert_path: nil, self... FILE: test/plugin_helper/test_inject.rb class InjectHelperTest (line 7) | class InjectHelperTest < Test::Unit::TestCase class Dummy (line 8) | class Dummy < Fluent::Plugin::TestBase class Dummy2 (line 12) | class Dummy2 < Fluent::Plugin::TestBase class Dummy3 (line 19) | class Dummy3 < Fluent::Plugin::Output method write (line 21) | def write(chunk) method config_inject_section (line 26) | def config_inject_section(hash = {}) method format (line 494) | def format(conf) method test_nothing_specified_about_time_formatting (line 517) | def test_nothing_specified_about_time_formatting method test_utc (line 528) | def test_utc method test_timezone (line 539) | def test_timezone method test_utc_timezone (line 550) | def test_utc_timezone FILE: test/plugin_helper/test_metrics.rb class MetricsTest (line 5) | class MetricsTest < Test::Unit::TestCase class Dummy (line 6) | class Dummy < Fluent::Plugin::TestBase method configure (line 8) | def configure(conf) FILE: test/plugin_helper/test_parser.rb class ParserHelperTest (line 6) | class ParserHelperTest < Test::Unit::TestCase class ExampleParser (line 7) | class ExampleParser < Fluent::Plugin::Parser method parse (line 9) | def parse(text) class Example2Parser (line 18) | class Example2Parser < Fluent::Plugin::Parser method parse (line 20) | def parse(text) class Dummy (line 29) | class Dummy < Fluent::Plugin::TestBase class Dummy2 (line 36) | class Dummy2 < Fluent::Plugin::TestBase FILE: test/plugin_helper/test_record_accessor.rb class RecordAccessorHelperTest (line 7) | class RecordAccessorHelperTest < Test::Unit::TestCase class Dummy (line 8) | class Dummy < Fluent::Plugin::TestBase FILE: test/plugin_helper/test_retry_state.rb class RetryStateHelperTest (line 7) | class RetryStateHelperTest < Test::Unit::TestCase method override_current_time (line 8) | def override_current_time(state, time) class Dummy (line 17) | class Dummy < Fluent::Plugin::TestBase class RetryRecord (line 21) | class RetryRecord method initialize (line 23) | def initialize(retry_count, elapsed_sec, is_secondary) method == (line 29) | def ==(obj) FILE: test/plugin_helper/test_server.rb class ServerPluginHelperTest (line 10) | class ServerPluginHelperTest < Test::Unit::TestCase class Dummy (line 11) | class Dummy < Fluent::Plugin::TestBase type CertUtil (line 903) | module CertUtil method create_ca_options (line 907) | def create_ca_options method create_server_options (line 919) | def create_server_options method write_cert_and_key (line 931) | def write_cert_and_key(cert_path, cert, key_path, key, passphrase) method create_server_pair_signed_by_self (line 939) | def create_server_pair_signed_by_self(cert_path, private_key_path, pas... method create_ca_pair_signed_by_self (line 945) | def create_ca_pair_signed_by_self(cert_path, private_key_path, passphr... method create_server_pair_signed_by_ca (line 950) | def create_server_pair_signed_by_ca(ca_cert_path, ca_key_path, ca_key_... method create_server_pair_chained_with_root_ca (line 956) | def create_server_pair_chained_with_root_ca(ca_cert_path, ca_key_path,... method open_tls_session (line 982) | def open_tls_session(addr, port, version: Fluent::TLS::DEFAULT_VERSION... method assert_certificate (line 1012) | def assert_certificate(cert, expected_extensions) method open_client (line 1680) | def open_client(proto, addr, port) FILE: test/plugin_helper/test_service_discovery.rb class ServiceDiscoveryHelper (line 6) | class ServiceDiscoveryHelper < Test::Unit::TestCase class Dummy (line 7) | class Dummy < Fluent::Plugin::TestBase method service_discovery_create_manager (line 11) | def service_discovery_create_manager(title, configurations:, load_ba... method discovery_manager (line 15) | def discovery_manager class DummyPlugin (line 20) | class DummyPlugin < Fluent::Plugin::TestBase method configure (line 23) | def configure(conf) method select_service (line 28) | def select_service(&block) method discovery_manager (line 33) | def discovery_manager FILE: test/plugin_helper/test_socket.rb class SocketHelperTest (line 8) | class SocketHelperTest < Test::Unit::TestCase method setup (line 13) | def setup method teardown (line 17) | def teardown class SocketHelperTestPlugin (line 21) | class SocketHelperTestPlugin < Fluent::Plugin::TestBase class EchoTLSServer (line 25) | class EchoTLSServer method initialize (line 26) | def initialize(port, host: '127.0.0.1', cert_path: nil, private_key_... method start (line 45) | def start method stop (line 58) | def stop method do_start (line 73) | def do_start FILE: test/plugin_helper/test_storage.rb class ExampleStorage (line 5) | class ExampleStorage < Fluent::Plugin::Storage method initialize (line 10) | def initialize method load (line 17) | def load method save (line 21) | def save method get (line 25) | def get(key) method fetch (line 28) | def fetch(key, defval) method put (line 31) | def put(key, value) method delete (line 34) | def delete(key) method update (line 37) | def update(key, &block) method close (line 40) | def close method terminate (line 44) | def terminate class Example2Storage (line 51) | class Example2Storage < ExampleStorage class Example3Storage (line 55) | class Example3Storage < ExampleStorage method synchronized? (line 57) | def synchronized? class Example4Storage (line 61) | class Example4Storage < ExampleStorage method persistent_always? (line 63) | def persistent_always? method synchronized? (line 66) | def synchronized? class StorageHelperTest (line 71) | class StorageHelperTest < Test::Unit::TestCase class Dummy (line 72) | class Dummy < Fluent::Plugin::TestBase class Dummy2 (line 76) | class Dummy2 < Fluent::Plugin::TestBase FILE: test/plugin_helper/test_thread.rb class ThreadTest (line 6) | class ThreadTest < Test::Unit::TestCase class Dummy (line 7) | class Dummy < Fluent::Plugin::TestBase method configure (line 9) | def configure(conf) FILE: test/plugin_helper/test_timer.rb class TimerTest (line 5) | class TimerTest < Test::Unit::TestCase class Dummy (line 6) | class Dummy < Fluent::Plugin::TestBase FILE: test/scripts/exec_script.rb function gen_tsv (line 4) | def gen_tsv(time) function gen_json (line 8) | def gen_json(time) function gen_msgpack (line 12) | def gen_msgpack(time) function gen_raw_string (line 16) | def gen_raw_string(time) FILE: test/scripts/fluent/plugin/formatter1/formatter_test1.rb type Fluent (line 1) | module Fluent FILE: test/scripts/fluent/plugin/formatter2/formatter_test2.rb type Fluent (line 1) | module Fluent FILE: test/scripts/fluent/plugin/formatter_known.rb type Fluent (line 1) | module Fluent FILE: test/scripts/fluent/plugin/out_test.rb type Fluent::Plugin (line 20) | module Fluent::Plugin class TestOutput (line 21) | class TestOutput < Output method initialize (line 30) | def initialize method emits (line 37) | def emits method events (line 47) | def events method records (line 55) | def records method prefer_buffered_processing (line 65) | def prefer_buffered_processing method process (line 69) | def process(tag, es) method write (line 73) | def write(chunk) FILE: test/scripts/fluent/plugin/out_test2.rb type Fluent::Plugin (line 17) | module Fluent::Plugin class Test2Output (line 18) | class Test2Output < Output method initialize (line 29) | def initialize method emits (line 36) | def emits method events (line 46) | def events method records (line 54) | def records method prefer_buffered_processing (line 64) | def prefer_buffered_processing method process (line 68) | def process(tag, es) method write (line 72) | def write(chunk) FILE: test/scripts/fluent/plugin/parser_known.rb type Fluent (line 1) | module Fluent FILE: test/test_capability.rb class FluentCapabilityTest (line 5) | class FluentCapabilityTest < ::Test::Unit::TestCase FILE: test/test_clock.rb class ClockTest (line 6) | class ClockTest < ::Test::Unit::TestCase FILE: test/test_config.rb class ConfigTest (line 8) | class ConfigTest < Test::Unit::TestCase method read_config (line 13) | def read_config(path, use_yaml: false) method prepare_config (line 27) | def prepare_config method test_include (line 78) | def test_include method test_check_not_fetchd (line 117) | def test_check_not_fetchd method test_included (line 162) | def test_included method test_included_glob (line 246) | def test_included_glob method test_check_not_fetchd (line 303) | def test_check_not_fetchd method write_config (line 497) | def write_config(path, data, encoding: 'utf-8') FILE: test/test_configdsl.rb class ConfigDSLTest (line 6) | class ConfigDSLTest < Test::Unit::TestCase method test_parse (line 60) | def test_parse method test_parse2 (line 88) | def test_parse2 method test_config_error (line 95) | def test_config_error method test_with_ruby_keyword (line 109) | def test_with_ruby_keyword FILE: test/test_daemonizer.rb class DaemonizerTest (line 4) | class DaemonizerTest < ::Test::Unit::TestCase FILE: test/test_engine.rb class EngineTest (line 7) | class EngineTest < ::Test::Unit::TestCase class DummyEngineTestOutput (line 8) | class DummyEngineTestOutput < Fluent::Plugin::Output method write (line 10) | def write(chunk); end class DummyEngineTest2Output (line 13) | class DummyEngineTest2Output < Fluent::Plugin::Output method write (line 15) | def write(chunk); end class DummyEngineTestInput (line 18) | class DummyEngineTestInput < Fluent::Plugin::Input method multi_workers_ready? (line 20) | def multi_workers_ready?; true; end class DummyEngineTest2Input (line 23) | class DummyEngineTest2Input < Fluent::Plugin::Input method multi_workers_ready? (line 25) | def multi_workers_ready?; true; end class DummyEngineClassVarTestInput (line 28) | class DummyEngineClassVarTestInput < Fluent::Plugin::Input method multi_workers_ready? (line 31) | def multi_workers_ready?; true; end FILE: test/test_event.rb type EventTest (line 6) | module EventTest type DeepCopyAssertion (line 7) | module DeepCopyAssertion function assert_duplicated_records (line 8) | def assert_duplicated_records(es1, es2) class OneEventStreamTest (line 24) | class OneEventStreamTest < ::Test::Unit::TestCase method setup (line 29) | def setup class ArrayEventStreamTest (line 108) | class ArrayEventStreamTest < ::Test::Unit::TestCase method setup (line 113) | def setup class MultiEventStreamTest (line 207) | class MultiEventStreamTest < ::Test::Unit::TestCase method setup (line 212) | def setup class MessagePackEventStreamTest (line 309) | class MessagePackEventStreamTest < ::Test::Unit::TestCase method setup (line 314) | def setup class CompressedMessagePackEventStreamTest (line 422) | class CompressedMessagePackEventStreamTest < ::Test::Unit::TestCase method setup (line 427) | def setup method ensure_data_is_decompressed (line 441) | def ensure_data_is_decompressed FILE: test/test_event_router.rb class EventRouterTest (line 5) | class EventRouterTest < ::Test::Unit::TestCase method output (line 18) | def output method filter (line 22) | def filter method compat_filter (line 26) | def compat_filter method error_output (line 30) | def error_output method emit_handler (line 34) | def emit_handler method default_collector (line 38) | def default_collector method event (line 42) | def event(record, time = Engine.now) method events (line 48) | def events(num = DEFAULT_EVENT_NUM) method event_router (line 145) | def event_router method filter_stream (line 189) | def filter_stream(_tag, es); end method filter_with_time (line 254) | def filter_with_time(tag, time, record); end method filter_stream (line 268) | def filter_stream(tag, time, record); end method filter_with_time (line 282) | def filter_with_time(tag, time, record); end method filter_stream (line 297) | def filter_stream(tag, record); end method filter_with_time (line 302) | def filter_with_time(tag, time, record); end method filter_stream (line 332) | def filter_stream(_tag, es); end FILE: test/test_event_time.rb class EventTimeTest (line 6) | class EventTimeTest < Test::Unit::TestCase FILE: test/test_file_wrapper.rb class FileWrapperTest (line 4) | class FileWrapperTest < Test::Unit::TestCase method setup (line 7) | def setup method teardown (line 11) | def teardown FILE: test/test_filter.rb class FilterTest (line 4) | class FilterTest < Test::Unit::TestCase method create_driver (line 12) | def create_driver(klass = Fluent::Filter, conf = '') method emit (line 16) | def emit(klass, msgs, conf = '') method filter (line 28) | def filter(tag, time, record); end method filter_with_time (line 38) | def filter_with_time(tag, time, record); end method filter_stream (line 48) | def filter_stream(tag, es); end method filter (line 66) | def filter(tag, time, record); end method filter_with_time (line 67) | def filter_with_time(tag, time, record); end method filter (line 79) | def filter(tag, time, record) method filter (line 89) | def filter(tag, time, record) method filter_stream (line 101) | def filter_stream(tag, es) method filter (line 104) | def filter(tag, time, record); record; end method filter_stream (line 112) | def filter_stream(tag, es) method filter (line 115) | def filter(tag, time, record); record; end FILE: test/test_fluent_log_event_router.rb class FluentLogEventRouterTest (line 6) | class FluentLogEventRouterTest < ::Test::Unit::TestCase method build_config (line 8) | def build_config(config) FILE: test/test_formatter.rb type FormatterTest (line 5) | module FormatterTest function tag (line 8) | def tag function record (line 12) | def record class BaseFormatterTest (line 16) | class BaseFormatterTest < ::Test::Unit::TestCase method test_call (line 19) | def test_call class BaseFormatterTestWithTestDriver (line 28) | class BaseFormatterTestWithTestDriver < ::Test::Unit::TestCase method create_driver (line 31) | def create_driver(conf={}) method test_call (line 35) | def test_call method test_call_with_string_literal_configure (line 42) | def test_call_with_string_literal_configure class OutFileFormatterTest (line 50) | class OutFileFormatterTest < ::Test::Unit::TestCase method setup (line 53) | def setup method configure (line 63) | def configure(conf) method test_format (line 67) | def test_format method test_format_without_time (line 74) | def test_format_without_time method test_format_without_tag (line 81) | def test_format_without_tag method test_format_without_time_and_tag (line 88) | def test_format_without_time_and_tag method test_format_without_time_and_tag_against_string_literal_configure (line 95) | def test_format_without_time_and_tag_against_string_literal_configure class JsonFormatterTest (line 107) | class JsonFormatterTest < ::Test::Unit::TestCase method setup (line 110) | def setup method test_format (line 121) | def test_format(data) class MessagePackFormatterTest (line 129) | class MessagePackFormatterTest < ::Test::Unit::TestCase method setup (line 132) | def setup method test_format (line 137) | def test_format class LabeledTSVFormatterTest (line 145) | class LabeledTSVFormatterTest < ::Test::Unit::TestCase method setup (line 148) | def setup method test_config_params (line 158) | def test_config_params method test_format (line 171) | def test_format method test_format_with_customized_delimiters (line 178) | def test_format_with_customized_delimiters method record_with_tab (line 188) | def record_with_tab method test_format_suppresses_tab (line 192) | def test_format_suppresses_tab method test_format_suppresses_tab_custom_replacement (line 199) | def test_format_suppresses_tab_custom_replacement method test_format_suppresses_custom_delimiter (line 208) | def test_format_suppresses_custom_delimiter class CsvFormatterTest (line 219) | class CsvFormatterTest < ::Test::Unit::TestCase method setup (line 222) | def setup method test_config_params (line 227) | def test_config_params method test_config_params_with_customized_delimiters (line 237) | def test_config_params_with_customized_delimiters(data) method test_format (line 244) | def test_format method test_format_with_customized_delimiters (line 253) | def test_format_with_customized_delimiters method test_format_with_non_quote (line 265) | def test_format_with_non_quote method test_format_with_empty_fields (line 288) | def test_format_with_empty_fields(data) method test_config_params_with_fields (line 300) | def test_config_params_with_fields(data) class SingleValueFormatterTest (line 306) | class SingleValueFormatterTest < ::Test::Unit::TestCase method setup (line 308) | def setup method create_driver (line 316) | def create_driver(klass_or_str) method test_config_params (line 320) | def test_config_params method test_format (line 328) | def test_format method test_format_without_newline (line 335) | def test_format_without_newline method test_format_with_message_key (line 342) | def test_format_with_message_key class FormatterLookupTest (line 351) | class FormatterLookupTest < ::Test::Unit::TestCase method test_unknown_format (line 354) | def test_unknown_format method test_find_formatter (line 361) | def test_find_formatter(data) FILE: test/test_input.rb class FluentInputTest (line 4) | class FluentInputTest < ::Test::Unit::TestCase method setup (line 7) | def setup method create_driver (line 11) | def create_driver(conf = '') method test_router (line 15) | def test_router FILE: test/test_log.rb class LogTest (line 10) | class LogTest < Test::Unit::TestCase method tmp_dir (line 11) | def tmp_dir method setup (line 15) | def setup method teardown (line 24) | def teardown method test_per_process_path (line 37) | def test_per_process_path method test_output (line 54) | def test_output(data) method test_output_with_serverengine_loglevel (line 85) | def test_output_with_serverengine_loglevel(data) method test_output_with_block (line 118) | def test_output_with_block(data) method test_output_with_block_with_serverengine_loglevel (line 150) | def test_output_with_block_with_serverengine_loglevel(data) method test_execute_block (line 183) | def test_execute_block(data) method test_execute_block_with_serverengine_loglevel (line 214) | def test_execute_block_with_serverengine_loglevel(data) method test_backtrace (line 246) | def test_backtrace(data) method test_backtrace_with_serverengine_loglevel (line 290) | def test_backtrace_with_serverengine_loglevel(data) method test_same_log_level (line 329) | def test_same_log_level method test_different_log_level (line 360) | def test_different_log_level method test_same_message (line 469) | def test_same_message method test_different_message (line 487) | def test_different_message method test_same_message (line 517) | def test_same_message method test_different_message (line 535) | def test_different_message method test_reject_on_max_size (line 555) | def test_reject_on_max_size method test_clear_on_max_size (line 574) | def test_clear_on_max_size method test_dup (line 593) | def test_dup method test_format_json (line 605) | def test_format_json method test_time_format (line 631) | def test_time_format method test_disable_events (line 655) | def test_disable_events method test_level_reload (line 669) | def test_level_reload method test_log_with_logdevio (line 691) | def test_log_with_logdevio(expected) method test_log_rotates_specified_size_with_logdevio (line 719) | def test_log_rotates_specified_size_with_logdevio method test_reopen (line 766) | def test_reopen class PluginLoggerTest (line 789) | class PluginLoggerTest < Test::Unit::TestCase method setup (line 790) | def setup method teardown (line 802) | def teardown method test_initialize (line 808) | def test_initialize method test_enable_color (line 814) | def test_enable_color method test_log_type_in_default (line 827) | def test_log_type_in_default method test_log_types (line 843) | def test_log_types method test_level (line 860) | def test_level method test_options (line 868) | def test_options method setup (line 1007) | def setup method test_enable_debug (line 1012) | def test_enable_debug method test_enable_event (line 1017) | def test_enable_event method test_disable_events (line 1022) | def test_disable_events method test_event (line 1027) | def test_event method test_caller_line (line 1032) | def test_caller_line method test_puts (line 1037) | def test_puts method test_write (line 1042) | def test_write method test_write_alias (line 1047) | def test_write_alias method test_out (line 1053) | def test_out method test_optional_header (line 1059) | def test_optional_header method test_optional_attrs (line 1065) | def test_optional_attrs method setup (line 1073) | def setup method test_format (line 1082) | def test_format(data) method test_time_format (line 1095) | def test_time_format(data) class PluginLoggerMixinTest (line 1105) | class PluginLoggerMixinTest < Test::Unit::TestCase class DummyPlugin (line 1106) | class DummyPlugin < Fluent::Plugin::Input method create_driver (line 1109) | def create_driver(conf) method setup (line 1113) | def setup method test_default_log (line 1117) | def test_default_log method test_log_level (line 1123) | def test_log_level method test_optional_header (line 1130) | def test_optional_header method test_start (line 1137) | def test_start method test_terminate (line 1143) | def test_terminate method setup (line 1150) | def setup method test_options (line 1171) | def test_options class LogDeviceIOTest (line 1193) | class LogDeviceIOTest < Test::Unit::TestCase FILE: test/test_match.rb class MatchTest (line 4) | class MatchTest < Test::Unit::TestCase method test_simple (line 7) | def test_simple method test_wildcard (line 14) | def test_wildcard method test_recursive_wildcard (line 42) | def test_recursive_wildcard method test_or (line 72) | def test_or method test_multi_pattern_or (line 88) | def test_multi_pattern_or method test_regex_pattern (line 104) | def test_regex_pattern method assert_glob_match (line 131) | def assert_glob_match(pat, str) method assert_glob_not_match (line 136) | def assert_glob_not_match(pat, str) method assert_or_match (line 141) | def assert_or_match(pats, str) method assert_or_not_match (line 145) | def assert_or_not_match(pats, str) FILE: test/test_mixin.rb type MixinTest (line 9) | module MixinTest type Utils (line 10) | module Utils function setup (line 11) | def setup function teardown (line 18) | def teardown type Checker (line 24) | module Checker function format_check (line 26) | def format_check(tag, time, record); end function create_register_output_name (line 31) | def create_register_output_name function format_check (line 36) | def format_check(hash, tagname = 'test') function create_driver (line 40) | def create_driver(include_klass, conf = '', tag = "test", &block) class SetTagKeyMixinText (line 66) | class SetTagKeyMixinText < Test::Unit::TestCase method test_tag_key_default (line 69) | def test_tag_key_default method test_include_tag_key_true (line 80) | def test_include_tag_key_true method test_include_tag_key_false (line 94) | def test_include_tag_key_false method test_tag_key_set (line 106) | def test_tag_key_set class SetTimeKeyMixinText (line 135) | class SetTimeKeyMixinText < Test::Unit::TestCase method test_time_key_default (line 138) | def test_time_key_default method test_include_time_key_true (line 150) | def test_include_time_key_true method test_time_format (line 164) | def test_time_format method test_timezone_1 (line 179) | def test_timezone_1 method test_timezone_2 (line 194) | def test_timezone_2 method test_timezone_invalid (line 209) | def test_timezone_invalid class HandleTagMixinTest (line 232) | class HandleTagMixinTest < Test::Unit::TestCase method test_add_tag_prefix (line 235) | def test_add_tag_prefix method test_add_tag_suffix (line 253) | def test_add_tag_suffix method test_remove_tag_prefix (line 271) | def test_remove_tag_prefix method test_remove_tag_suffix (line 289) | def test_remove_tag_suffix method test_mix_tag_handle (line 307) | def test_mix_tag_handle method test_with_set_tag_key_mixin (line 321) | def test_with_set_tag_key_mixin method test_with_set_tag_key_mixin_include_order_reverse (line 336) | def test_with_set_tag_key_mixin_include_order_reverse FILE: test/test_msgpack_factory.rb class MessagePackFactoryTest (line 4) | class MessagePackFactoryTest < Test::Unit::TestCase FILE: test/test_oj_options.rb class OjOptionsTest (line 5) | class OjOptionsTest < ::Test::Unit::TestCase FILE: test/test_output.rb type FluentOutputTest (line 9) | module FluentOutputTest class BufferedOutputTest (line 13) | class BufferedOutputTest < ::Test::Unit::TestCase method startup (line 17) | def startup method shutdown (line 23) | def shutdown method setup (line 28) | def setup method create_driver (line 34) | def create_driver(conf=CONFIG) method test_configure (line 42) | def test_configure class FormatterInjectTestOutput (line 69) | class FormatterInjectTestOutput < Fluent::Output method initialize (line 70) | def initialize method test_start (line 75) | def test_start method create_mock_driver (line 83) | def create_mock_driver(conf=CONFIG) method test_secondary (line 112) | def test_secondary method test_secondary_with_no_warn_log (line 131) | def test_secondary_with_no_warn_log class ObjectBufferedOutputTest (line 152) | class ObjectBufferedOutputTest < ::Test::Unit::TestCase method setup (line 155) | def setup method create_driver (line 161) | def create_driver(conf=CONFIG) method test_configure (line 165) | def test_configure class TimeSlicedOutputTest (line 172) | class TimeSlicedOutputTest < ::Test::Unit::TestCase method setup (line 176) | def setup class TimeSlicedOutputTestPlugin (line 189) | class TimeSlicedOutputTestPlugin < Fluent::TimeSlicedOutput method initialize (line 191) | def initialize method configure (line 197) | def configure(conf) method format (line 204) | def format(tag, time, record) method write (line 207) | def write(chunk) method create_driver (line 215) | def create_driver(conf=CONFIG) FILE: test/test_plugin.rb class PluginTest (line 12) | class PluginTest < Test::Unit::TestCase class Dummy1Input (line 13) | class Dummy1Input < Fluent::Plugin::Input class Dummy2Input (line 16) | class Dummy2Input < Fluent::Plugin::Input method multi_workers_ready? (line 22) | def multi_workers_ready? class DummyFilter (line 26) | class DummyFilter < Fluent::Plugin::Filter method filter (line 35) | def filter(tag, time, record) class Dummy1Output (line 39) | class Dummy1Output < Fluent::Plugin::Output method write (line 41) | def write(chunk) class Dummy2Output (line 45) | class Dummy2Output < Fluent::Plugin::Output method multi_workers_ready? (line 50) | def multi_workers_ready? method write (line 53) | def write(chunk) class Dummy1Buffer (line 57) | class Dummy1Buffer < Fluent::Plugin::Buffer class Dummy2Buffer (line 60) | class Dummy2Buffer < Fluent::Plugin::Buffer method multi_workers_ready? (line 62) | def multi_workers_ready? class DummyParser (line 66) | class DummyParser < Fluent::Plugin::Parser class DummyFormatter (line 69) | class DummyFormatter < Fluent::Plugin::Formatter class Dummy1Storage (line 72) | class Dummy1Storage < Fluent::Plugin::Storage class Dummy2Storage (line 75) | class Dummy2Storage < Fluent::Plugin::Storage method multi_workers_ready? (line 77) | def multi_workers_ready? class DummyOwner (line 81) | class DummyOwner < Fluent::Plugin::Base class DummyEventRouter (line 85) | class DummyEventRouter method emit (line 86) | def emit(tag, time, record); end method emit_array (line 87) | def emit_array(tag, array); end method emit_stream (line 88) | def emit_stream(tag, es); end method emit_error_event (line 89) | def emit_error_event(tag, time, record, error); end FILE: test/test_plugin_classes.rb type FluentTest (line 7) | module FluentTest class FluentTestCounterMetrics (line 8) | class FluentTestCounterMetrics < Fluent::Plugin::Metrics method initialize (line 13) | def initialize method get (line 17) | def get method inc (line 20) | def inc method add (line 23) | def add(value) method set (line 26) | def set(value) method close (line 29) | def close class FluentTestGaugeMetrics (line 35) | class FluentTestGaugeMetrics < Fluent::Plugin::Metrics method initialize (line 40) | def initialize method get (line 44) | def get method inc (line 47) | def inc method dec (line 50) | def dec method add (line 53) | def add(value) method sub (line 56) | def sub(value) method set (line 59) | def set(value) method close (line 62) | def close class FluentTestInput (line 68) | class FluentTestInput < ::Fluent::Plugin::Input method initialize (line 73) | def initialize method start (line 80) | def start method shutdown (line 85) | def shutdown class FluentTestGenInput (line 91) | class FluentTestGenInput < ::Fluent::Plugin::Input method initialize (line 102) | def initialize method multi_workers_ready? (line 109) | def multi_workers_ready? method zero_downtime_restart_ready? (line 113) | def zero_downtime_restart_ready? method start (line 117) | def start method emit (line 128) | def emit method shutdown (line 136) | def shutdown class FluentTestOutput (line 142) | class FluentTestOutput < ::Fluent::Plugin::Output method initialize (line 145) | def initialize method start (line 163) | def start method shutdown (line 168) | def shutdown method process (line 173) | def process(tag, es) class FluentTestDynamicOutput (line 180) | class FluentTestDynamicOutput < ::Fluent::Plugin::BareOutput method start (line 186) | def start method after_start (line 198) | def after_start method stop (line 203) | def stop method before_shutdown (line 208) | def before_shutdown method shutdown (line 213) | def shutdown method after_shutdown (line 219) | def after_shutdown method close (line 224) | def close method terminate (line 229) | def terminate method process (line 234) | def process(tag, es) class FluentTestBufferedOutput (line 241) | class FluentTestBufferedOutput < ::Fluent::Plugin::Output method start (line 246) | def start method shutdown (line 251) | def shutdown method write (line 256) | def write(chunk) class FluentTestEmitOutput (line 261) | class FluentTestEmitOutput < ::Fluent::Plugin::Output method write (line 264) | def write(chunk) class FluentTestErrorOutput (line 274) | class FluentTestErrorOutput < ::Fluent::Plugin::Output method initialize (line 277) | def initialize method format (line 291) | def format(tag, time, record) method write (line 295) | def write(chunk) class FluentCompatTestFilter (line 300) | class FluentCompatTestFilter < ::Fluent::Filter method initialize (line 303) | def initialize(field = '__test__') method start (line 315) | def start method shutdown (line 320) | def shutdown method filter (line 325) | def filter(tag, time, record) class FluentTestFilter (line 332) | class FluentTestFilter < ::Fluent::Plugin::Filter method initialize (line 335) | def initialize(field = '__test__') method start (line 347) | def start method shutdown (line 352) | def shutdown method filter (line 357) | def filter(tag, time, record) class FluentTestBuffer (line 364) | class FluentTestBuffer < Fluent::Plugin::Buffer method resume (line 367) | def resume method generate_chunk (line 371) | def generate_chunk(metadata) method multi_workers_ready? (line 374) | def multi_workers_ready? class TestEmitErrorHandler (line 379) | class TestEmitErrorHandler method initialize (line 380) | def initialize method handle_emit_error (line 386) | def handle_emit_error(tag, time, record, error) method handle_emits_error (line 390) | def handle_emits_error(tag, es, error) FILE: test/test_plugin_helper.rb class PluginHelperTest (line 5) | class PluginHelperTest < Test::Unit::TestCase type FluentTest (line 6) | module FluentTest; end class FluentTest::PluginTest1 (line 9) | class FluentTest::PluginTest1 < Fluent::Plugin::TestBase class FluentTest::PluginTest2 (line 12) | class FluentTest::PluginTest2 < Fluent::Plugin::TestBase class FluentTest::PluginTest3 (line 15) | class FluentTest::PluginTest3 < Fluent::Plugin::TestBase class FluentTest::PluginTest4 (line 18) | class FluentTest::PluginTest4 < Fluent::Plugin::TestBase class FluentTest::PluginTest5 (line 21) | class FluentTest::PluginTest5 < Fluent::Plugin::TestBase class FluentTest::PluginTest6 (line 24) | class FluentTest::PluginTest6 < Fluent::Plugin::TestBase class FluentTest::PluginTest0 (line 27) | class FluentTest::PluginTest0 < Fluent::Plugin::TestBase FILE: test/test_plugin_id.rb class PluginIdTest (line 6) | class PluginIdTest < Test::Unit::TestCase class MyPlugin (line 9) | class MyPlugin < Fluent::Plugin::Base FILE: test/test_process.rb class ProcessCompatibilityTest (line 4) | class ProcessCompatibilityTest < ::Test::Unit::TestCase FILE: test/test_root_agent.rb class RootAgentTest (line 7) | class RootAgentTest < ::Test::Unit::TestCase method test_initialize (line 11) | def test_initialize method test_initialize_with_opt (line 23) | def test_initialize_with_opt(data) method configure_ra (line 37) | def configure_ra(conf_str) method setup_root_agent (line 207) | def setup_root_agent(conf) method configure_ra (line 690) | def configure_ra(conf_str) method conf (line 954) | def conf method setup (line 979) | def setup method conf (line 1062) | def conf method setup (line 1092) | def setup FILE: test/test_source_only_buffer_agent.rb class SourceOnlyBufferAgentTest (line 3) | class SourceOnlyBufferAgentTest < ::Test::Unit::TestCase method log (line 4) | def log method setup (line 12) | def setup FILE: test/test_static_config_analysis.rb class StaticConfigAnalysisTest (line 14) | class StaticConfigAnalysisTest < ::Test::Unit::TestCase FILE: test/test_supervisor.rb class SupervisorTest (line 19) | class SupervisorTest < ::Test::Unit::TestCase class DummyServer (line 20) | class DummyServer method config (line 23) | def config method tmp_dir (line 28) | def tmp_dir method setup (line 32) | def setup method teardown (line 40) | def teardown method write_config (line 51) | def write_config(path, data) method test_system_config (line 57) | def test_system_config method parse_yaml (line 134) | def parse_yaml(yaml) method test_system_config (line 147) | def test_system_config method test_usr1_in_main_process_signal_handlers (line 248) | def test_usr1_in_main_process_signal_handlers method test_cont_in_main_process_signal_handlers (line 266) | def test_cont_in_main_process_signal_handlers method test_term_cont_in_main_process_signal_handlers (line 284) | def test_term_cont_in_main_process_signal_handlers method test_winch_in_main_process_signal_handlers (line 310) | def test_winch_in_main_process_signal_handlers method test_main_process_command_handlers (line 329) | def test_main_process_command_handlers method test_usr1_in_supervisor_signal_handler (line 354) | def test_usr1_in_supervisor_signal_handler method test_cont_in_supervisor_signal_handler (line 373) | def test_cont_in_supervisor_signal_handler method test_term_cont_in_supervisor_signal_handler (line 391) | def test_term_cont_in_supervisor_signal_handler method test_winch_in_supervisor_signal_handler (line 408) | def test_winch_in_supervisor_signal_handler method test_windows_shutdown_event (line 427) | def test_windows_shutdown_event method test_supervisor_event_handler (line 458) | def test_supervisor_event_handler method test_fluentsigdump_get_path_with_pid (line 489) | def test_fluentsigdump_get_path_with_pid(data) method test_supervisor_event_dump_windows (line 494) | def test_supervisor_event_dump_windows method test_rpc_server (line 527) | def test_rpc_server(data) method test_invalid_rpc_endpoint (line 568) | def test_invalid_rpc_endpoint(data) method test_rpc_server_windows (line 591) | def test_rpc_server_windows(data) method test_normal (line 627) | def test_normal method test_daemonize (line 650) | def test_daemonize method test_chumask (line 682) | def test_chumask((chumask, expected)) method test_chumask_should_be_passed_to_ServerEngine (line 694) | def test_chumask_should_be_passed_to_ServerEngine((cl_opt, expected_ch... method test_init_for_logger (line 709) | def test_init_for_logger(supervisor) method test_logger_with_rotate_age_and_rotate_size (line 744) | def test_logger_with_rotate_age_and_rotate_size(rotate_age) method test_can_start_with_rotate_but_no_log_path (line 761) | def test_can_start_with_rotate_but_no_log_path method parse_text (line 775) | def parse_text(text) method test_override_default_log_rotate (line 780) | def test_override_default_log_rotate method test_override_default_log_rotate_with_yaml_config (line 803) | def test_override_default_log_rotate_with_yaml_config method test_log_level_affects (line 825) | def test_log_level_affects method test_log_path (line 837) | def test_log_path(supervisor) method test_dir_permission (line 855) | def test_dir_permission(supervisor) method test_files_for_each_process_with_rotate_on_windows (line 879) | def test_files_for_each_process_with_rotate_on_windows method test_enable_shared_socket (line 912) | def test_enable_shared_socket method test_disable_shared_socket (line 925) | def test_disable_shared_socket method test_zero_downtime_restart (line 956) | def test_zero_downtime_restart((daemonize, wait_success, wait_sleep, r... method test_share_sockets (line 1018) | def test_share_sockets method test_stop_parallel_old_supervisor_after_delay (line 1048) | def test_stop_parallel_old_supervisor_after_delay method create_debug_dummy_logger (line 1462) | def create_debug_dummy_logger method create_info_dummy_logger (line 1470) | def create_info_dummy_logger FILE: test/test_test_drivers.rb class TestDriverTest (line 17) | class TestDriverTest < ::Test::Unit::TestCase method setup (line 18) | def setup method start (line 84) | def start method prefer_buffered_processing (line 105) | def prefer_buffered_processing method process (line 108) | def process(tag, es) method filter (line 124) | def filter(tag, time, record) FILE: test/test_time_formatter.rb class TimeFormatterTest (line 5) | class TimeFormatterTest < ::Test::Unit::TestCase method format (line 10) | def format(format, localtime, timezone) type TestLists (line 15) | module TestLists function test_default_utc_nil (line 16) | def test_default_utc_nil function test_default_utc_pHH_MM (line 20) | def test_default_utc_pHH_MM function test_default_utc_nHH_MM (line 24) | def test_default_utc_nHH_MM function test_default_utc_pHHMM (line 28) | def test_default_utc_pHHMM function test_default_utc_nHHMM (line 32) | def test_default_utc_nHHMM function test_default_utc_pHH (line 36) | def test_default_utc_pHH function test_default_utc_nHH (line 40) | def test_default_utc_nHH function test_default_utc_timezone_1 (line 44) | def test_default_utc_timezone_1 function test_default_utc_timezone_2 (line 49) | def test_default_utc_timezone_2 function test_default_utc_timezone_3 (line 54) | def test_default_utc_timezone_3 function test_default_utc_timezone_4 (line 59) | def test_default_utc_timezone_4 function test_default_utc_timezone_5 (line 65) | def test_default_utc_timezone_5 function test_default_utc_invalid (line 72) | def test_default_utc_invalid function test_default_localtime_nil_1 (line 76) | def test_default_localtime_nil_1 function test_default_localtime_nil_2 (line 82) | def test_default_localtime_nil_2 function test_default_localtime_timezone (line 88) | def test_default_localtime_timezone function test_specific_utc_nil (line 95) | def test_specific_utc_nil function test_specific_utc_pHH_MM (line 99) | def test_specific_utc_pHH_MM function test_specific_utc_nHH_MM (line 103) | def test_specific_utc_nHH_MM function test_specific_utc_pHHMM (line 107) | def test_specific_utc_pHHMM function test_specific_utc_nHHMM (line 111) | def test_specific_utc_nHHMM function test_specific_utc_pHH (line 115) | def test_specific_utc_pHH function test_specific_utc_nHH (line 119) | def test_specific_utc_nHH function test_specific_utc_timezone_1 (line 123) | def test_specific_utc_timezone_1 function test_specific_utc_timezone_2 (line 128) | def test_specific_utc_timezone_2 function test_specific_utc_timezone_3 (line 133) | def test_specific_utc_timezone_3 function test_specific_utc_timezone_4 (line 138) | def test_specific_utc_timezone_4 function test_specific_utc_timezone_5 (line 144) | def test_specific_utc_timezone_5 function test_specific_utc_invalid (line 151) | def test_specific_utc_invalid function test_specific_localtime_nil_1 (line 155) | def test_specific_localtime_nil_1 function test_specific_localtime_nil_2 (line 161) | def test_specific_localtime_nil_2 function test_specific_localtime_timezone (line 167) | def test_specific_localtime_timezone method test_format_with_subsec (line 192) | def test_format_with_subsec class DummyForTimeFormatter (line 200) | class DummyForTimeFormatter FILE: test/test_time_parser.rb class TimeParserTest (line 5) | class TimeParserTest < ::Test::Unit::TestCase method setup (line 6) | def setup method test_call_with_parse (line 10) | def test_call_with_parse method test_parse_with_strptime (line 19) | def test_parse_with_strptime method test_parse_nsec_with_strptime (line 28) | def test_parse_nsec_with_strptime method test_parse_iso8601 (line 37) | def test_parse_iso8601 method test_parse_with_invalid_argument (line 49) | def test_parse_with_invalid_argument method test_parse_time_in_localtime (line 59) | def test_parse_time_in_localtime method test_parse_time_in_utc (line 67) | def test_parse_time_in_utc method test_parse_string_with_expected_timezone (line 75) | def test_parse_string_with_expected_timezone method test_parse_time_with_expected_timezone_name (line 83) | def test_parse_time_with_expected_timezone_name class DummyForTimeParser (line 92) | class DummyForTimeParser class DummyForTimeParser (line 233) | class DummyForTimeParser FILE: test/test_tls.rb class UniqueIdTest (line 4) | class UniqueIdTest < Test::Unit::TestCase FILE: test/test_unique_id.rb type UniqueIdTestEnv (line 5) | module UniqueIdTestEnv class Dummy (line 6) | class Dummy < Fluent::Plugin::Base class UniqueIdTest (line 11) | class UniqueIdTest < Test::Unit::TestCase FILE: test/test_variable_store.rb class VariableStoreTest (line 4) | class VariableStoreTest < Test::Unit::TestCase method setup (line 5) | def setup method teardown (line 8) | def teardown