AWSでelasticsearchとkibanaをinstall
そもそもAWSのポートが空いてなかった。
$ netstat -na | grep LISTEN ... tcp 0 0 ::1:9200 :::* LISTEN ...
## elasticsearch install $ curl -L -O https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-6.1.0.tar.gz $ tar -xvzf elasticsearch-5.6.0.tar.gz $ cd elasticsearch-5.6.0/bin $ ES_JAVA_OPTS="-Xms512m -Xmx512m" ./bin/elasticsearch ## $ vim config/jvm.optionsでいじってもいいかも $ curl -O "https://artifacts.elastic.co/downloads/kibana/kibana-5.6.0-linux-x86_64.tar.gz" $ tar -xvzf kibana-5.6.0-linux-x86_64.tar.gz $ cd kibana-5.6.0-linux-x86_64 $ vim config/kibana.yml # Kibana is served by a back end server. This setting specifies the port to use. server.port: 5601 # Specifies the address to which the Kibana server will bind. IP addresses and host names are both valid values. # The default is 'localhost', which usually means remote machines will not be able to connect. # To allow connections from remote users, set this parameter to a non-loopback address. server.host: "0.0.0.0" $ ./bin/kibana & ## logstash install $ curl -O "https://artifacts.elastic.co/downloads/logstash/logstash-5.6.0.tar.gz" $ tar -xvzf logstash-5.6.0.tar.gz