如何在 kibana 中读取输入文件?
How can I read a input file in kibana?
我必须在 kibana 中对 vtt 文件进行一些操作。但我无法在 kibana 中阅读它。请建议我一些阅读方式。
首先,Kibana只是一个可视化工具,可以让你以图形化的方式在elasticsearch中搜索数据。因此,您主要希望将文件中的数据索引到 elasticsearch 中,以便在 kibana 中查看它们。
您可能想看看 Logstash in general and especially at its File Input Plugin. With this, you can read lines of a file and apply multiple so-called filters on the events to process them. To index the events (= line of file) you would need to use the Elasticsearch Output Plugin。
作为 Logstash 文件输入插件的替代品,您可以安装和配置 Filebeat on the particular host to read the certain file. Since you need to do some processing I recommend to send the data from Filebeat to Logstash. In this scenario, you would need to use Logstash's Beats Input Plugin。
我必须在 kibana 中对 vtt 文件进行一些操作。但我无法在 kibana 中阅读它。请建议我一些阅读方式。
首先,Kibana只是一个可视化工具,可以让你以图形化的方式在elasticsearch中搜索数据。因此,您主要希望将文件中的数据索引到 elasticsearch 中,以便在 kibana 中查看它们。
您可能想看看 Logstash in general and especially at its File Input Plugin. With this, you can read lines of a file and apply multiple so-called filters on the events to process them. To index the events (= line of file) you would need to use the Elasticsearch Output Plugin。
作为 Logstash 文件输入插件的替代品,您可以安装和配置 Filebeat on the particular host to read the certain file. Since you need to do some processing I recommend to send the data from Filebeat to Logstash. In this scenario, you would need to use Logstash's Beats Input Plugin。