{"record":{"id":"bab9e7c33f004771","repo":"fluent/fluentd","slug":"cannot-use-glob-policy-as-always-with-the-default","errorCode":null,"errorMessage":"cannot use glob_policy as always with the default path_delimiter: `,\"","messagePattern":"cannot use glob_policy as always with the default path_delimiter: `,\"","errorType":"exception","errorClass":"Fluent::ConfigError","httpStatus":null,"severity":"error","filePath":"lib/fluent/plugin/in_tail.rb","lineNumber":148,"sourceCode":"      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\n      if @glob_policy == :extended && /\\{.*,.*\\}/.match?(@path) && extended_glob_pattern(@path)\n        raise Fluent::ConfigError, \"cannot include curly braces with glob patterns in `#{@path}\\\". Use glob_policy always instead.\"\n      end\n\n      if RESERVED_CHARS.include?(@path_delimiter)\n        rc = RESERVED_CHARS.join(', ')\n        raise Fluent::ConfigError, \"#{rc} are reserved words: #{@path_delimiter}\"\n      end\n\n      @paths = @path.split(@path_delimiter).map(&:strip).uniq\n      if @paths.empty?\n        raise Fluent::ConfigError, \"tail: 'path' parameter is required on tail input\"\n      end\n      if @path_timezone\n        Fluent::Timezone.validate!(@path_timezone)\n        @path_formatters = @paths.map{|path| [path, Fluent::Timezone.formatter(@path_timezone, path)]}.to_h","sourceCodeStart":130,"sourceCodeEnd":166,"githubUrl":"https://github.com/fluent/fluentd/blob/dd45c6e18dc7be33b5e5a0f0767bf46307ff5626/lib/fluent/plugin/in_tail.rb#L130-L166","documentation":"Error \"cannot use glob_policy as always with the default path_delimiter: `,\"\" thrown in fluent/fluentd.","triggerScenarios":"Thrown at lib/fluent/plugin/in_tail.rb:148 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"}