Metric Beat fails to import dashboard

Keywords: ELK - Google Cloud Platform - Technical issue - Application configuration

bnsupport ID: b40862ad-5006-93d5-fc25-d8091a0062f3

bndiagnostic output:

? Connectivity: Found possible issues
? Apache: Found possible issues
https://docs.bitnami.com/general/faq/administration/use-firewall/
https://docs.bitnami.com/general/apps/wordpress/troubleshooting/debug-errors-apache/
https://docs.bitnami.com/bch/apps/moodle/troubleshooting/deny-connections-bots-apache/

bndiagnostic failure reason: The documentation did not make any significant change

Description:
Hi, I’m having issues trying to import Metricbeat dashboards on machine separate from my ELK Stack. When I enter the command ‘<./metricbeat setup -e>’ I get the following output:

‘<./metricbeat setup -e
2021-07-21T21:41:36.967Z INFO instance/beat.go:665 Home path: [/home/jeffrey_meurer/metricbeat-7.13.2-
linux-x86_64] Config path: [/home/jeffrey_meurer/metricbeat-7.13.2-linux-x86_64] Data path: [/home/jeffrey_meurer/m
etricbeat-7.13.2-linux-x86_64/data] Logs path: [/home/jeffrey_meurer/metricbeat-7.13.2-linux-x86_64/logs]
2021-07-21T21:41:36.968Z INFO instance/beat.go:673 Beat ID: bb56dce4-cd9f-43b7-adb4-0e27a569968b
2021-07-21T21:41:36.972Z INFO [beat] instance/beat.go:1014 Beat info {“system_info”: {“beat”: {"
path": {“config”: “/home/jeffrey_meurer/metricbeat-7.13.2-linux-x86_64”, “data”: “/home/jeffrey_meurer/metricbeat-7
.13.2-linux-x86_64/data”, “home”: “/home/jeffrey_meurer/metricbeat-7.13.2-linux-x86_64”, “logs”: “/home/jeffrey_meu
rer/metricbeat-7.13.2-linux-x86_64/logs”}, “type”: “metricbeat”, “uuid”: “bb56dce4-cd9f-43b7-adb4-0e27a569968b”}}}
2021-07-21T21:41:36.972Z INFO [beat] instance/beat.go:1023 Build info {“system_info”: {“build”: {
“commit”: “686ba416a74193f2e69dcfa2eb142f4364a79307”, “libbeat”: “7.13.2”, “time”: “2021-06-10T21:16:02.000Z”, “ver
sion”: “7.13.2”}}}
2021-07-21T21:41:36.972Z INFO [beat] instance/beat.go:1026 Go runtime info {“system_info”: {“go”: {“os
“:“linux”,“arch”:“amd64”,“max_procs”:2,“version”:“go1.15.13”}}}
2021-07-21T21:41:36.973Z INFO [beat] instance/beat.go:1030 Host info {“system_info”: {“host”: {”
architecture”:“x86_64”,“boot_time”:“2021-07-06T23:53:42Z”,“containerized”:false,“name”:“rclone-server”,“ip”:[“127.0
.0.1/8”,"::1/128",“10.168.15.204/32”,“fe80::4001:aff:fea8:fcc/64”],“kernel_version”:“5.4.0-1046-gcp”,“mac”:[“42:01:
0a:a8:0f:cc”],“os”:{“type”:“linux”,“family”:“debian”,“platform”:“ubuntu”,“name”:“Ubuntu”,“version”:“18.04.5 LTS (Bi
onic Beaver)”,“major”:18,“minor”:4,“patch”:5,“codename”:“bionic”},“timezone”:“UTC”,“timezone_offset_sec”:0,“id”:“30
b8ab410847d463a9dd3ce22531f250”}}}
2021-07-21T21:41:36.974Z INFO [beat] instance/beat.go:1059 Process info {“system_info”: {“process”:
{“capabilities”: {“inheritable”:null,“permitted”:null,“effective”:null,“bounding”:[“chown”,“dac_override”,“dac_rea
d_search”,“fowner”,“fsetid”,“kill”,“setgid”,“setuid”,“setpcap”,“linux_immutable”,“net_bind_service”,“net_broadcast”
,“net_admin”,“net_raw”,“ipc_lock”,“ipc_owner”,“sys_module”,“sys_rawio”,“sys_chroot”,“sys_ptrace”,“sys_pacct”,“sys_a
dmin”,“sys_boot”,“sys_nice”,“sys_resource”,“sys_time”,“sys_tty_config”,“mknod”,“lease”,“audit_write”,“audit_control
“,“setfcap”,“mac_override”,“mac_admin”,“syslog”,“wake_alarm”,“block_suspend”,“audit_read”],“ambient”:null}, “cwd”:
“/home/jeffrey_meurer/metricbeat-7.13.2-linux-x86_64”, “exe”: “/home/jeffrey_meurer/metricbeat-7.13.2-linux-x86_64/
metricbeat”, “name”: “metricbeat”, “pid”: 22818, “ppid”: 22796, “seccomp”: {“mode”:“disabled”,“no_new_privs”:false}
, “start_time”: “2021-07-21T21:41:34.870Z”}}}
2021-07-21T21:41:36.975Z INFO instance/beat.go:309 Setup Beat: metricbeat; Version: 7.13.2
2021-07-21T21:41:36.976Z INFO [index-management] idxmgmt/std.go:184 Set output.elasticsearch.in
dex to ‘metricbeat-7.13.2’ as ILM is enabled.
2021-07-21T21:41:36.977Z INFO eslegclient/connection.go:99 elasticsearch url: http://35.199.144.204:92
00
2021-07-21T21:41:37.063Z INFO [esclientleg] eslegclient/connection.go:314 Attempting to connect to El
asticsearch version 7.10.2
Overwriting ILM policy is disabled. Set setup.ilm.overwrite: true for enabling.
2021-07-21T21:41:37.115Z INFO template/load.go:228 Existing template will be overwritten, as overwrite
is enabled.
2021-07-21T21:41:37.451Z INFO template/load.go:131 Try loading template metricbeat-7.13.2 to Elasticse
arch
2021-07-21T21:41:37.841Z INFO template/load.go:123 template with name ‘metricbeat-7.13.2’ loaded.
2021-07-21T21:41:37.841Z INFO [index-management] idxmgmt/std.go:297 Loaded index template.
Index setup finished.
Loading dashboards (Kibana must be running and reachable)
2021-07-21T21:41:37.841Z INFO kibana/client.go:119 Kibana url: http://35.199.144.204:5601
2021-07-21T21:41:38.382Z INFO kibana/client.go:119 Kibana url: http://35.199.144.204:5601
2021-07-21T21:43:18.251Z ERROR instance/beat.go:989 Exiting: Failed to import dashboard: Failed to load
directory /home/jeffrey_meurer/metricbeat-7.13.2-linux-x86_64/kibana/7/dashboard:
error loading /home/jeffrey_meurer/metricbeat-7.13.2-linux-x86_64/kibana/7/dashboard/Metricbeat-aws-billing-overv
iew.json: . Response: {“objects”:[{“type”:“dashboard”,“id”:“e6776b10-1534-11ea-841c-01bf20a6c8ba”,“attributes”:{“de
scription”:“Overview of AWS Billing Metrics”,“hits”:0,“kibanaSavedObjectMeta”:{“searchSourceJSON”:”{“filter”: [],
“query”: {“language”: “kuery”, “qu… (truncated)
error loading /home/jeffrey_meurer/metricbeat-7.13.2-linux-x86_64/kibana/7/dashboard/Metricbeat-awsfargate-overvi
ew.json: . Response: {“objects”:[{“type”:“dashboard”,“id”:“20dc7c50-2e89-11eb-991c-c5fd3b7f5a63”,“attributes”:{“des
cription”:“Overview of AWS Fargate Metrics”,“hits”:0,“kibanaSavedObjectMeta”:{“searchSourceJSON”:”{“filter”: [],
“query”: {“language”: “kuery”, “qu… (truncated)
error loading /home/jeffrey_meurer/metricbeat-7.13.2-linux-x86_64/kibana/7/dashboard/Metricbeat-azure-app-state-o
verview.json: . Response: {“objects”:[{“type”:“dashboard”,“id”:“d5fbd610-03d9-11eb-8034-63f2039e9d3f”,“attributes”:
{“description”:“Provides relevant app insights metrics for web applications”,“hits”:0,“kibanaSavedObjectMeta”:{“sea
rchSourceJSON”:”{“filter”: [{”$state": {"… (truncated)
error loading /home/jeffrey_meurer/metricbeat-7.13.2-linux-x86_64/kibana/7/dashboard/Metricbeat-cockroachdb-overv
iew.json: returned 500 to import file: . Response: {“statusCode”:500,“error”:“Internal Server Error”,“message”
:“An internal server error occurred.”}
error loading /home/jeffrey_meurer/metricbeat-7.13.2-linux-x86_64/kibana/7/dashboard/Metricbeat-cockroachdb-sql.j
son: returned 500 to import file: . Response: {“statusCode”:500,“error”:“Internal Server Error”,“message”:“An
internal server error occurred.”}
error loading /home/jeffrey_meurer/metricbeat-7.13.2-linux-x86_64/kibana/7/dashboard/Metricbeat-gcp-billing-overv
iew.json: . Response: {“objects”:[{“type”:“dashboard”,“id”:“76c9e920-e890-11ea-bf8c-d13ebf358a78”,“attributes”:{“de
scription”:“Overview of Google Cloud Billing Metrics”,“hits”:0,“kibanaSavedObjectMeta”:{“searchSourceJSON”:"{“filt
er”: [], “query”: {“language”: “kuer… (truncated)
error loading /home/jeffrey_meurer/metricbeat-7.13.2-linux-x86_64/kibana/7/dashboard/Metricbeat-gcp-pubsub-overvi
ew.json: . Response: {“objects”:[{“type”:“dashboard”,“id”:“2b0fd7b0-feac-11ea-b032-d59f894a5072”,“attributes”:{“des
cription”:“Overview of GCP PubSub Metrics”,“hits”:0,“kibanaSavedObjectMeta”:{“searchSourceJSON”:”{“filter”: [],
“query”: {“language”: “kuery”, “que… (truncated)
Exiting: Failed to import dashboard: Failed to load directory /home/jeffrey_meurer/metricbeat-7.13.2-linux-x86_64/k
ibana/7/dashboard:
error loading /home/jeffrey_meurer/metricbeat-7.13.2-linux-x86_64/kibana/7/dashboard/Metricbeat-aws-billing-overv
iew.json: . Response: {“objects”:[{“type”:“dashboard”,“id”:“e6776b10-1534-11ea-841c-01bf20a6c8ba”,“attributes”:{“de
scription”:“Overview of AWS Billing Metrics”,“hits”:0,“kibanaSavedObjectMeta”:{“searchSourceJSON”:”{“filter”: [],
“query”: {“language”: “kuery”, “qu… (truncated)
error loading /home/jeffrey_meurer/metricbeat-7.13.2-linux-x86_64/kibana/7/dashboard/Metricbeat-awsfargate-overvi
ew.json: . Response: {“objects”:[{“type”:“dashboard”,“id”:“20dc7c50-2e89-11eb-991c-c5fd3b7f5a63”,“attributes”:{“des
cription”:“Overview of AWS Fargate Metrics”,“hits”:0,“kibanaSavedObjectMeta”:{“searchSourceJSON”:”{“filter”: [],
“query”: {“language”: “kuery”, “qu… (truncated)
error loading /home/jeffrey_meurer/metricbeat-7.13.2-linux-x86_64/kibana/7/dashboard/Metricbeat-azure-app-state-o
verview.json: . Response: {“objects”:[{“type”:“dashboard”,“id”:“d5fbd610-03d9-11eb-8034-63f2039e9d3f”,“attributes”:
{“description”:“Provides relevant app insights metrics for web applications”,“hits”:0,“kibanaSavedObjectMeta”:{“sea
rchSourceJSON”:”{“filter”: [{"$state": {"… (truncated)
error loading /home/jeffrey_meurer/metricbeat-7.13.2-linux-x86_64/kibana/7/dashboard/Metricbeat-cockroachdb-overv
iew.json: returned 500 to import file: . Response: {“statusCode”:500,“error”:“Internal Server Error”,“message”
:“An internal server error occurred.”}
error loading /home/jeffrey_meurer/metricbeat-7.13.2-linux-x86_64/kibana/7/dashboard/Metricbeat-cockroachdb-sql.j
son: returned 500 to import file: . Response: {“statusCode”:500,“error”:“Internal Server Error”,“message”:“An
internal server error occurred.”}
error loading /home/jeffrey_meurer/metricbeat-7.13.2-linux-x86_64/kibana/7/dashboard/Metricbeat-gcp-billing-overv
iew.json: . Response: {“objects”:[{“type”:“dashboard”,“id”:“76c9e920-e890-11ea-bf8c-d13ebf358a78”,“attributes”:{“de
scription”:“Overview of Google Cloud Billing Metrics”,“hits”:0,“kibanaSavedObjectMeta”:{“searchSourceJSON”:"{“filt
er”: [], “query”: {“language”: “kuer… (truncated)
error loading /home/jeffrey_meurer/metricbeat-7.13.2-linux-x86_64/kibana/7/dashboard/Metricbeat-gcp-pubsub-overvi
ew.json: . Response: {“objects”:[{“type”:“dashboard”,“id”:“2b0fd7b0-feac-11ea-b032-d59f894a5072”,“attributes”:{“des
cription”:“Overview of GCP PubSub Metrics”,“hits”:0,“kibanaSavedObjectMeta”:{“searchSourceJSON”:”{“filter”: [],
“query”: {“language”: “kuery”, "que… (truncated)>’

I can’t figure out the problem

Hi @jeffrey.meurer,

Did you follow the steps in this guide to connect remotely to ELK:

https://docs.bitnami.com/google/apps/elk/administration/connect-remotely/

Regards,
Michiel