简体   繁体   English

即使数据在Elasticsearch中,Graylog2 Web界面也不会显示日志/消息

[英]Graylog2 web interface doesn't show logs/messages even though the data is in Elasticsearch

So, I have installed Graylog2, Elasticsearch and MongoDB. 因此,我已经安装了Graylog2,Elasticsearch和MongoDB。

All of them are running on same machine. 它们都在同一台计算机上运行。 The thing is log collection is working, which I can verify by querying Elasticsearch but Graylog2 web interface doesn't show any messages. 事情是日志收集正常,我可以通过查询Elasticsearch来验证,但是Graylog2 Web界面不显示任何消息。

Here is web interface log: 这是Web界面日志:

2015-08-26 15:17:29,195 - [DEBUG] - from application in main
Loading timeout value into cache from configuration for key DEFAULT: Not configured, falling back to default.

2015-08-26 15:17:29,519 - [DEBUG] - from application in main
Loading timeout value into cache from configuration for key node_refresh: Not configured, falling back to default.

2015-08-26 15:17:29,727 - [INFO] - from play in main
Application started (Prod)

2015-08-26 15:17:29,754 - [INFO] - from play in main
Listening for HTTP on /0.0.0.0:9000

2015-08-26 15:17:36,936 - [DEBUG] - from application in play-akka.actor.default-dispatcher-2
Loading timeout value into cache from configuration for key sources_all: Not configured, falling back to default.

Nothing unusual there. 那里没什么异常。 Here is Graylog2-server log: 这是Graylog2-服务器日志:

2015-08-26 15:11:53,639 INFO : org.graylog2.periodical.Periodicals - Starting [org.graylog2.periodical.IndexRetentionThread] periodical in [0s], polling every [300s].
2015-08-26 15:11:53,641 INFO : org.graylog2.initializers.Initializers - Initialized initializer <org.graylog2.initializers.PeriodicalsInitializer>.
2015-08-26 15:11:53,641 INFO : org.graylog2.outputs.OutputRegistry - Initialized output <org.graylog2.outputs.BatchedElasticSearchOutput>.
2015-08-26 15:11:53,669 INFO : org.graylog2.inputs.InputRegistry - Starting [org.graylog2.inputs.syslog.udp.SyslogUDPInput] input with ID <55dd7d6be4b0ef26379cf956>
2015-08-26 15:11:53,689 INFO : org.graylog2.inputs.syslog.udp.SyslogUDPInput - Started syslog UDP input server on /144.76.34.175:514
2015-08-26 15:11:53,692 INFO : org.graylog2.inputs.InputRegistry - Completed starting [org.graylog2.inputs.syslog.udp.SyslogUDPInput] input with ID <55dd7d6be4b0ef26379cf956>
2015-08-26 15:11:55,046 INFO : org.glassfish.jersey.server.ApplicationHandler - Initiating Jersey application, version Jersey: 2.5 2013-12-18 14:27:29...
2015-08-26 15:11:56,033 INFO : org.graylog2.Core - Started REST API at <http://127.0.0.1:12900/>
2015-08-26 15:11:56,034 INFO : org.graylog2.Main - Graylog2 up and running.
2015-08-26 15:17:32,674 INFO : org.apache.shiro.session.mgt.AbstractValidatingSessionManager - Enabling session validation scheduler...

Nothing unusual there either. 那里也没有异常。 But it doesn't display the data in front end. 但是它不会在前端显示数据。 看截图

And at the right, it displays total events however. 而且在右侧,它显示事件总数。

I can't find any similar issues being discussed on internet. 我找不到互联网上正在讨论的任何类似问题。

I am using Graylog2 0.20.2 and Elasticsearch 0.90.7. 我正在使用Graylog2 0.20.2和Elasticsearch 0.90.7。

Actually I just found out, when I select 'All' from dropdown options, all data is displayed. 实际上,我刚刚发现,当我从下拉选项中选择“全部”时,将显示所有数据。

Looks like this was rather a timezone issue. 看起来这是一个时区问题。 So, there is no issue with installation. 因此,安装没有问题。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM