First configuration steps

To install and configure Energy Log Server on the CentOS Linux system you should:

  • copy archive Energy Log Server tar.bz2 to the hosted server;

  • extract archive Energy Log Server tar.bz2 contain application:

      cd /root/
      tar xvfj archive.tar.bz2
    
  • go to the application directory and run installation script as a root user:

      cd /roo/insatll/
      ./install.sh
    

During instalation you will be ask about following tasks:

  • add firewall exeption on ports 22(ssh), 5044, 5514 (Logstash), 5601 (Kibana), 9200 (Elastisearch), 9300 (ES cross-JVM);
  • installation of Java environment (Open-JDK), if you use your own Java environment - answer “N”;
  • connect to the Energy Log Server CentOS repository, which provides Python libraries, and some fonts;
  • installation of Logstash application;
  • configuration of Logstash with custom Energy Log Server configuration;
  • installation of mail components for Energy Log Server notification;
  • installation of Kibana, the Energy Log Server GUI;
  • installation of data-node of Elasticsearch;
  • configuration of Elasticsearch as Data Node;
  • configuration of Elasticsearch as Master Node.

Optionally you can:

  • install and configure the filebeat agent;

  • install and configure the winlogbeat agent;

  • configure Energy Log Server perf_data to integrated with the Energy Log Server Monitor;

  • configure naemonLogs to integrated with the Naemon;

  • configure integration with Active Directory and SSO servers. You can find necessary information in 12-00-00-Integration_with_AD and 13-00-00-Windows-SSO;

  • install and conigure monitoring with Marver:

          cd /usr/share/elasticsearch
          sudo bin/plugin install license
          sudo bin/plugin install marvel-agent
          systemctl restart elasticsearch
    
  • enable predictive functionality in Intelligence module:

      curl -XPOST 'http://localhost:9200/_aliases' -d '{
              "actions" : [
              { "add" : { "index" : "intelligence", "alias" : "predictive" } },
              { "add" : { "index" : "perfdata-linux", "alias" : "predictive" } }
              ]}'
    
  • generate writeback index for Alert service:

          /opt/alert/bin/elastalert-create-index --config /opt/alert/config.yaml