Graylog Dashboard Loading Problem (waits without any error)

I have been facing dashboard showing problem. When i get in dashboard detailed screen, it stays at loading. There are no errors on client side on browser console and server side in logs. Some similar post still exists in the community. Screenshot as gif is below.

Here is my system info

Installed onto Ubuntu 18.04.4 via link https://docs.graylog.org/en/3.3/pages/installation/os/ubuntu.html

Hostname:graylog
Node ID: 8dedd******-4414-b931-*******
Version:3.3.2+ade4779, codename Sloth Rocket
JVM:PID 47201, Private Build 1.8.0_252 on Linux 4.15.0-109-generic

he @bilkobe

what Elasticsearch and what MongoDB version did you have? Does the search work?

hi @jan

Searching works, top stats on search page also work.

Eleastic is 6.8.10 and Mongo is 4.0.19

# curl -XGET ‘http://localhost:9200
{
“name” : “xxxxxxx”,
“cluster_name” : “xxxxxx”,
“cluster_uuid” : “xxxxxx”,
“version” : {
“number” : “6.8.10”,
“build_flavor” : “oss”,
“build_type” : “deb”,
“build_hash” : “537cb22”,
“build_date” : “2020-05-28T14:47:19.882936Z”,
“build_snapshot” : false,
“lucene_version” : “7.7.3”,
“minimum_wire_compatibility_version” : “5.6.0”,
“minimum_index_compatibility_version” : “5.0.0”
},
“tagline” : “You Know, for Search”
}

# mongod --version
db version v4.0.19
git version: 7e28f4296a04d858a2e3dd84a1e79c9ba59a9568
OpenSSL version: OpenSSL 1.1.1 11 Sep 2018
allocator: tcmalloc
modules: none
build environment:
distmod: ubuntu1804
distarch: x86_64
target_arch: x86_64

Hi @bilkobe,

this spinner is being displayed while loading the dashboard. Can you please provide some information about the api request which loads the dashboard?
The POST looks like: http://localhost:9000/api/views/[dashboard-id]

It would be especially helpful to know what response you are receiving.

Thanks in advance,
Linus

Here is response for multiple endpoint. However license is valid.

{“8dedd717-d806-4414-b931-59f46b16e977”:{“total”:6,“metrics”:[{“full_name”:“org.graylog.enterprise.license.status.violated”,“metric”:{“value”:0},“name”:“violated”,“type”:“gauge”},{“full_name”:“org.graylog.enterprise.license.status.expired”,“metric”:{“value”:0},“name”:“expired”,“type”:“gauge”},{“full_name”:“org.graylog.enterprise.license.status.expiration-upcoming”,“metric”:{“value”:0},“name”:“expiration-upcoming”,“type”:“gauge”},{“full_name”:“org.graylog.enterprise.license.status.trial”,“metric”:{“value”:0},“name”:“trial”,“type”:“gauge”},{“full_name”:“org.graylog2.throughput.input.1-sec-rate”,“metric”:{“value”:0.0},“name”:“1-sec-rate”,“type”:“gauge”},{“full_name”:“org.graylog2.throughput.output.1-sec-rate”,“metric”:{“value”:0.0},“name”:“1-sec-rate”,“type”:“gauge”}]}}

License screenshot is here.

Hi @bilkobe,

thanks for the quick reply, can you also provide the response for http://localhost:9000/api/views/[dashboard-id]?

Just to let you know, this is the correct response for the /api/cluster/metrics/multiple request and there should not be a problem with the license.

what are your http_* settings in the Graylog server.conf?

