Hi Tudor,
Thanks for the suggestion. Here's the result. Any ideas?
ubuntu@ip-10-0-1-118:/usr/share/metricbeat/bin$ sudo ./metricbeat -e -d "*" -setup -c test.yml -path.config /etc/metricbeat
2017/09/29 21:34:43.977631 beat.go:297: INFO Home path: [/usr/share/metricbeat/bin] Config path: [/etc/metricbeat] Data path: [/usr/share/metricbeat/bin/data] Logs path: [/usr/share/metricbeat/bin/logs]
2017/09/29 21:34:43.977660 beat.go:192: INFO Setup Beat: metricbeat; Version: 5.6.1
2017/09/29 21:34:43.977728 processor.go:44: DBG Processors:
2017/09/29 21:34:43.977774 metrics.go:23: INFO Metrics logging every 30s
2017/09/29 21:34:43.977789 beat.go:198: DBG Initializing output plugins
2017/09/29 21:34:43.977975 output.go:258: INFO Loading template enabled. Reading template file: /etc/metricbeat/metricbeat.template.json
2017/09/29 21:34:43.981253 output.go:269: INFO Loading template enabled for Elasticsearch 2.x. Reading template file: /etc/metricbeat/metricbeat.template-es2x.json
2017/09/29 21:34:43.984282 output.go:281: INFO Loading template enabled for Elasticsearch 6.x. Reading template file: /etc/metricbeat/metricbeat.template-es6x.json
2017/09/29 21:34:43.989571 client.go:128: INFO Elasticsearch url: http://search-xxxxxxxxxx-yyyyyyyyyyyyy.ap-southeast-2.es.amazonaws.com:80
2017/09/29 21:34:43.989606 outputs.go:108: INFO Activated elasticsearch as output plugin.
2017/09/29 21:34:43.989621 publish.go:243: DBG Create output worker
2017/09/29 21:34:43.989707 publish.go:285: DBG No output is defined to store the topology. The server fields might not be filled.
2017/09/29 21:34:43.989738 publish.go:300: INFO Publisher name: ip-10-0-1-118
2017/09/29 21:34:43.989844 async.go:63: INFO Flush Interval set to: 1s
2017/09/29 21:34:43.989858 async.go:64: INFO Max Bulk Size set to: 50
2017/09/29 21:34:43.989865 async.go:72: DBG create bulk processing worker (interval=1s, bulk size=50)
2017/09/29 21:34:43.989967 metricbeat.go:28: INFO Register [ModuleFactory:[docker, mongodb, mysql, postgresql, system], MetricSetFactory:[apache/status, ceph/cluster_disk, ceph/cluster_health, ceph/monitor_health, ceph/pool_disk, couchbase/bucket, couchbase/cluster, couchbase/node, docker/container, docker/cpu, docker/diskio, docker/healthcheck, docker/image, docker/info, docker/memory, docker/network, haproxy/info, haproxy/stat, jolokia/jmx, kafka/consumergroup, kafka/partition, mongodb/dbstats, mongodb/status, mysql/status, nginx/stubstatus, php_fpm/pool, postgresql/activity, postgresql/bgwriter, postgresql/database, prometheus/collector, prometheus/stats, redis/info, redis/keyspace, system/core, system/cpu, system/diskio, system/filesystem, system/fsstat, system/load, system/memory, system/network, system/process, system/socket, zookeeper/mntr]]
2017/09/29 21:34:43.990190 process.go:68: DBG process cgroup data collection is enabled, using hostfs=''
2017/09/29 21:34:43.990502 builders.go:56: DBG mb.NewModules() is returning map[{name:"system", config:{Module:"system", MetricSets:[cpu load filesystem fsstat memory network process], Enabled:true, Hosts:[0 hosts], Period:"10s", Timeout:"10s", Raw:false, Fields:null, FieldsUnderRoot:false, Tags:[]}}:[{name:"cpu", module:"system", hostData:{SanitizedURI:"", Host:""}} {name:"load", module:"system", hostData:{SanitizedURI:"", Host:""}} {name:"filesystem", module:"system", hostData:{SanitizedURI:"", Host:""}} {name:"fsstat", module:"system", hostData:{SanitizedURI:"", Host:""}} {name:"memory", module:"system", hostData:{SanitizedURI:"", Host:""}} {name:"network", module:"system", hostData:{SanitizedURI:"", Host:""}} {name:"process", module:"system", hostData:{SanitizedURI:"", Host:""}}]]
2017/09/29 21:34:43.990531 wrapper.go:80: DBG Initializing Module type 'system': *system.Module={name:"system", config:{Module:"system", MetricSets:[cpu load filesystem fsstat memory network process], Enabled:true, Hosts:[0 hosts], Period:"10s", Timeout:"10s", Raw:false, Fields:null, FieldsUnderRoot:false, Tags:[]}}
2017/09/29 21:34:43.990549 processor.go:44: DBG Processors:
2017/09/29 21:34:43.990591 wrapper.go:96: DBG Initializing MetricSet type 'system/cpu' for host '': *cpu.MetricSet={name:"cpu", module:"system", hostData:{SanitizedURI:"", Host:""}}
2017/09/29 21:34:43.990616 wrapper.go:96: DBG Initializing MetricSet type 'system/load' for host '': *load.MetricSet={name:"load", module:"system", hostData:{SanitizedURI:"", Host:""}}
2017/09/29 21:34:43.990643 wrapper.go:96: DBG Initializing MetricSet type 'system/filesystem' for host '': *filesystem.MetricSet={name:"filesystem", module:"system", hostData:{SanitizedURI:"", Host:""}}
2017/09/29 21:34:43.990667 wrapper.go:96: DBG Initializing MetricSet type 'system/fsstat' for host '': *fsstat.MetricSet={name:"fsstat", module:"system", hostData:{SanitizedURI:"", Host:""}}
2017/09/29 21:34:43.990691 wrapper.go:96: DBG Initializing MetricSet type 'system/memory' for host '': *memory.MetricSet={name:"memory", module:"system", hostData:{SanitizedURI:"", Host:""}}
2017/09/29 21:34:43.990716 wrapper.go:96: DBG Initializing MetricSet type 'system/network' for host '': *network.MetricSet={name:"network", module:"system", hostData:{SanitizedURI:"", Host:""}}
2017/09/29 21:34:43.990741 wrapper.go:96: DBG Initializing MetricSet type 'system/process' for host '': *process.MetricSet={name:"process", module:"system", hostData:{SanitizedURI:"", Host:""}}
2017/09/29 21:34:43.990907 client.go:128: INFO Elasticsearch url: http://search-xxxxxxxxxx-yyyyyyyyyyyyy.ap-southeast-2.es.amazonaws.com:80
2017/09/29 21:34:43.990935 client.go:642: DBG ES Ping(url=http://search-xxxxxxxxxx-yyyyyyyyyyyyy.ap-southeast-2.es.amazonaws.com:80, timeout=1m30s)
2017/09/29 21:34:44.101490 client.go:647: DBG Ping request failed with: 403 Forbidden
2017/09/29 21:34:44.101511 output.go:88: ERR Error connecting to Elasticsearch: http://search-xxxxxxxxxx-yyyyyyyyyyyyy.ap-southeast-2.es.amazonaws.com:80
2017/09/29 21:34:44.101542 beat.go:346: CRIT Exiting: Error importing Kibana dashboards: fail to create the Elasticsearch loader: Error creating Elasticsearch client: Couldn't connect to any of the configured Elasticsearch hosts
Exiting: Error importing Kibana dashboards: fail to create the Elasticsearch loader: Error creating Elasticsearch client: Couldn't connect to any of the configured Elasticsearch hosts