By “Kibana” I assume you mean opensearch dashboards? I am not doing anything specific in my docker setup but I will see if I can hunt down some parameters to tweak to give it more resources:
When I click to generate the report, I see:
Generating report
Preparing your file for download.
Please keep this dialog open while report is being generated.
This goes for about a minute, at which point there is an error on the screen that says:
Download error
There was an error generating this report.
I don’t see anything in the logs for either opensearch or opensearch dashboards, error-wise or otherwise.
As far as the admin user goes, I am not using the security plugin at this level it is essentially wide-open.
0ad3d7c2-3441-485e-9dfe-dbb22e84e576 is the dashboard ID of the dashboard I have selected, and works fine in the UI. I am running dashboards behind an NGINX reverse proxy, and everything does work fine in the UI otherwise.
My opensearch-dashboards.yml has these possibly relevant lines in it:
@tlacuache Did you have a chance to increase resources for the OpenSearch Dashboards container?
I’ve noticed that you’ve used commercial sample data. I had the same error in the OpenSearch Dashboards UI when creating a PDF report for all data using commercial sample data.
I’m not actually using commercial sample data, I just copy/pasted that screenshot from one of the two bug issues reported on GitHub (linked in my first comment) from other people who are also seeing this problem.
My Dashboards container has plenty of resources available to it. I’ll see if using a shorter time frame causes the issue. If I can still reproduce it after that I will package up an entirely self-contained reproduction environment and share it here.
The video shows one dashboard that works as the basis of an on-demand report generation, then another dashboard that fails. Both dashboards themselves load fast enough, and they’re both a short time frame (last 15 minutes). I’m not sure what the difference is, other than maybe the failing dashboard has more visualizations? Is there some way I can change timeout values for the reporting plugin to see if it’s something there? Or a way to turn on some internal debugging messages or something like that?
I had the idea of turning on my browser’s debug console and saw that I get a client-side error when the report fails, which I do not get when it succeeds:
Nope, I don’t think it’s an NGINX thing. I’ve discovered that it works just fine on Google Chrome (on both Linux and macOS, which are the operating systems I have access to), but fails with Firefox (also on both platforms).