{“id”:“5f08673707ac9127fa78cb24”,“type”:“DASHBOARD”,“title”:“Sources”,“summary”:“This is a list of all sources that sent in messages to Graylog.”,“description”:“This is a list of all sources that sent in messages to Graylog. You can narrow the timerange by zooming in on the message histogram, or you can increase the time range by specifying a broader one in the controls at the top. You can also specify filters to limit the results you are seeing. You can also add additional widgets to this dashboard, or adapt the appearance of existing widgets to suit your needs.”,“search_id”:“5f0c5e7e971a65fd58749c96”,“properties”:,“requires”:{},“state”:{“a1647eb6-a064-4fe6-b459-1e4267d3f659”:{“selected_fields”:null,“static_message_list_id”:null,“titles”:{“tab”:{“title”:“Sources Overview”},“widget”:{“6c127c5d-be75-4157-b43f-ac0194ac0586”:“Selected sources”,“92d63811-e4dd-47db-bd3b-db03c8a9bd53”:“Messages per Source”,“00637e63-d728-4b3e-932b-7c8696b4855d”:“Messages over time”}},“widgets”:[{“id”:“6c127c5d-be75-4157-b43f-ac0194ac0586”,“type”:“aggregation”,“filter”:null,“timerange”:{“type”:“relative”,“range”:300},“query”:null,“streams”:,“config”:{“row_pivots”:[{“field”:“source”,“type”:“values”,“config”:{“limit”:15}}],“column_pivots”:,“series”:[{“config”:{“name”:“Message count”},“function”:“count()”}],“sort”:[{“type”:“series”,“field”:“count()”,“direction”:“Descending”}],“visualization”:“table”,“visualization_config”:null,“formatting_settings”:null,“rollup”:true,“event_annotation”:false}},{“id”:“021791fd-02f0-42f3-bcfc-8c5bc0815aea”,“type”:“aggregatıon”,“filter”:null,“timerange”:{“type”:“relative”,“range”:28800},“query”:{“type”:“elasticsearch”,“query_string”:""},“streams”:,“config”:{“column_pivots”:,“rollup”:true,“row_pivots”:[{“field”:“dst_port”,“type”:“values”,“config”:{“limit”:15}}],“series”:[{“config”:{},“function”:“count()”}],“sort”:,“visualization”:“pie”,“event_annotation”:false}},{“id”:“00637e63-d728-4b3e-932b-7c8696b4855d”,“type”:“aggregation”,“filter”:null,“timerange”:{“type”:“relative”,“range”:300},“query”:null,“streams”:,“config”:{“row_pivots”:[{“field”:“timestamp”,“type”:“time”,“config”:{“interval”:{“type”:“auto”,“scaling”:null}}}],“column_pivots”:,“series”:[{“config”:{“name”:“Message count”},“function”:“count()”}],“sort”:,“visualization”:“line”,“visualization_config”:null,“formatting_settings”:null,“rollup”:true,“event_annotation”:false}},{“id”:“92d63811-e4dd-47db-bd3b-db03c8a9bd53”,“type”:“aggregation”,“filter”:null,“timerange”:{“type”:“relative”,“range”:300},“query”:null,“streams”:,“config”:{“row_pivots”:[{“field”:“source”,“type”:“values”,“config”:{“limit”:10}}],“column_pivots”:,“series”:[{“config”:{“name”:“Message count”},“function”:“count()”}],“sort”:[{“type”:“series”,“field”:“count()”,“direction”:“Descending”}],“visualization”:“pie”,“visualization_config”:null,“formatting_settings”:null,“rollup”:true,“event_annotation”:false}}],“widget_mapping”:{“021791fd-02f0-42f3-bcfc-8c5bc0815aea”:[“40f60f07-1298-495c-8354-e5db054f1601”]},“positions”:{“6c127c5d-be75-4157-b43f-ac0194ac0586”:{“col”:1,“row”:5,“height”:4,“width”:6},“92d63811-e4dd-47db-bd3b-db03c8a9bd53”:{“col”:7,“row”:5,“height”:4,“width”:6},“00637e63-d728-4b3e-932b-7c8696b4855d”:{“col”:1,“row”:1,“height”:4,“width”:“Infinity”}},“formatting”:{“highlighting”:},“display_mode_settings”:{“positions”:{}}}},“owner”:“admin”,“created_at”:“2019-11-22T10:54:50.950Z”}

They are all default, i have only changed http_bind_address

The response actually seems to valid. Could you please post the response of http://localhost:9000/api/views/search/[search-id] as well? Of course without the sensitive information.

{“id”:“5f0c5e7e971a65fd58749c96”,“queries”:[{“id”:“a1647eb6-a064-4fe6-b459-1e4267d3f659”,“timerange”:{“type”:“relative”,“range”:300},“query”:{“type”:“elasticsearch”,“query_string”:“”},“search_types”:[{“timerange”:{“type”:“relative”,“range”:28800},“query”:{“type”:“elasticsearch”,“query_string”:“”},“streams”:,“id”:“40f60f07-1298-495c-8354-e5db054f1601”,“name”:“chart”,“series”:[{“type”:“count”,“id”:“count()”,“field”:null}],“sort”:,“rollup”:true,“type”:“pivot”,“row_groups”:[{“type”:“values”,“field”:“dst_port”,“limit”:15}],“column_groups”:,“filter”:null}]}],“parameters”:,“requires”:{},“owner”:“admin”,“created_at”:“2020-07-13T13:15:43.159Z”}

Hi @bilkobe,

thanks again for providing the response. It seems to be valid as well. Just to be sure, do you also see no log in the console, when the chrome dev tools are already open when you access or reload the page?

Unfortunately i do not see. It is like the GIF in the first post.

Do you have more suggestions? I could not find any solution.

Does the dashboard user have permissions to the actual messages? If the user that has dashboard permissions does not have them, sometimes Graylog shows the banana picture, sometimes just stays empty, trying to load the data.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.