我的应用程序在我想要打开并从 gralog web 查看这些文件的文件夹中生成了几个数据文件/输出文件。有什么我可以使用的工具吗
1 回答
0
Graylog 本身不支持直接从文件中读取。为了在 Graylog Web 界面中查看文件内容,您首先需要对它们进行索引。
要将这些文件摄取到 Graylog,您有几种可能性:
- 带有
imfile
输入模块的 rsyslog:http ://www.rsyslog.com/doc/v8-stable/configuration/modules/imfile.html - 带有文件输入模块的 nxlog:http: //nxlog-ce.sourceforge.net/nxlog-docs/en/nxlog-reference-manual.html#im_file
- 带有文件输入插件的logstash:https ://www.elastic.co/guide/en/logstash/current/plugins-inputs-file.html
- 文件节拍:https ://www.elastic.co/guide/en/beats/filebeat/current/index.html
所有这些都支持将数据发送到 Graylog,例如直接通过 GELF。
于 2016-02-09T10:12:43.813 回答