elastic

  1. add repo and install jdk
  2. install jdk
  3. install elasticsearch
  4. install kibana
  5. install logstash
  6. install curator
  7. usefull

changes

  • 2019-07-26 update for 7.0.1
  • 2019-07-26 update for 7.1.1

add repo

or manually

install Java Development Kit (JDK)

#########################

install elasticsearch

if java 8 (previously find the “tools.jar” in your system and correct the next command)

run service, add to autostart and check

#########################

install kibana

start and add to autostart

add “server.host: 0.0.0.0” to /etc/kibana/kibana.yml for opening access

enable logging

add to /etc/kibana/kibana.yml

create dir

touch /etc/logrotate.d/elk-kibana

install plugin logtrail

###################

install logstash

start and add to autostart

Main configuration file /etc/logstash/logstash.yml

 

create in directory /etc/logstash/conf.d/ 3 files

100logstash-in.conf

200logstash-filter.conf

300logstash-out.conf

#########################

install filebeat

check version

change config /etc/filebeat/filebeat.yml

filebeat test config

#########################

install curator 

/etc/curator/config.yml

/etc/curator/action.yml

 

 

rename indice

 

check version