1. kibana No Default Index Pattern Warning
 当访问kibana页面时,出现下面的信息:Warning No default index pattern. You must select or create one to continue.
 …
 Unable to fetch mapping. Do you have indices matching the pattern?这就说明logstash没有把日志写入到elasticsearch。
 解决方法:
 检查logstash与elasticsearch之间的通讯是否有问题,一般问题就在这。2. Kibana Unable to connect to Elasticsearch
 访问kibana出现下面错误信息:Fatal Error
 kibana: Unable to connect to elasticsearchError: Unable to connect to elasticsearch
 Error: Bad Gateway这个问题很明显,kibana不能连接到elasticsearch ,可能 elasticsearch没有运行 或kibana 没有配置正确的elasticsearch服务地址。
 解决方法:
 检查kibana目录下的config/kibana.yml文件,查看elasticsearch配置是否正确。3. Logstash Configuration Contains a Syntax Error
 logstash 语法错误,这个问题一般各种各样的。主要是logstash配置文件不对导致的。
 解决方法:
 在启动logstash前,先检查下logstash配置文件是否有问题4. RROR: bootstrap checks failed
max file descriptors [4096] for elasticsearch process likely too low, increase to at least [65536]
max number of threads [1024] for user [lishang] likely too low, increase to at least [2048]解决:切换到root用户,编辑limits.conf 添加类似如下内容
 vi /etc/security/limits.conf添加如下内容:
 * soft nofile 65536
 * hard nofile 131072
 * soft nproc 2048
 * hard nproc 40965. max number of threads [1024] for user [lish] likely too low, increase to at least [2048]
解决:切换到root用户,进入limits.d目录下修改配置文件。
 vi /etc/security/limits.d/90-nproc.conf
 修改如下内容:• soft nproc 1024
 #修改为• soft nproc 2048
6. max virtual memory areas vm.max_map_count [65530] likely too low, increase to at least [262144]