Hi ,
While clicking on Overview Metrics or Analytics(similar error) page we get the following error logs:
[2020-10-06T07:01:44.151+00:00][25][2298][action_controller][INFO]: [b5d5890cc0a1bcabb2e2a2fec1927002] Processing by LocoMoco::EnginesController#overview_metrics as JSON
[2020-10-06T07:01:44.151+00:00][25][2298][action_controller][INFO]: [b5d5890cc0a1bcabb2e2a2fec1927002] Parameters: {"host"=>"dev-dwt-elastic-app-search.cloud.corporate.ge.com", "protocol"=>"http", "slug"=>"search-engine}
[2020-10-06T07:01:44.245+00:00][25][2298][action_controller][INFO]: [b5d5890cc0a1bcabb2e2a2fec1927002] Completed 500 Internal Server Error in 93ms
[2020-10-06T07:01:44.249+00:00][25][2298][app-server][ERROR]: [b5d5890cc0a1bcabb2e2a2fec1927002] /tmp/jetty-0.0.0.0-80-app-search.war-_-any-1161062368294022305.dir/webapp/WEB-INF/lib/analytics_query_service.class:307:in `make_request': Logs unavailable. Caused by MultiJson::ParseError: unexpected token at '<html>
(SwiftypeExceptions::LogsUnavailableError)
<head><title>401 Authorization Required</title></head>
<body>
<center><h1>401 Authorization Required</h1></center>
<hr><center>openresty/1.15.8.1</center>
</body>
</html>
While clicking on Api logs page we get the following error logs:
[2020-10-06T07:16:02.204+00:00][25][2296][action_controller][INFO]: [c278231f171d6c74a7f8d811f165829f] Processing by LocoMoco::ApiLogsController#details as JSON
[2020-10-06T07:16:02.204+00:00][25][2296][action_controller][INFO]: [c278231f171d6c74a7f8d811f165829f] Parameters: {"host"=>"dev-dwt-elastic-app-search.cloud.corporate.ge.com", "protocol"=>"http", "engine_slug"=>"search-engine"}
[2020-10-06T07:16:02.308+00:00][25][2296][action_controller][INFO]: [c278231f171d6c74a7f8d811f165829f] Completed 200 OK in 103ms (Views: 0.4ms)
[2020-10-06T07:16:02.675+00:00][25][2294][app-server][INFO]: [5d0234ba59d1788ae43854e37b243bf3] Started GET "/as/engines/search-engine/api_logs/collection?filters%5Bdate%5D%5Bfrom%5D=2020-10-05T07%3A01%3A32.540Z&filters%5Bdate%5D%5Bto%5D=2020-10-06T07%3A01%3A32.540Z&sort_direction=desc&page%5Bcurrent%5D=1" for 172.16.8.0 at 2020-10-06 07:16:02 +0000
[2020-10-06T07:16:02.676+00:00][25][2314][app-server][INFO]: [c664bfc896bbb9761c4346340f3cc223] Started GET "/as/engines/search-engine/api_logs/collection?filters%5Bdate%5D%5Bfrom%5D=2020-10-05T07%3A16%3A02.484Z&filters%5Bdate%5D%5Bto%5D=2020-10-06T07%3A16%3A02.484Z&sort_direction=desc&page%5Bcurrent%5D=1" for 172.16.11.0 at 2020-10-06 07:16:02 +0000
[2020-10-06T07:16:02.682+00:00][25][2294][action_controller][INFO]: [5d0234ba59d1788ae43854e37b243bf3] Processing by LocoMoco::ApiLogsController#index as JSON
[2020-10-06T07:16:02.682+00:00][25][2294][action_controller][INFO]: [5d0234ba59d1788ae43854e37b243bf3] Parameters: {"filters"=>{"date"=>{"from"=>"2020-10-05T07:01:32.540Z", "to"=>"2020-10-06T07:01:32.540Z"}}, "sort_direction"=>"desc", "page"=>{"current"=>"1"}, "host"=>"dev-dwt-elastic-app-search.cloud.corporate.ge.com", "protocol"=>"http", "engine_slug"=>"search-engine"}
[2020-10-06T07:16:02.682+00:00][25][2314][action_controller][INFO]: [c664bfc896bbb9761c4346340f3cc223] Processing by LocoMoco::ApiLogsController#index as JSON
[2020-10-06T07:16:02.683+00:00][25][2314][action_controller][INFO]: [c664bfc896bbb9761c4346340f3cc223] Parameters: {"filters"=>{"date"=>{"from"=>"2020-10-05T07:16:02.484Z", "to"=>"2020-10-06T07:16:02.484Z"}}, "sort_direction"=>"desc", "page"=>{"current"=>"1"}, "host"=>"dev-dwt-elastic-app-search.cloud.corporate.ge.com", "protocol"=>"http", "engine_slug"=>"search-engine"}
**[2020-10-06T07:16:02.783+00:00][25][2314][app-server][ERROR]: [c664bfc896bbb9761c4346340f3cc223] ["Logs are currently unavailable; please try again in a few minutes"]**
**[2020-10-06T07:16:02.784+00:00][25][2294][app-server][ERROR]: [5d0234ba59d1788ae43854e37b243bf3] ["Logs are currently unavailable; please try again in a few minutes"]**
[2020-10-06T07:16:02.795+00:00][25][2314][action_controller][INFO]: [c664bfc896bbb9761c4346340f3cc223] Completed 503 Service Unavailable in 112ms (Views: 0.6ms)
[2020-10-06T07:16:02.797+00:00][25][2294][action_controller][INFO]: [5d0234ba59d1788ae43854e37b243bf3] Completed 503 Service Unavailable in 114ms (Views: 0.3ms)
Please let me know if you know what is the issue or solution to this problem