{"action":"closed","issue":{"url":"https://api.github.com/repos/ntop/ntopng/issues/2075","repository_url":"https://api.github.com/repos/ntop/ntopng","labels_url":"https://api.github.com/repos/ntop/ntopng/issues/2075/labels{/name}","comments_url":"https://api.github.com/repos/ntop/ntopng/issues/2075/comments","events_url":"https://api.github.com/repos/ntop/ntopng/issues/2075/events","html_url":"https://github.com/ntop/ntopng/issues/2075","id":365284070,"node_id":"MDU6SXNzdWUzNjUyODQwNzA=","number":2075,"title":"Grafana module '/lua/modules/grafana/query.lua' returns internal error","user":{"login":"boisgada","id":7538766,"node_id":"MDQ6VXNlcjc1Mzg3NjY=","avatar_url":"https://avatars3.githubusercontent.com/u/7538766?v=4","gravatar_id":"","url":"https://api.github.com/users/boisgada","html_url":"https://github.com/boisgada","followers_url":"https://api.github.com/users/boisgada/followers","following_url":"https://api.github.com/users/boisgada/following{/other_user}","gists_url":"https://api.github.com/users/boisgada/gists{/gist_id}","starred_url":"https://api.github.com/users/boisgada/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/boisgada/subscriptions","organizations_url":"https://api.github.com/users/boisgada/orgs","repos_url":"https://api.github.com/users/boisgada/repos","events_url":"https://api.github.com/users/boisgada/events{/privacy}","received_events_url":"https://api.github.com/users/boisgada/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2018-10-01T01:47:14Z","updated_at":"2018-10-02T14:30:03Z","closed_at":"2018-10-02T14:30:03Z","author_association":"NONE","body":"After updating, the Grafana query module returns the following error:\r\n```\r\nHTTP/1.1 500 Internal server error\r\n\r\nContent-Type: text/html\r\n\r\nConnection: close\r\n\r\n\r\n\r\n<html><head><title>ntop</title></head><body><img src=/img/warning.png> Script &quot;/usr/share/ntopng/scripts/lua/modules/grafana/query.lua&quot; returned an error:\r\n<p><H3>/usr/share/ntopng/scripts/lua/modules/grafana/query.lua:23: attempt to index field 'range' (a nil value)</H3></body></html>\r\n```\r\n\r\n'/lua/modules/grafana/search.lua' still works properly.\r\n\r\nv.3.7.181001    [Enterprise/Professional build]\r\nGIT rev:        dev:889729495e9133dbba2ef795ece476c50969ee10:20181001\r\nPro rev:        r1943\r\nBuilt on:       Ubuntu 18.04.1 LTS\r\nSystem Id:      [removed]\r\nPlatform:       x86_64\r\nEdition:        Enterprise\r\nLicense Type:   Permanent\r\nMaintenance:    Until Thu Jul 25 07:42:40 2019 [297 days left]"}}
{"actor":{"display_login":"simonemainardi"}}