Skip to content

metricbeat.yml not found when binary executed from different directory #3777

Closed
@djschny

Description

  • Version: 5.2.1
  • Operating System: Mac 10.12.3
  • Steps to Reproduce:
  • Execute metricbeat from a different directory then where the configuration file exists and notice the error:
$ metricbeat-5.2.1-darwin-x86_64/metricbeat 
Exiting: error loading config file: open metricbeat.yml: no such file or directory

Expectation would be that be default it would look for the config in the same directory as where the binary exists.

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions