We konw X-Pack is is an extension that bundles security, monitoring, reporting, and graph capabilities into one package.
From ELK stack 6.3, X-Pack is integrated into Elasticsearch, you can try it by 30-day-trial license. After the trail you could choose buy the license or downgrade to the normal license.
ES
1.Down & Unzip & Enter
wget https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-6.3.2.tar.gz
tar -zvxf elasticsearch-6.3.2.tar.gz && cd elasticsearch-6.3.2
wget wget https://artifacts.elastic.co/downloads/kibana/kibana-6.3.2-darwin-x86_64.tar.gz
tar -zvxf kibana-6.3.2-darwin-x86_64.tar.gz && cd kibana-6.3.2-darwin-x86_64
2.Start
bin/kibana
3.Visit kibana, http://localhost:5601, you will see the dashboard, next we will enable 30-day-trail license.
3.1.Click Management on left menu
3.2.Click License Management
3.3.Click Start trial button
3.4.Click Start my trial button
3.5.Start trail license done
X-Pack
1.Enter elasticsearch directory, execute command as below to generate password for users, please choose one
bin/elasticsearch-setup-passwords interactive(you need to enter password for every user)
bin/elasticsearch-setup-passwords auto(will generate password for users automatically)
2.Enter kibana directory, stop kibana and set username/password in kibana.yml, then start kibana
Recently I need do some statistic, so I choose ELK to build it. I will introduce about how to clean logs and send the logs to elasticsearch by logstash.
Logstash Version: 5.6.6
Firstly add a new configuration file named xxx.conf under config directory, the content are as below, please replace “xxx” with your business.
Reply