ELK deployment issues related summary

1. Start es-head problem

Because of the high version es-head needs to be started separately, so first install npm other tools. Installation tutorial see [1]

Start command: ../ elasticsearch-head / node_modules / grunt / bin / grunt server

 

2, logstash es synchronized to the

[ERROR][logstash.outputs.elasticsearch] Failed to install template.{:message=>"Template file '' could not be found!", :class=>"ArgumentError",:backtrace=>["/usr/local/logstash-.3.0/vendor/bundle/jruby/2.3.0/gems/logstash-output-elasticsearch-9.1.1-java/lib/logstash/outputs/elasticsearch/template_manager.rb:31:in
`read_template_file'",

This is because a logstash not parse the log output

 

3, permission error

ERROR Unable to locate appender “${sys:ls.log.format}_rolling” for logger config “root”

Here is logstash access configuration files (such as: documents user groups under /etc/logstach/conf.d file is root, leading to not run), incorrect user input file permissions and so on.

 

 The files in those directories to modify users and groups logstash (chowd -R logstash: logstash / var / log / logstash)

 

4, test the configuration file for errors logstash

Use the command bin / logstash -f /etc/logstash/config/test.conf -t test configuration file if there are problems.

Configuration OK

 

 

 

 

 

 

 

 

 

 

 

Reference:

[1] https://www.cnblogs.com/xiaojianfeng/p/9435507.html

Guess you like

Origin www.cnblogs.com/hoojjack/p/11978368.html