安装ELK遇见index_not_found_exception异常处理

如题所述

第1个回答  2022-07-09
最近在学习ELK,安装ELK过程中,参照官网,ElasticSearch和Kibana的使用都很顺利,但是在使用logStash将文件写入到ES这一步, https://www.elastic.co/guide/en/logstash/current/advanced-pipeline.html ,总是遇到index_not_found_exception的异常,具体配置、出错过程和解决办法记录如下:

该文件默认路径是:<logstashPath.data>/plugins/inputs/file/.sincedb_xx,是一个隐藏文件,里面记录的是每个被监听文件的inode,major number, minor number和position,如图: