Error in loading the modules.
Filebeat 5.6 + CentOS
----error context-----
2017/11/30 09:21:42.132800 beat.go:297: INFO Home path: [/usr/share/filebeat/bin] Config path: [/etc/filebeat] Data path: [/usr/share/filebeat/bin/data] Logs path: [/usr/share/filebeat/bin/logs]
2017/11/30 09:21:42.132838 beat.go:192: INFO Setup Beat: filebeat; Version: 5.6.3
2017/11/30 09:21:42.132957 metrics.go:23: INFO Metrics logging every 30s
2017/11/30 09:21:42.133333 logstash.go:90: INFO Max Retries set to: 3
2017/11/30 09:21:42.133412 outputs.go:108: INFO Activated logstash as output plugin.
2017/11/30 09:21:42.133516 publish.go:300: INFO Publisher name: elastic01.intra.realstuff.ch
2017/11/30 09:21:42.133725 async.go:63: INFO Flush Interval set to: 1s
2017/11/30 09:21:42.133739 async.go:64: INFO Max Bulk Size set to: 2048
2017/11/30 09:21:42.133861 modules.go:95: ERR Not loading modules. Module directory not found: /usr/share/filebeat/bin/module
-------end of error------
modules.go is looking in the wrong directory, as the modules are located elsewhere.
How to solve it in a correct way?
thanks in advance
Lara