elasticsearch-HQ icon indicating copy to clipboard operation
elasticsearch-HQ copied to clipboard

metrics graph are empty v3.4.1

Open chitenderkumar opened this issue 5 years ago • 14 comments

General information

  • **OS Platform and Distribution **: centos7
  • ElasticHQ Version: V3.4.1
  • Elasticsearch Version: 2.4.0
  • Python version: 3.6
  • Browser Vendor and Version (if applicable): chrome

Issue Description

when we are trying to access the metrics graphs of a cluster. metrics graphs displayed empty.

kindly support us here, to make it work.

chitenderkumar avatar Aug 14 '18 18:08 chitenderkumar

Anything in logs?

royrusso avatar Aug 20 '18 16:08 royrusso

Hi Roy, I am facing the same issue on the following platform:

General information OS Platform and Distribution : CentOS 7 ElasticHQ Version: V3.4.1 Elasticsearch Version: 5.6.11 Python version: 3.6 Browser Vendor and Version (if applicable): Chrome and IE

Log is attached.

elastichq_metrics_graph_failure.txt

MHi0 avatar Oct 25 '18 14:10 MHi0

Hello, Same issue with Debian.

elasticHQ is installed on a machine inside our network and published through a reverse proxy. I can see that the browser is trying to load a page that does not exist and gets a 404: https://oursite/socket.io/?EIO=3&transport=polling&t=MRoAXOo

The ElasticHQ publication URL is the following: https://oursite/somepath/elastichq/

OS Platform and Distribution : Debian 8 ElasticHQ Version: V3.4.1 Elasticsearch Version: 6.4.2 Python version: 3.4.2 Browser Vendor and Version: Chrome and IE

I don't see the index to store the data in elastic either. Thanks

sdesse avatar Nov 08 '18 07:11 sdesse

... so you don't see the .elastichq index created? Does the main dashboard have data on it?

royrusso avatar Nov 08 '18 14:11 royrusso

Hello, The .elastichq index is here and the application is working.

I have attached the screenshot: elastichq

Other strange behaviors include no auto-refresh and no persistence of the node list sort order and list size.

This is the content of the .elastichq index: { "_index" : ".elastichq", "_type" : "data", "_id" : "hqsettings", "_score" : 1.0, "_source" : { "index_name" : ".elastichq", "historic_days_to_store" : 7, "doc_type" : "data", "websocket_interval" : 5, "historic_poll_interval" : 300, "store_metrics" : true, "doc_id" : "hqsettings", "version" : 1 }

sdesse avatar Nov 08 '18 15:11 sdesse

So the metrics (websocket) approach is failing then. Did you deploy using docker or ?

royrusso avatar Nov 08 '18 17:11 royrusso

just duplicated the git repo in a directory, started the service and I have apache on the same host that publish the app

sdesse avatar Nov 08 '18 17:11 sdesse

Hmm... is Apache acting as a reverse proxy to ES?

royrusso avatar Nov 08 '18 17:11 royrusso

yes https://oursite/somepath/elastic/

sdesse avatar Nov 08 '18 18:11 sdesse

Ok. Let me see if I can reproduce. I vaguely recall similar issue before with reverse proxies and HQ Websockets.

royrusso avatar Nov 08 '18 18:11 royrusso

BTW, when you go to the metrics section, can you attach the log to this ticket? Just the part when you land on the metrics section. I need to see what the calls look like.

Make sure to cleanse anything you don't want public in the log.

royrusso avatar Nov 08 '18 18:11 royrusso

If I click the Metrics button there is no logs in the elasticHQ/application.log but if I load other pages there are. Only thing I get is this: capture

https://oursite/socket.io/?EIO=3&transport=polling&t=MRoAXOo

sdesse avatar Nov 08 '18 18:11 sdesse

Is this fixed.

dbapramod882 avatar Dec 12 '18 17:12 dbapramod882

Should be fixed in develop. Next release should be soon after the ui issues are resolved. Upgrading the socket related libs seems to have fixed this.

royrusso avatar Dec 12 '18 19:12 royrusso