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 export template fails on installed pacakges #5089

Closed
tsg opened this issue Sep 4, 2017 · 2 comments
Closed

metricbeat export template fails on installed pacakges #5089

tsg opened this issue Sep 4, 2017 · 2 comments
Assignees

Comments

@tsg
Copy link
Contributor

tsg commented Sep 4, 2017

  • Version: 6.0.0-beta2
  • Operating System: Linux
  • Steps to Reproduce:
    • Install deb
    • Run:
metricbeat export template --es.version 5.5.2
Error generating template: open fields.yml: no such file or directoryroot@squeeze64:/home/

Looks like it's looking in the wrong path.

@tsg
Copy link
Contributor Author

tsg commented Sep 4, 2017

Running like this makes it work:

metricbeat -e -E "setup.template.fields=/etc/metricbeat/fields.yml" export template

@exekias FYI.

@exekias
Copy link
Contributor

exekias commented Sep 4, 2017

This is weird, theoretically it should check ${path.home}/${setup.template.fields}, let me look into this

@exekias exekias self-assigned this Sep 4, 2017
exekias added a commit to exekias/beats that referenced this issue Sep 4, 2017
ruflin pushed a commit that referenced this issue Sep 5, 2017
exekias added a commit to exekias/beats that referenced this issue Sep 5, 2017
ruflin pushed a commit that referenced this issue Sep 5, 2017
…ath.config` param (#5091) (#5101)

Fixes #5089
(cherry picked from commit 16ce368)
leweafan pushed a commit to leweafan/beats that referenced this issue Apr 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants