{"record":{"id":"dffe7e27b5289c76","repo":"fluent/fluentd","slug":"parse-section-is-required","errorCode":null,"errorMessage":"<parse> section is required.","messagePattern":"<parse> section is required\\.","errorType":"exception","errorClass":"Fluent::ConfigError","httpStatus":null,"severity":"error","filePath":"lib/fluent/plugin/in_tail.rb","lineNumber":132,"sourceCode":"    desc 'Format path with the specified timezone'\n    config_param :path_timezone, :string, default: nil\n    desc 'Follow inodes instead of following file names. Guarantees more stable delivery and allows to use * in path pattern with rotating files'\n    config_param :follow_inodes, :bool, default: false\n    desc 'Maximum length of line. The longer line is just skipped.'\n    config_param :max_line_size, :size, default: nil\n\n    config_section :parse, required: false, multi: true, init: true, param_name: :parser_configs do\n      config_argument :usage, :string, default: 'in_tail_parser'\n    end\n\n    attr_reader :paths\n\n    def configure(conf)\n      @variable_store = Fluent::VariableStore.fetch_or_build(:in_tail)\n      compat_parameters_convert(conf, :parser)\n      parser_config = conf.elements('parse').first\n      unless parser_config\n        raise Fluent::ConfigError, \"<parse> section is required.\"\n      end\n\n      (1..Fluent::Plugin::MultilineParser::FORMAT_MAX_NUM).each do |n|\n        parser_config[\"format#{n}\"] = conf[\"format#{n}\"] if conf[\"format#{n}\"]\n      end\n\n      parser_config['unmatched_lines'] = conf['emit_unmatched_lines']\n\n      super\n\n      if !@enable_watch_timer && !@enable_stat_watcher\n        raise Fluent::ConfigError, \"either of enable_watch_timer or enable_stat_watcher must be true\"\n      end\n\n      if @glob_policy == :always && @path_delimiter == ','\n        raise Fluent::ConfigError, \"cannot use glob_policy as always with the default path_delimiter: `,\\\"\"\n      end\n","sourceCodeStart":114,"sourceCodeEnd":150,"githubUrl":"https://github.com/fluent/fluentd/blob/dd45c6e18dc7be33b5e5a0f0767bf46307ff5626/lib/fluent/plugin/in_tail.rb#L114-L150","documentation":"Error \"<parse> section is required.\" thrown in fluent/fluentd.","triggerScenarios":"Thrown at lib/fluent/plugin/in_tail.rb:132 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":[],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"dd45c6e18dc7be33b5e5a0f0767bf46307ff5626","analyzedAt":"2026-08-21T16:22:07.332Z","schemaVersion":2},"datasetVersion":"2026-08-21T18:17:14.833Z"}