All Apps and Add-ons

Generating Report using Report Capture

Melstrathdee
Path Finder

Hey Guys,

The default pdf export button doesn't export custom visualizations so I am attempting to use the Report Capture App.
I have installed the PhantomJS, CaptureJS, ImageMagicK.

I have renamed the exe for ImageMagicK as it has changed in a newer version.
alt text

When I select the dashboard to generate the pdf from I get the following log entries. Any ideas?

2019-04-17 11:35:07,839 DEBUG Incoming UI capture request from admin
2019-04-17 11:35:07,839 DEBUG Parsing REST parameters
2019-04-17 11:35:07,839 DEBUG Adding the following to the request options: c_url: /app/simple_xml_examples/simple_chart
2019-04-17 11:35:07,839 DEBUG Adding the following to the request options: c_user: admin
2019-04-17 11:35:07,839 DEBUG Adding the following to the request options: p_size: A4
2019-04-17 11:35:07,839 DEBUG Adding the following to the request options: f_type: pdf
2019-04-17 11:35:07,839 DEBUG Adding the following to the request options: d_method: download
2019-04-17 11:35:07,839 DEBUG Adding the following to the request options: f_name: Chart Element
2019-04-17 11:35:07,841 DEBUG Adding the following to the request options: c_wait: 10
2019-04-17 11:35:07,841 DEBUG Adding the following to the request options: p_orient: landscape
2019-04-17 11:35:07,841 DEBUG Adding the following to the request options: e_to: $form.tok_emails$
2019-04-17 11:35:07,841 DEBUG Validating parameters
2019-04-17 11:35:07,842 WARNING Email(s) specified for a download-request: $form.tok_emails$
2019-04-17 11:35:07,842 DEBUG End of validation steps
2019-04-17 11:35:07,842 DEBUG Parameters validated
2019-04-17 11:35:07,842 DEBUG Determining output screen-size
2019-04-17 11:35:07,842 DEBUG Retrieving user credentials
2019-04-17 11:35:07,852 DEBUG Generating output filenames
2019-04-17 11:35:07,854 DEBUG Creating temporary folder: C:\Program Files\Splunk\etc\apps\repcap\temp\1555464907.85-9144-admin
2019-04-17 11:35:07,854 DEBUG Request options begin
2019-04-17 11:35:07,854 DEBUG REST:      c_panel: None
2019-04-17 11:35:07,854 DEBUG REST:        c_url: http://127.0.0.1:8000/app/simple_xml_examples/simple_chart
2019-04-17 11:35:07,854 DEBUG REST:       c_user: admin
2019-04-17 11:35:07,854 DEBUG REST:       c_wait: 10
2019-04-17 11:35:07,855 DEBUG REST:     d_method: download
2019-04-17 11:35:07,855 DEBUG REST:         e_to: $form.tok_emails$
2019-04-17 11:35:07,855 DEBUG REST:       f_name: Chart Element
2019-04-17 11:35:07,855 DEBUG REST:       f_type: pdf
2019-04-17 11:35:07,855 DEBUG REST:     p_orient: landscape
2019-04-17 11:35:07,855 DEBUG REST:       p_size: A4
2019-04-17 11:35:07,855 DEBUG REST:      s_hidpi: True
2019-04-17 11:35:07,855 DEBUG REST:       s_zoom: 1.0
2019-04-17 11:35:07,855 DEBUG Task: capture_user: admin
2019-04-17 11:35:07,855 DEBUG Task: output_img: C:\Program Files\Splunk\etc\apps\repcap\temp\1555464907.85-9144-admin\Chart Element.png
2019-04-17 11:35:07,855 DEBUG Task: output_pdf: C:\Program Files\Splunk\etc\apps\repcap\temp\1555464907.85-9144-admin\Chart Element.pdf
2019-04-17 11:35:07,855 DEBUG Task: screen_height: 1240
2019-04-17 11:35:07,855 DEBUG Task: screen_width: 1754
2019-04-17 11:35:07,855 DEBUG Capturing page
2019-04-17 11:35:07,855 ERROR Exception capturing page: 'Path'
2019-04-17 11:35:07,855 ERROR Failed to create report-capture: Exception capturing page: 'Path'
0 Karma

MuS
SplunkTrust
SplunkTrust

I don't think anyone will answer on this one, like on my question https://answers.splunk.com/answers/739060/report-capture-app-for-splunk-exception-capturing.html 😕

But I since then made my own thing that works great, will post an answer about it soonish ....

cheers, MuS

carlosdesousa91
Engager

Boys,

did you find the solution?

0 Karma

adam_dixon95
Explorer

Hi,

I'm experiencing the same issue too.

I'd love to see what you've done for this! Would be most useful.

0 Karma

jadengoho
Builder

is there any update on this?

0 Karma
Register for .conf21 Now! Go Vegas or Go Virtual!

How will you .conf21? You decide! Go in-person in Las Vegas, 10/18-10/21, or go online with .conf21 Virtual, 10/19-10/20.