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-6.0.0-rc1 can't load 5.x dashboards into Kibana 5.6.2 #5277

Closed
simianhacker opened this issue Sep 29, 2017 · 1 comment
Closed
Assignees

Comments

@simianhacker
Copy link
Member

I'm running Elasticsearch 5.6, Kibana 5.6 and Metricbeat 6.0.0-rc1. When I run metricbeat -e --setup it spits out the following log and then quits:

❯ ./metricbeat -e --setup
2017/09/29 21:21:02.104688 beat.go:430: INFO Home path: [/home/ccowan/Services/6.0/metricbeat-6.0.0-rc1-linux-x86_64] Config path: [/home/ccowan/Services/6.0/metricbeat-6.0.0-rc1-linux-x86_64] Data path: [/home/ccowan/Services/6.0/metricbeat-6.0.0-rc1-linux-x86_64/data] Logs path: [/home/ccowan/Services/6.0/metricbeat-6.0.0-rc1-linux-x86_64/logs]
2017/09/29 21:21:02.104754 metrics.go:23: INFO Metrics logging every 30s
2017/09/29 21:21:02.104762 beat.go:437: INFO Beat UUID: 24a43c99-228c-4799-bb72-1a069791b590
2017/09/29 21:21:02.104783 beat.go:192: INFO Setup Beat: metricbeat; Version: 6.0.0-rc1
2017/09/29 21:21:02.104928 client.go:123: INFO Elasticsearch url: http://localhost:9200
2017/09/29 21:21:02.105110 module.go:80: INFO Beat name: wintermute.localdomain
2017/09/29 21:21:02.105228 cfgwarn.go:18: WARN DEPRECATED: -setup flag has been deprectad, use setup subcommand Will be removed in version: 6.0
2017/09/29 21:21:02.105329 client.go:123: INFO Elasticsearch url: http://localhost:9200
2017/09/29 21:21:02.107654 client.go:651: INFO Connected to Elasticsearch version 5.6.2
2017/09/29 21:21:03.415424 beat.go:629: CRIT Exiting: Error importing Kibana dashboards: fail to import the dashboards in Elasticsearch: Error importing directory /home/ccowan/Services/6.0/metricbeat-6.0.0-rc1-linux-x86_64/kibana: Failed to import dashboard: Failed to load directory /home/ccowan/Services/6.0/metricbeat-6.0.0-rc1-linux-x86_64/kibana/5.x/dashboard:
  error loading /home/ccowan/Services/6.0/metricbeat-6.0.0-rc1-linux-x86_64/kibana/5.x/dashboard/Metricbeat-Rabbitmq.json: open /home/ccowan/Services/6.0/metricbeat-6.0.0-rc1-linux-x86_64/kibana/5.x/visualization/RabbitMQ-Memory-Usage.json: no such file or directory
Exiting: Error importing Kibana dashboards: fail to import the dashboards in Elasticsearch: Error importing directory /home/ccowan/Services/6.0/metricbeat-6.0.0-rc1-linux-x86_64/kibana: Failed to import dashboard: Failed to load directory /home/ccowan/Services/6.0/metricbeat-6.0.0-rc1-linux-x86_64/kibana/5.x/dashboard:
  error loading /home/ccowan/Services/6.0/metricbeat-6.0.0-rc1-linux-x86_64/kibana/5.x/dashboard/Metricbeat-Rabbitmq.json: open /home/ccowan/Services/6.0/metricbeat-6.0.0-rc1-linux-x86_64/kibana/5.x/visualization/RabbitMQ-Memory-Usage.json: no such file or directory
@tsg tsg self-assigned this Oct 9, 2017
@tsg tsg added the v6.0.0-rc1 label Oct 9, 2017
@tsg
Copy link
Contributor

tsg commented Oct 9, 2017

I can reproduce this on a Linux system. It seems to be because of case sensitive vs case insensitive FS.

tsg added a commit to tsg/beats that referenced this issue Oct 9, 2017
This were broken on case-sensitive file systems, because the name of the files
didn't match the name of the IDs from the dashboards.

Fixes elastic#5277.
ruflin pushed a commit that referenced this issue Oct 9, 2017
This were broken on case-sensitive file systems, because the name of the files
didn't match the name of the IDs from the dashboards.

Fixes #5277.
ruflin pushed a commit to ruflin/beats that referenced this issue Oct 9, 2017
This were broken on case-sensitive file systems, because the name of the files
didn't match the name of the IDs from the dashboards.

Fixes elastic#5277.

(cherry picked from commit 3ffa7c5)
tsg pushed a commit that referenced this issue Oct 10, 2017
This were broken on case-sensitive file systems, because the name of the files
didn't match the name of the IDs from the dashboards.

Fixes #5277.

(cherry picked from commit 3ffa7c5)
leweafan pushed a commit to leweafan/beats that referenced this issue Apr 28, 2023
This were broken on case-sensitive file systems, because the name of the files
didn't match the name of the IDs from the dashboards.

Fixes elastic#5277.

(cherry picked from commit 8ae84ba)
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