Integrate external ELK
You can use your own ELK, which is deployed on an external server, instead of the integrated solution provided by WorkFusion during the installation.
To connect your own Elsaticsearch to the WorkFusion system:
In your
PACKAGE_DIRdirectory, open the config.yml configuration file for editing. The vi text editor is used in the example below:$ vi config.ymlIn config.yml, in the Advanced configuration section, uncomment the following lines, and specify the parameters:
#elasticsearch_external: true #kibana_url: 'http://elasticsearch-external1.example.com:5701/external_kibana' #elasticsearch_host: 'elasticsearch-external1.example.com' #elasticsearch_url: 'http://elasticsearch-external1.example.com:9210/external_elasticsearch' #elasticsearch_port: '9210' # uncomment and define if your port for Elasticsearch is different than 9200elasticsearch_external. Set totrueto enable external Elasticsearch and Kibana.kibana_url. Set the external Kibana URL.elasticsearch_host. Set the Elasticsearch host on an external server.elasticsearch_url. Set the external Elasticsearch URL.elasticsearch_port. Set the external Elasticsearch host. Optional. Define the port, only if you use custom ELK port other than 9200.
Make sure that the following users are added to the external ELK components and their passwords are the same as specified in config.yml > section ELK.
#ELK elk_admin_pass: '********' # password for elasticsearch user 'admin' used as login for Kibana UI elk_elastic_pass: '********' # password for build-in elasticsearch user 'elastic' elk_kibana_pass: '********' # password for build-in elasticsearch user 'kibana' used for install process elk_logstash_certificate_pass: '********' # auth certificate 'logstash.p12' password- Kibana UI user: 'admin'
- Kibana installation user: 'kibana'
- Elasticsearch user:'elastic'
Save and exit config.yml.