help centre
For more info visit status.atmail.com

How can we help?


Search our knowledge base for answers to
common questions and latest updates.



My activities New request

Follow

Admin Logs - Elastic Search Installation

Stewart -

PROBLEM

How can I enable logging within my webadmin UI?

ENVIRONMENT

  • atmail mail server - 1.1.0 +

CAUSE

Requirement to enable dashboard logs within the webadmin UI.

RESOLUTION

To install Logstash and Elasticsearch for dashboard logs, complete the following steps.

Please Note:
Java is required to be installed. (https://tecadmin.net/install-java-8-on-centos-rhel-and-fedora/)

Install Elasticsearch

Add the required repository.

$nano /etc/yum.repos.d/elasticsearch.repo
[elasticsearch-2.x]
name=Elasticsearch repository for 2.x packages
baseurl=http://packages.elastic.co/elasticsearch/2.x/centos
gpgcheck=1
gpgkey=http://packages.elastic.co/GPG-KEY-elasticsearch
enabled=1

Install Elasticsearch using yum.

$ yum install elasticsearch

Start and enable the Elasticsearch service.

$ systemctl start elasticsearch
$ systemctl enable elasticsearch

Install Logstash

Add the required repository.

$ nano /etc/yum.repos.d/logstash.repo
[logstash-2.2]
name=logstash repository for 2.2 packages
baseurl=http://packages.elasticsearch.org/logstash/2.2/centos
gpgcheck=1
gpgkey=http://packages.elasticsearch.org/GPG-KEY-elasticsearch
enabled=1

Install Logstash using yum.

$ yum install logstash

Start and enable the Logstash service.

$ systemctl start logstash
$ systemctl enable logstash
Have more questions? Submit a request

Comments


Contact our support team


+61 (7) 5357 6605       support@atmail.com