Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Security Solution]Share PDF report for dashboard not generating #177856

Closed
ghost opened this issue Feb 29, 2024 · 10 comments
Closed

[Security Solution]Share PDF report for dashboard not generating #177856

ghost opened this issue Feb 29, 2024 · 10 comments
Assignees
Labels
bug Fixes for quality problems that affect the customer experience impact:medium Addressing this issue will have a medium level of impact on the quality/strength of our product. QA:Validated Issue has been validated by QA Team: SecuritySolution Security Solutions Team working on SIEM, Endpoint, Timeline, Resolver, etc. Team:Threat Hunting:Explore Team:Threat Hunting Security Solution Threat Hunting Team

Comments

@ghost
Copy link

ghost commented Feb 29, 2024

Describe the bug:
Share PDF report for dashboard not generating

Kibana/Elasticsearch Stack version

Version: 8.13.0 BC2
Commit: c2fc8da128504d437897970d142efd4d06970c0b
Build: 71815

Browser and Browser OS Version:
Chrome for macOS
Version 122.0.6261.94 (Official Build) (x86_64)

Functional Area:
Rule Update

precondition

  • N/A

Steps to reproduce

  • Navigate to kibaan/app/security/dashboards
  • open any dashboard (not having managed dashboard) so that you can request for pdf
  • Click on Share this Dashboard
  • Click on PDF Report
  • wait for some time
  • Observe the failure in generating pdf report "Reporting Error(code: unknow_error"

Additional Result

  • N/A

Current Result

  • Share PDF report for dashboard not generating

Expected Result

  • No failure should be received for generating pdf report

Screen-Cast:

image

image

image

@ghost ghost added bug Fixes for quality problems that affect the customer experience triage_needed Team: SecuritySolution Security Solutions Team working on SIEM, Endpoint, Timeline, Resolver, etc. labels Feb 29, 2024
@elasticmachine
Copy link
Contributor

Pinging @elastic/security-solution (Team: SecuritySolution)

@ghost ghost added the impact:medium Addressing this issue will have a medium level of impact on the quality/strength of our product. label Feb 29, 2024
@MadameSheema MadameSheema added Team:Threat Hunting Security Solution Threat Hunting Team Team:Threat Hunting:Explore labels Feb 29, 2024
@elasticmachine
Copy link
Contributor

Pinging @elastic/security-threat-hunting (Team:Threat Hunting)

@elasticmachine
Copy link
Contributor

Pinging @elastic/security-threat-hunting-explore (Team:Threat Hunting:Explore)

@amolnater-qasource
Copy link

Secondary Review is Done.

@semd
Copy link
Contributor

semd commented Mar 13, 2024

@karanbirsingh-qasource I am not being able to reproduce this error.
In the 8.13 version I don't see the PDF report option:

8.13

And, in main, I can export PDF without problems:

main

Could you please re-check what version are you running, and if this error still happens there? It may have been some problem unrelated to the implementation.
Also, if it still happens in your environment, it would be great if you could also try the PDF generation for the same dashboard from the main Dashboards application instead, outside Security (at /app/dashboards), just to make sure the problem is in Security.

@semd semd assigned semd and unassigned asnehalb Mar 13, 2024
@angorayc
Copy link
Contributor

angorayc commented Mar 26, 2024

Hi @karanbirsingh-qasource , I tried it on 8.13 but wasn't able to reproduce it, could you please check it again. Thank you.

It was no problem to add the PDF to the queue:
https://github.com/elastic/kibana/assets/6295984/7791e910-0a43-42dc-8b9f-b84dcf0e0ff3

but it had problem when downloading: (The video is too big for github)
https://drive.google.com/file/d/1bXQz4hTmF7lrZS66oozyl7oeKAiUtwef/view?usp=drive_link
(Analytic > Dashboard please watch from 0:54)

(I'm asking the kibana-sharedux team: https://elastic.slack.com/archives/C047ZAEUDM3/p1711531459414409)

@ghost
Copy link
Author

ghost commented Mar 27, 2024

Hi @angorayc & @semd

here are latest observation of this issue tested on 8.13 BC7.

No error is showing on getting pdf report from security > Dashboard however in Stack Management > Report Section still generated report is in failed state.

image

@angorayc
Copy link
Contributor

After checking with the sharedux team, they've confirmed that pdf reports don't work with 1gb of ram https://www.elastic.co/guide/en/kibana/current/reporting-troubleshooting.html#reporting-troubleshooting-system-requirements

@karanbirsingh-qasource , could you please share how many GBs of RAM your kibana instance in cloud?

@Dosant
Copy link
Contributor

Dosant commented Mar 27, 2024

After checking with the sharedux team, they've confirmed that pdf reports don't work with 1gb of ram https://www.elastic.co/guide/en/kibana/current/reporting-troubleshooting.html#reporting-troubleshooting-system-requirements

@karanbirsingh-qasource , could you please share how many GBs of RAM your kibana instance in cloud?

We also should have had a clear warning/error in this case in the UI #130651 which doesn't seem to work now. This is something for @elastic/kibana-reporting-services to look into. I'll create a separate issue

@ghost
Copy link
Author

ghost commented Mar 27, 2024

thanks @angorayc for confirmation, yes after increasing the memory to 2 gb we are able to download the report.

image

image

@ghost ghost closed this as completed Mar 27, 2024
@ghost ghost added the QA:Validated Issue has been validated by QA label Mar 27, 2024
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Fixes for quality problems that affect the customer experience impact:medium Addressing this issue will have a medium level of impact on the quality/strength of our product. QA:Validated Issue has been validated by QA Team: SecuritySolution Security Solutions Team working on SIEM, Endpoint, Timeline, Resolver, etc. Team:Threat Hunting:Explore Team:Threat Hunting Security Solution Threat Hunting Team
Projects
None yet
Development

No branches or pull requests

7 participants