Filebeat - Haproxy - Dashboard


#1

Hi

Have run the filebeat setup binary (6.5.1 linux) and have various sample dashboards but not HA-Proxy. I see there is a file Filebeat-haproxy-overview.json which I tried to blindly import from saved objects in Kibana but alas no luck.
Is there something that has to be enabled to get specific sample dashboards to be available?

Regards

Ed


(Noémi Ványi) #2

The command setup is loading all dashboards. What is the output of ./filebeat setup --dashboards -e -d "*"?


#3

Have run the requested command and the output was:

[xxx@xxx ~]# filebeat setup --dashboards -e -d "*"?
2018-11-27T16:34:12.276Z INFO instance/beat.go:592 Home path: [/usr/share/filebeat] Config path: [/etc/filebeat] Data path: [/var/lib/filebeat] Lo gs path: [/var/log/filebeat]
2018-11-27T16:34:12.277Z INFO instance/beat.go:599 Beat UUID: 052ea68b-5538-43ba-bc33-c4e80ea294db
2018-11-27T16:34:12.277Z INFO [beat] instance/beat.go:825 Beat info {"system_info": {"beat": {"path": {"config": "/etc/filebeat", "data": " /var/lib/filebeat", "home": "/usr/share/filebeat", "logs": "/var/log/filebeat"}, "type": "filebeat", "uuid": "052ea68b-5538-43ba-bc33-c4e80ea294db"}}}
2018-11-27T16:34:12.277Z INFO [beat] instance/beat.go:834 Build info {"system_info": {"build": {"commit": "b1c6ac83cc037bd75395334eed23b64bd 63c87ef", "libbeat": "6.5.1", "time": "2018-11-16T01:29:47.000Z", "version": "6.5.1"}}}
2018-11-27T16:34:12.277Z INFO [beat] instance/beat.go:837 Go runtime info {"system_info": {"go": {"os":"linux","arch":"amd64","max_procs":2,"vers ion":"go1.10.3"}}}
2018-11-27T16:34:12.278Z INFO [beat] instance/beat.go:841 Host info {"system_info": {"host": {"architecture":"x86_64","boot_time":"2018-08- 13T15:58:38+01:00","containerized":true,"name":"xxx","ip":["127.0.0.1/8","x.x.x.x/xx","x.x.x.x/xx"],"kernel_version":"2.6.32-696.3.2.el6.x86_64", "mac":["xx:xx:xx:f3:e5:ad","xx:xx:xx:e8:0d:8d"],"os":{"family":"redhat","platform":"centos","name":"CentOS","version":"6.10 (Final)","major":6,"minor":10,"patc h":0,"codename":"Final"},"timezone":"GMT","timezone_offset_sec":0}}}
2018-11-27T16:34:12.279Z INFO [beat] instance/beat.go:870 Process info {"system_info": {"process": {"capabilities": {"inheritable":null,"permi tted":["chown","dac_override","dac_read_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_admin","sys_boot","sys_nice","sys_resource","sys_ti me","sys_tty_config","mknod","lease","audit_write","audit_control","setfcap","mac_override","mac_admin","syslog","wake_alarm","block_suspend","audit_read","38" ,"39","40","41","42","43","44","45","46","47","48","49","50","51","52","53","54","55","56","57","58","59","60","61","62","63"],"effective":["chown","dac_overri de","dac_read_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_admin","sys_boot","sys_nice","sys_resource","sys_time","sys_tty_config","mkno d","lease","audit_write","audit_control","setfcap","mac_override","mac_admin","syslog","wake_alarm","block_suspend","audit_read","38","39","40","41","42","43", "44","45","46","47","48","49","50","51","52","53","54","55","56","57","58","59","60","61","62","63"],"bounding":["chown","dac_override","dac_read_search","fown er","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_admin","sys_boot","sys_nice","sys_resource","sys_time","sys_tty_config","mknod","lease","audit_write","a udit_control","setfcap","mac_override","mac_admin","syslog","wake_alarm","block_suspend","audit_read","38","39","40","41","42","43","44","45","46","47","48","4 9","50","51","52","53","54","55","56","57","58","59","60","61","62","63"],"ambient":null}, "cwd": "/root", "exe": "/usr/share/filebeat/bin/filebeat", "name": " filebeat", "pid": 10623, "ppid": 4444, "seccomp": {"mode":""}, "start_time": "2018-11-27T16:34:11.790Z"}}}
2018-11-27T16:34:12.279Z INFO instance/beat.go:278 Setup Beat: filebeat; Version: 6.5.1
2018-11-27T16:34:15.281Z INFO add_cloud_metadata/add_cloud_metadata.go:319 add_cloud_metadata: hosting provider type not detected.
2018-11-27T16:34:15.281Z INFO elasticsearch/client.go:163 Elasticsearch url: http://x.x.x.x:9200
2018-11-27T16:34:15.282Z INFO [publisher] pipeline/module.go:110 Beat name: x.x.x
2018-11-27T16:34:15.283Z INFO beater/filebeat.go:101 Enabled modules/filesets: haproxy (log), ()
Loading dashboards (Kibana must be running and reachable)
2018-11-27T16:34:15.284Z INFO elasticsearch/client.go:163 Elasticsearch url: http://x.x.x.x:9200
2018-11-27T16:34:15.287Z INFO elasticsearch/client.go:712 Connected to Elasticsearch version 6.5.0
2018-11-27T16:34:15.288Z INFO kibana/client.go:118 Kibana url: http://x.x.x.x:5601
2018-11-27T16:34:45.596Z INFO instance/beat.go:717 Kibana dashboards successfully loaded.
Loaded dashboards


(Noémi Ványi) #4

Could you please show the contents of the dashboard directory you are importing?


(Noémi Ványi) #5

I was able to reproduce your issue. Do you mind opening an issue on Github? https://github.com/elastic/beats/issues/new?template=bug-report.md


#6

Great stuff, thought I had borked the install! Have opened an issue on Gitub, many thanks for your time looking at this

Regards

Ed