Flume+elasticsearch+kibana encounters the Pit

Source: Internet
Author: User

First, Elasticsearch single-machine environment construction

Note : Elasticsearch has strict requirements for JDK versions, it is generally recommended to install java:openjdk version "1.8.0_xx"

Configure Elasticsearch

TAR-ZXVF ELASTICSEARCH-5.2.2.TAR.GZCD elasticsearch-5.2.2

Edit the configuration file for ES and modify the following configuration items:

cluster.name=es_clusternode.name=node0path.data=/tmp/elasticsearch/datapath.logs=/tmp/elasticsearch/logs# Current hostname or ipnetwork.host=xxxnetwork.port=9200

Start es:

./bin/elasticsearch or Nohup. /bin/elasticsearch &

  

Open the page ip:9200 and you will see the following:

or use the command: Curl http://IP:9200 to check if the deployment was successful

cluster installation See: http://yedward.net/post/416.html

The pits encountered during installation are as follows: http://blog.csdn.net/qq_21387171/article/details/53577115 and Http://www.dajiangtai.com/community/18136.do

In addition, when installing version 5.2.2, an error was encountered and handled as follows:

Error:bootstrap Checks Failedsystem Call filters failed to install; Check the logs and fix your configuration or disable system call filters at your own risk

The workaround is as follows: Configure Bootstrap.system_call_filter in Elasticsearch.yml to false, note the following in memory:

Bootstrap.memory_lock:falsebootstrap.system_call_filter:false

can view issues:https://github.com/elastic/elasticsearch/issues/22899

Second, Kibana installation

1. Installation Preparation

TAR-ZXVF kibana-5.2.2.tar.gz

2, Configuration Kibana

server.port:5601 #监听的端口号server. Host: "172.18.12.XX"  #Kibana服务的IPelasticsearch. url:http://172.18.12.xx:9200  #es服务器的http访问路径kibana. Index:. Kibana #kibana在es中的辅助索引名称

3. Start Kibana

./bin/kibana

4. Verify that the Kibana is installed successfully

Check if http://IP:5601 can access

Flume+elasticsearch+kibana encounters the Pit

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.