Skip to content

Commit

Permalink
Deprecate filebeat.config_dir config option
Browse files Browse the repository at this point in the history
The plan is replace this with a better implementation in the future similar to prospector reloading. See elastic#3362.
  • Loading branch information
ruflin committed Jan 31, 2017
1 parent f957f70 commit 1841ca3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.asciidoc
Expand Up @@ -111,6 +111,7 @@ https://github.com/elastic/beats/compare/v5.1.1...master[Check the HEAD diff]
- Fix error on importing dashboards due to colons in the Caassandra dashboard. {issue}3140[3140]

*Filebeat*
- Config option filebeat.config_dir is deprecated. It will be replaced in version 6.0 with a new implementation that also supports configuration reloading. {issue}3430[3430]

*Winlogbeat*

Expand Down
2 changes: 2 additions & 0 deletions filebeat/config/config.go
Expand Up @@ -106,6 +106,8 @@ func (config *Config) FetchConfigs() error {
return nil
}

logp.Warn("Config option filebeat.config_dir is deprecated.")

// If configDir is relative, consider it relative to the config path
configDir = paths.Resolve(paths.Config, configDir)

Expand Down

0 comments on commit 1841ca3

Please sign in to comment.