This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
yum install java-1.8.0-openjdk -y | |
sudo yum install git -y | |
sudo yum install wget -y | |
wget https://download.elastic.co/logstash/logstash/packages/centos/logstash-1.5.5-1.noarch.rpm | |
sudo rpm -ivh logstash-1.5.5-1.noarch.rpm | |
/opt/logstash/bin/logstash --version | |
export PATH=$PATH:/opt/logstash/bin |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"japanese_template": { | |
"template": "*ja", | |
"settings": { | |
"analysis": { | |
"filter": { | |
"romaji": { | |
"type": "kuromoji_readingform", | |
"use_romaji": true | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo su | |
yum update -y | |
#*************** INSTALL JAVA JDK 8*********************# | |
yum install java-1.8.0-openjdk -y | |
#*************** INSTALL ELASTICSEARCH 1.5.2 + RECOMMENDED PLUGINS *********************# | |
wget https://download.elastic.co/elasticsearch/elasticsearch/elasticsearch-1.5.2.noarch.rpm | |
yum install elasticsearch-1.5.2.noarch.rpm -y | |
rm -f elasticsearch-1.5.2.noarch.rpm |