如下,运行./filebeat -c /etc/filebeat/filebeat.yml --setup -e,没有找到No directory /usr/share/filebeat/bin/kibana/6,但实际上现在目录路径是/usr/share/filebeat/kibana,这个该如何更改,是否可以直接将kibana目录移到bin下?
root@elk:/usr/share/filebeat/bin# ./filebeat -c /etc/filebeat/filebeat.yml --setup -e
2018-05-29T06:58:53.629+0800 INFO instance/beat.go:468 Home path: [/usr/share/filebeat/bin] Config path: [/usr/share/filebeat/bin] Data path: [/usr/share/filebeat/bin/data] Logs path: [/usr/share/filebeat/bin/logs]
2018-05-29T06:58:53.632+0800 INFO instance/beat.go:475 Beat UUID: a8ebad17-46d7-480d-b4cf-c20dbae1e919
2018-05-29T06:58:53.634+0800 INFO instance/beat.go:213 Setup Beat: filebeat; Version: 6.2.4
2018-05-29T06:58:53.637+0800 INFO elasticsearch/client.go:145 Elasticsearch url: http://localhost:9200
2018-05-29T06:58:53.638+0800 INFO pipeline/module.go:76 Beat name: elk
2018-05-29T06:58:53.638+0800 ERROR fileset/modules.go:95 Not loading modules. Module directory not found: /usr/share/filebeat/bin/module
2018-05-29T06:58:53.638+0800 INFO elasticsearch/client.go:145 Elasticsearch url: http://localhost:9200
2018-05-29T06:58:53.639+0800 INFO [monitoring] log/log.go:97 Starting metrics logging every 30s
2018-05-29T06:58:53.645+0800 INFO elasticsearch/client.go:690 Connected to Elasticsearch version 6.2.4
2018-05-29T06:58:53.645+0800 INFO kibana/client.go:69 Kibana url: http://localhost:5601
2018-05-29T06:58:53.686+0800 INFO [monitoring] log/log.go:132 Total non-zero metrics {"monitoring": {"metrics": {"beat":{"cpu":{"system":{"ticks":0,"time":4},"total":{"ticks":10,"time":20,"value":10},"user":{"ticks":10,"time":16}},"info":{"ephemeral_id":"ba1f9ceb-fae4-46b5-a537-42d4821ff6fd","uptime":{"ms":63}},"memstats":{"gc_next":4473924,"memory_alloc":2943584,"memory_total":2943584,"rss":20918272}},"filebeat":{"harvester":{"open_files":0,"running":0}},"libbeat":{"config":{"module":{"running":0}},"output":{"type":"elasticsearch"},"pipeline":{"clients":0,"events":{"active":0}}},"registrar":{"states":{"current":0}},"system":{"cpu":{"cores":1},"load":{"1":0.17,"15":0.1,"5":0.15,"norm":{"1":0.17,"15":0.1,"5":0.15}}}}}}
2018-05-29T06:58:53.703+0800 INFO [monitoring] log/log.go:133 Uptime: 80.896502ms
2018-05-29T06:58:53.706+0800 INFO [monitoring] log/log.go:110 Stopping metrics logging.
2018-05-29T06:58:53.708+0800 ERROR instance/beat.go:667 Exiting: Error importing Kibana dashboards: fail to import the dashboards in Kibana: Error importing directory /usr/share/filebeat/bin/kibana: No directory /usr/share/filebeat/bin/kibana/6
Exiting: Error importing Kibana dashboards: fail to import the dashboards in Kibana: Error importing directory /usr/share/filebeat/bin/kibana: No directory /usr/share/filebeat/bin/kibana/6