Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
djschny opened this issue Mar 20, 2017 · 3 comments
Closed
Labels
enhancement libbeat needs_team Indicates that the issue/PR needs a Team:* label Stalled

Comments

@djschny
Copy link

djschny commented Mar 20, 2017

  • 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.

@ruflin
Copy link
Member

ruflin commented Mar 21, 2017

This was introduced in #2245 I think we kept it this way for BC compatibility. We should discuss to change this for 6.0

@tsg Your commit message in a4afb65 and the text in #2245 contradict each other. Which one is correct? I assume the commit message ...

@botelastic
Copy link

botelastic bot commented Jul 9, 2020

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@botelastic botelastic bot added Stalled needs_team Indicates that the issue/PR needs a Team:* label labels Jul 9, 2020
@botelastic
Copy link

botelastic bot commented Jul 9, 2020

This issue doesn't have a Team:<team> label.

@botelastic botelastic bot closed this as completed Aug 8, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement libbeat needs_team Indicates that the issue/PR needs a Team:* label Stalled
Projects
None yet
Development

No branches or pull requests

2 participants