Kibana 5.4.1 - Xpack reporting fail

Hello,

I've installed xpack and I'm trying to use "reporting" plugin to generate pdf of my dashboard.

But I'm facing an issue with it, PDF aren't generated and I've the error "Max attempts reached (3)"

Here's the kibana logs:

    _{"type":"log","@timestamp":"2018-01-12T13:52:14Z","tags":["reporting","esqueue","worker","debug"],"pid":1884,"message":"jcbxggyx01gc2ceadd6txmh8 - querying for outstanding jobs"}_
_    {"type":"log","@timestamp":"2018-01-12T13:52:14Z","tags":["reporting","esqueue","worker","debug"],"pid":1884,"message":"jcbxggyx01gc2ceadd6txmh8 - 1 outstanding jobs returned"}_
_    {"type":"log","@timestamp":"2018-01-12T13:52:14Z","tags":["reporting","esqueue","worker","debug"],"pid":1884,"message":"jcbxggyx01gc2ceadd6txmh8 - Claimed job jcbzdu4k01gc2ceaddccowg4"}_
_    {"type":"log","@timestamp":"2018-01-12T13:52:14Z","tags":["reporting","esqueue","worker","debug"],"pid":1884,"message":"jcbxggyx01gc2ceadd6txmh8 - Starting job jcbzdu4k01gc2ceaddccowg4"}_
_    {"type":"log","@timestamp":"2018-01-12T13:52:14Z","tags":["reporting","worker","debug"],"pid":1884,"message":"Converting 1 saved object(s) to printable_pdf"}_
_    {"type":"log","@timestamp":"2018-01-12T13:52:14Z","tags":["reporting","debug"],"pid":1884,"message":"fetching screenshot of http://127.0.0.1:5601/elk/app/kibana#/dashboard/532ec1e0-b56f-11e7-b536-cd42aa2c2e8d?_g=(time:(from:'2018-01-11T23:00:00.000Z',mode:absolute,to:'2018-01-12T22:59:59.999Z'))&_a=(filters:!(),options:(darkTheme:!t),panels:!((col:1,id:ae6f6c50-b56d-11e7-b536-cd42aa2c2e8d,panelIndex:1,row:4,size_x:6,size_y:6,type:visualization),(col:1,id:faf2fa60-b56d-11e7-b536-cd42aa2c2e8d,panelIndex:3,row:13,size_x:12,size_y:4,type:visualization),(col:7,id:'2c451920-b570-11e7-b536-cd42aa2c2e8d',panelIndex:5,row:4,size_x:6,size_y:6,type:visualization),(col:1,id:'67287a00-b570-11e7-b536-cd42aa2c2e8d',panelIndex:6,row:1,size_x:6,size_y:3,type:visualization),(col:1,id:'8215da70-b579-11e7-b536-cd42aa2c2e8d',panelIndex:8,row:24,size_x:12,size_y:4,type:visualization),(col:7,id:'30b12c60-b59d-11e7-8570-2b715b035855',panelIndex:9,row:1,size_x:6,size_y:3,type:visualization),(col:1,id:'2b6200c0-b59f-11e7-8a8a-ad8fe5a03790',panelIndex:11,row:28,size_x:12,size_y:5,type:visualization),(col:1,id:'53954240-b898-11e7-baa7-8da97676e02e',panelIndex:12,row:17,size_x:12,size_y:4,type:visualization),(col:1,id:'8c352790-d059-11e7-8dfa-b7bba29d799d',panelIndex:13,row:21,size_x:12,size_y:3,type:visualization),(col:1,id:'0011fcb0-d686-11e7-ade6-af26430bccd2',panelIndex:14,row:33,size_x:12,size_y:3,type:visualization),(col:1,id:'9b550360-d9d9-11e7-a10c-17ca5f01eccb',panelIndex:15,row:10,size_x:12,size_y:3,type:visualization)),query:(query_string:(analyze_wildcard:!t,query:'*')),timeRestore:!t,title:Dash-Eureka,uiState:(P-14:(vis:(params:(sort:(columnIndex:!n,direction:!n))))),viewMode:view)"}_
_    {"type":"response","@timestamp":"2018-01-12T13:52:16Z","tags":[],"pid":1884,"method":"get","statusCode":404,"req":{"url":"/elk/app/kibana","method":"get","headers":{"accept":"application/json, text/plain, */*","accept-language":"en-US,en;q=0.8,fr-FR;q=0.5,fr;q=0.3","cache-control":"no-cache","connection":"Keep-Alive","dnt":"1","kbn-version":"5.4.1","referer":"http://freppau-aqtt156/elk/app/kibana","user-agent":"Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.3; WOW64; Trident/7.0; .NET4.0E; .NET4.0C; VISION)","x-forwarded-for":"10.58.109.59","x-forwarded-host":"freppau-aqtt156","x-forwarded-server":"localhost","accept-encoding":"gzip, deflate","host":"127.0.0.1:5601"},"remoteAddress":"127.0.0.1","userAgent":"127.0.0.1","referer":"http://freppau-aqtt156/elk/app/kibana"},"res":{"statusCode":404,"responseTime":8,"contentLength":9},"message":"GET /elk/app/kibana 404 8ms - 9.0B"}_

I think the problem is linked to the 404 status, but I can't find a solution.

Is there any advice or tips about that ?

Kind regards,
Nicolas

Hey @Slop, are you running Kibana behind a reverse-proxy? If so, would you mind pasting an example of a URL that you use to access Kibana and I can tell you the appropriate xpack.reporting.kibanaServer.* settings to use.

Hello @Brandon_Kobel,

Here's the url I'm using to access Kiabana : http://freppau-aqtt156/elk/app/kibana#/discover?_g=()

It's install on a local VM without internet.

Her's my kibana.yml config :

xpack.reporting.kibanaServer.port: 5601
xpack.reporting.kibanaServer.protocol: http
xpack.reporting.kibanaServer.hostname: 127.0.0.1

logging.events.log: [ 'reporting' ] 
xpack.monitoring.elasticsearch.url: "http://localhost:9200"
xpack.monitoring.elasticsearch.username: "****"
xpack.monitoring.elasticsearch.password: "****"

You'll want to use the following settings:

xpack.reporting.kibanaServer.port: 80
xpack.reporting.kibanaServer.protocol: http
xpack.reporting.kibanaServer.hostname: freppau-aqtt156

The xpack.reporting.kibanaServer settings when used behind a reverse-proxy refer to the reverse proxy server/url.

I've updated the kibana.yml with your settings, and here's the logs now :

{"type":"log","@timestamp":"2018-01-12T14:43:41Z","tags":["reporting","debug","phantomConsole"],"pid":4968,"message":"complete in 135.63ms"}
{"type":"response","@timestamp":"2018-01-12T14:43:41Z","tags":[],"pid":4968,"method":"get","statusCode":200,"req":{"url":"/api/reporting/jobs/list?page=0&all=true","method":"get","headers":{"host":"127.0.0.1:5601","accept":"application/json, text/plain, */*","kbn-system-api":"true","kbn-version":"5.4.1","user-agent":"Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/63.0.3239.132 Safari/537.36","referer":"http://freppau-aqtt156/elk/app/kibana","accept-encoding":"gzip, deflate","accept-language":"fr-FR,fr;q=0.9,en-US;q=0.8,en;q=0.7","x-forwarded-for":"10.57.67.219","x-forwarded-host":"freppau-aqtt156","x-forwarded-server":"localhost","connection":"Keep-Alive"},"remoteAddress":"127.0.0.1","userAgent":"127.0.0.1","referer":"http://freppau-aqtt156/elk/app/kibana"},"res":{"statusCode":200,"responseTime":18,"contentLength":9},"message":"GET /api/reporting/jobs/list?page=0&all=true 200 18ms - 9.0B"}
{"type":"response","@timestamp":"2018-01-12T14:43:41Z","tags":[],"pid":4968,"method":"get","statusCode":200,"req":{"url":"/api/reporting/jobs/count?all=true","method":"get","headers":{"host":"127.0.0.1:5601","accept":"application/json, text/plain, */*","kbn-system-api":"true","kbn-version":"5.4.1","user-agent":"Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/63.0.3239.132 Safari/537.36","referer":"http://freppau-aqtt156/elk/app/kibana","accept-encoding":"gzip, deflate","accept-language":"fr-FR,fr;q=0.9,en-US;q=0.8,en;q=0.7","x-forwarded-for":"10.57.67.219","x-forwarded-host":"freppau-aqtt156","x-forwarded-server":"localhost","connection":"Keep-Alive"},"remoteAddress":"127.0.0.1","userAgent":"127.0.0.1","referer":"http://freppau-aqtt156/elk/app/kibana"},"res":{"statusCode":200,"responseTime":12,"contentLength":9},"message":"GET /api/reporting/jobs/count?all=true 200 12ms - 9.0B"}
{"type":"log","@timestamp":"2018-01-12T14:43:42Z","tags":["reporting","debug","phantomConsole"],"pid":4968,"message":"complete in 301.94ms"}
{"type":"response","@timestamp":"2018-01-12T14:43:41Z","tags":[],"pid":4968,"method":"post","statusCode":200,"req":{"url":"/elasticsearch/_msearch","method":"post","headers":{"host":"127.0.0.1:5601","content-type":"application/x-ndjson","accept":"application/json, text/plain, */*","accept-language":"fr-FR,fr;q=0.9,en-US;q=0.8,en;q=0.7","kbn-version":"5.4.1","origin":"http://freppau-aqtt156","referer":"http://freppau-aqtt156/elk/app/kibana","user-agent":"Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/63.0.3239.132 Safari/537.36","x-forwarded-for":"10.57.67.219, 10.58.109.59","x-forwarded-host":"freppau-aqtt156, freppau-aqtt156","x-forwarded-server":"localhost, localhost","accept-encoding":"gzip, deflate","connection":"Keep-Alive","content-length":"9206"},"remoteAddress":"127.0.0.1","userAgent":"127.0.0.1","referer":"http://freppau-aqtt156/elk/app/kibana"},"res":{"statusCode":200,"responseTime":991,"contentLength":9},"message":"POST /elasticsearch/_msearch 200 991ms - 9.0B"}
{"type":"log","@timestamp":"2018-01-12T14:43:43Z","tags":["reporting","debug","phantomConsole"],"pid":4968,"message":"complete in 14.49ms"}
{"type":"log","@timestamp":"2018-01-12T14:43:43Z","tags":["reporting","debug","phantomConsole"],"pid":4968,"message":"complete in 2.86ms"}
{"type":"log","@timestamp":"2018-01-12T14:43:43Z","tags":["reporting","debug","phantomConsole"],"pid":4968,"message":"complete in 24.53ms"}
{"type":"log","@timestamp":"2018-01-12T14:43:43Z","tags":["reporting","debug","phantomConsole"],"pid":4968,"message":"complete in 2.51ms"}
{"type":"log","@timestamp":"2018-01-12T14:43:43Z","tags":["reporting","debug","phantomConsole"],"pid":4968,"message":"complete in 8.37ms"}
{"type":"log","@timestamp":"2018-01-12T14:43:43Z","tags":["reporting","debug","phantomConsole"],"pid":4968,"message":"complete in 0.61ms"}
{"type":"log","@timestamp":"2018-01-12T14:43:43Z","tags":["reporting","debug","phantomConsole"],"pid":4968,"message":"complete in 0.44ms"}
{"type":"log","@timestamp":"2018-01-12T14:43:43Z","tags":["reporting","debug","phantomConsole"],"pid":4968,"message":"complete in 2.41ms"}
{"type":"log","@timestamp":"2018-01-12T14:43:43Z","tags":["reporting","esqueue","worker","debug"],"pid":4968,"message":"jcc13ib803u02ceadd21jg97 - querying for outstanding jobs"}
{"type":"log","@timestamp":"2018-01-12T14:43:43Z","tags":["reporting","esqueue","worker","debug"],"pid":4968,"message":"jcc13ib803u02ceadd21jg97 - 1 outstanding jobs returned"}
{"type":"log","@timestamp":"2018-01-12T14:43:43Z","tags":["reporting","esqueue","worker","debug"],"pid":4968,"message":"jcc13ib803u02ceadd21jg97 - Failing job jcc17c2y03u02ceaddb5afan"}
{"type":"log","@timestamp":"2018-01-12T14:43:43Z","tags":["reporting","esqueue","worker","debug"],"pid":4968,"message":"jcc13ib803u02ceadd21jg97 - All 1 jobs already claimed"}

@Slop those messages look like it's getting past where we used to fail, but it doesn't look like we have the full logs, would you mind trying again and attaching the full kibana logs?

Also, you mentioned that you're running Kibana on a VM without internet access, are you using a TileMap in the Report you're trying to create?

Part 1 of logs :

{"type":"log","@timestamp":"2018-01-12T15:10:55Z","tags":["reporting","esqueue","job","debug"],"pid":6220,"message":"jcc28hk804ss2ceadd0y8p5s - Job created in index .reporting-2018.01.07"}
{"type":"log","@timestamp":"2018-01-12T15:10:55Z","tags":["reporting","esqueue","job","debug"],"pid":6220,"message":"jcc28hk804ss2ceadd0y8p5s - Job index refreshed .reporting-2018.01.07"}
{"type":"response","@timestamp":"2018-01-12T15:10:55Z","tags":[],"pid":6220,"method":"post","statusCode":200,"req":{"url":"/api/reporting/generate/dashboard/532ec1e0-b56f-11e7-b536-cd42aa2c2e8d?_g=(time%3A(from%3A'2018-01-11T23%3A00%3A00.000Z'%2Cmode%3Aabsolute%2Cto%3A'2018-01-12T22%3A59%3A59.999Z'))&_a=(filters%3A!()%2Coptions%3A(darkTheme%3A!t)%2Cpanels%3A!((col%3A1%2Cid%3Aae6f6c50-b56d-11e7-b536-cd42aa2c2e8d%2CpanelIndex%3A1%2Crow%3A4%2Csize_x%3A6%2Csize_y%3A6%2Ctype%3Avisualization)%2C(col%3A1%2Cid%3Afaf2fa60-b56d-11e7-b536-cd42aa2c2e8d%2CpanelIndex%3A3%2Crow%3A13%2Csize_x%3A12%2Csize_y%3A4%2Ctype%3Avisualization)%2C(col%3A7%2Cid%3A'2c451920-b570-11e7-b536-cd42aa2c2e8d'%2CpanelIndex%3A5%2Crow%3A4%2Csize_x%3A6%2Csize_y%3A6%2Ctype%3Avisualization)%2C(col%3A1%2Cid%3A'67287a00-b570-11e7-b536-cd42aa2c2e8d'%2CpanelIndex%3A6%2Crow%3A1%2Csize_x%3A6%2Csize_y%3A3%2Ctype%3Avisualization)%2C(col%3A1%2Cid%3A'8215da70-b579-11e7-b536-cd42aa2c2e8d'%2CpanelIndex%3A8%2Crow%3A24%2Csize_x%3A12%2Csize_y%3A4%2Ctype%3Avisualization)%2C(col%3A7%2Cid%3A'30b12c60-b59d-11e7-8570-2b715b035855'%2CpanelIndex%3A9%2Crow%3A1%2Csize_x%3A6%2Csize_y%3A3%2Ctype%3Avisualization)%2C(col%3A1%2Cid%3A'2b6200c0-b59f-11e7-8a8a-ad8fe5a03790'%2CpanelIndex%3A11%2Crow%3A28%2Csize_x%3A12%2Csize_y%3A5%2Ctype%3Avisualization)%2C(col%3A1%2Cid%3A'53954240-b898-11e7-baa7-8da97676e02e'%2CpanelIndex%3A12%2Crow%3A17%2Csize_x%3A12%2Csize_y%3A4%2Ctype%3Avisualization)%2C(col%3A1%2Cid%3A'8c352790-d059-11e7-8dfa-b7bba29d799d'%2CpanelIndex%3A13%2Crow%3A21%2Csize_x%3A12%2Csize_y%3A3%2Ctype%3Avisualization)%2C(col%3A1%2Cid%3A'0011fcb0-d686-11e7-ade6-af26430bccd2'%2CpanelIndex%3A14%2Crow%3A33%2Csize_x%3A12%2Csize_y%3A3%2Ctype%3Avisualization)%2C(col%3A1%2Cid%3A'9b550360-d9d9-11e7-a10c-17ca5f01eccb'%2CpanelIndex%3A15%2Crow%3A10%2Csize_x%3A12%2Csize_y%3A3%2Ctype%3Avisualization))%2Cquery%3A(query_string%3A(analyze_wildcard%3A!t%2Cquery%3A'*'))%2CtimeRestore%3A!t%2Ctitle%3ADash-Eureka%2CuiState%3A(P-14%3A(vis%3A(params%3A(sort%3A(columnIndex%3A!n%2Cdirection%3A!n)))))%2CviewMode%3Aview)","method":"post","headers":{"host":"127.0.0.1:5601","accept":"application/json, text/plain, */*","origin":"http://freppau-aqtt156","kbn-version":"5.4.1","user-agent":"Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/63.0.3239.132 Safari/537.36","content-type":"application/json;charset=UTF-8","referer":"http://freppau-aqtt156/elk/app/kibana","accept-encoding":"gzip, deflate","accept-language":"fr-FR,fr;q=0.9,en-US;q=0.8,en;q=0.7","x-forwarded-for":"10.57.67.219","x-forwarded-host":"freppau-aqtt156","x-forwarded-server":"localhost","connection":"Keep-Alive","content-length":"2"},"remoteAddress":"127.0.0.1","userAgent":"127.0.0.1","referer":"http://freppau-aqtt156/elk/app/kibana"},"res":{"statusCode":200,"responseTime":256,"contentLength":9},"message":"POST /api/reporting/generate/dashboard/532ec1e0-b56f-11e7-b536-cd42aa2c2e8d?_g=(time%3A(from%3A'2018-01-11T23%3A00%3A00.000Z'%2Cmode%3Aabsolute%2Cto%3A'2018-01-12T22%3A59%3A59.999Z'))&_a=(filters%3A!()%2Coptions%3A(darkTheme%3A!t)%2Cpanels%3A!((col%3A1%2Cid%3Aae6f6c50-b56d-11e7-b536-cd42aa2c2e8d%2CpanelIndex%3A1%2Crow%3A4%2Csize_x%3A6%2Csize_y%3A6%2Ctype%3Avisualization)%2C(col%3A1%2Cid%3Afaf2fa60-b56d-11e7-b536-cd42aa2c2e8d%2CpanelIndex%3A3%2Crow%3A13%2Csize_x%3A12%2Csize_y%3A4%2Ctype%3Avisualization)%2C(col%3A7%2Cid%3A'2c451920-b570-11e7-b536-cd42aa2c2e8d'%2CpanelIndex%3A5%2Crow%3A4%2Csize_x%3A6%2Csize_y%3A6%2Ctype%3Avisualization)%2C(col%3A1%2Cid%3A'67287a00-b570-11e7-b536-cd42aa2c2e8d'%2CpanelIndex%3A6%2Crow%3A1%2Csize_x%3A6%2Csize_y%3A3%2Ctype%3Avisualization)%2C(col%3A1%2Cid%3A'8215da70-b579-11e7-b536-cd42aa2c2e8d'%2CpanelIndex%3A8%2Crow%3A24%2Csize_x%3A12%2Csize_y%3A4%2Ctype%3Avisualization)%2C(col%3A7%2Cid%3A'30b12c60-b59d-11e7-8570-2b715b035855'%2CpanelIndex%3A9%2Crow%3A1%2Csize_x%3A6%2Csize_y%3A3%2Ctype%3Avisualization)%2C(col%3A1%2Cid%3A'2b6200c0-b59f-11e7-8a8a-ad8fe5a03790'%2CpanelIndex%3A11%2Crow%3A28%2Csize_x%3A12%2Csize_y%3A5%2Ctype%3Avisualization)%2C(col%3A1%2Cid%3A'53954240-b898-11e7-baa7-8da97676e02e'%2CpanelIndex%3A12%2Crow%3A17%2Csize_x%3A12%2Csize_y%3A4%2Ctype%3Avisualization)%2C(col%3A1%2Cid%3A'8c352790-d059-11e7-8dfa-b7bba29d799d'%2CpanelIndex%3A13%2Crow%3A21%2Csize_x%3A12%2Csize_y%3A3%2Ctype%3Avisualization)%2C(col%3A1%2Cid%3A'0011fcb0-d686-11e7-ade6-af26430bccd2'%2CpanelIndex%3A14%2Crow%3A33%2Csize_x%3A12%2Csize_y%3A3%2Ctype%3Avisualization)%2C(col%3A1%2Cid%3A'9b550360-d9d9-11e7-a10c-17ca5f01eccb'%2CpanelIndex%3A15%2Crow%3A10%2Csize_x%3A12%2Csize_y%3A3%2Ctype%3Avisualization))%2Cquery%3A(query_string%3A(analyze_wildcard%3A!t%2Cquery%3A'*'))%2CtimeRestore%3A!t%2Ctitle%3ADash-Eureka%2CuiState%3A(P-14%3A(vis%3A(params%3A(sort%3A(columnIndex%3A!n%2Cdirection%3A!n)))))%2CviewMode%3Aview) 200 256ms - 9.0B"}
{"type":"log","@timestamp":"2018-01-12T15:10:58Z","tags":["reporting","esqueue","worker","debug"],"pid":6220,"message":"jcc24pch04ss2ceadd8mt73z - querying for outstanding jobs"}
{"type":"log","@timestamp":"2018-01-12T15:10:58Z","tags":["reporting","esqueue","worker","debug"],"pid":6220,"message":"jcc24pch04ss2ceadd8mt73z - 1 outstanding jobs returned"}
{"type":"log","@timestamp":"2018-01-12T15:10:58Z","tags":["reporting","esqueue","worker","debug"],"pid":6220,"message":"jcc24pch04ss2ceadd8mt73z - Claimed job jcc28hk804ss2ceadd0y8p5s"}
{"type":"log","@timestamp":"2018-01-12T15:10:58Z","tags":["reporting","esqueue","worker","debug"],"pid":6220,"message":"jcc24pch04ss2ceadd8mt73z - Starting job jcc28hk804ss2ceadd0y8p5s"}
{"type":"log","@timestamp":"2018-01-12T15:10:58Z","tags":["reporting","worker","debug"],"pid":6220,"message":"Converting 1 saved object(s) to printable_pdf"}
{"type":"log","@timestamp":"2018-01-12T15:10:58Z","tags":["reporting","debug"],"pid":6220,"message":"fetching screenshot of

part 2 :

http://freppau-aqtt156:80/elk/app/kibana#/dashboard/532ec1e0-b56f-11e7-b536-cd42aa2c2e8d?_g=(time:(from:'2018-01-11T23:00:00.000Z',mode:absolute,to:'2018-01-12T22:59:59.999Z'))&_a=(filters:!(),options:(darkTheme:!t),panels:!((col:1,id:ae6f6c50-b56d-11e7-b536-cd42aa2c2e8d,panelIndex:1,row:4,size_x:6,size_y:6,type:visualization),(col:1,id:faf2fa60-b56d-11e7-b536-cd42aa2c2e8d,panelIndex:3,row:13,size_x:12,size_y:4,type:visualization),(col:7,id:'2c451920-b570-11e7-b536-cd42aa2c2e8d',panelIndex:5,row:4,size_x:6,size_y:6,type:visualization),(col:1,id:'67287a00-b570-11e7-b536-cd42aa2c2e8d',panelIndex:6,row:1,size_x:6,size_y:3,type:visualization),(col:1,id:'8215da70-b579-11e7-b536-cd42aa2c2e8d',panelIndex:8,row:24,size_x:12,size_y:4,type:visualization),(col:7,id:'30b12c60-b59d-11e7-8570-2b715b035855',panelIndex:9,row:1,size_x:6,size_y:3,type:visualization),(col:1,id:'2b6200c0-b59f-11e7-8a8a-ad8fe5a03790',panelIndex:11,row:28,size_x:12,size_y:5,type:visualization),(col:1,id:'53954240-b898-11e7-baa7-8da97676e02e',panelIndex:12,row:17,size_x:12,size_y:4,type:visualization),(col:1,id:'8c352790-d059-11e7-8dfa-b7bba29d799d',panelIndex:13,row:21,size_x:12,size_y:3,type:visualization),(col:1,id:'0011fcb0-d686-11e7-ade6-af26430bccd2',panelIndex:14,row:33,size_x:12,size_y:3,type:visualization),(col:1,id:'9b550360-d9d9-11e7-a10c-17ca5f01eccb',panelIndex:15,row:10,size_x:12,size_y:3,type:visualization)),query:(query_string:(analyze_wildcard:!t,query:'*')),timeRestore:!t,title:Dash-Eureka,uiState:(P-14:(vis:(params:(sort:(columnIndex:!n,direction:!n))))),viewMode:view)"}
{"type":"response","@timestamp":"2018-01-12T15:10:58Z","tags":[],"pid":6220,"method":"get","statusCode":200,"req":{"url":"/api/reporting/jobs/list_completed_since?since=2018-01-12T14%3A43%3A43.857Z","method":"get","headers":{"host":"127.0.0.1:5601","accept":"application/json, text/plain, */*","kbn-system-api":"true","kbn-version":"5.4.1","user-agent":"Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/63.0.3239.132 Safari/537.36","referer":"http://freppau-aqtt156/elk/app/kibana","accept-encoding":"gzip, deflate","accept-language":"fr-FR,fr;q=0.9,en-US;q=0.8,en;q=0.7","x-forwarded-for":"10.57.67.219","x-forwarded-host":"freppau-aqtt156","x-forwarded-server":"localhost","connection":"Keep-Alive"},"remoteAddress":"127.0.0.1","userAgent":"127.0.0.1","referer":"http://freppau-aqtt156/elk/app/kibana"},"res":{"statusCode":200,"responseTime":31,"contentLength":9},"message":"GET /api/reporting/jobs/list_completed_since?since=2018-01-12T14%3A43%3A43.857Z 200 31ms - 9.0B"}
{"type":"response","@timestamp":"2018-01-12T15:11:00Z","tags":[],"pid":6220,"method":"get","statusCode":200,"req":{"url":"/app/kibana","method":"get","headers":{"host":"127.0.0.1:5601","accept":"application/json, text/plain, */*","accept-language":"fr-FR,fr;q=0.9,en-US;q=0.8,en;q=0.7","kbn-version":"5.4.1","origin":"http://freppau-aqtt156","referer":"http://freppau-aqtt156/elk/app/kibana","user-agent":"Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/63.0.3239.132 Safari/537.36","x-forwarded-for":"10.57.67.219, 10.58.109.59","x-forwarded-host":"freppau-aqtt156, freppau-aqtt156","x-forwarded-server":"localhost, localhost","accept-encoding":"gzip, deflate","connection":"Keep-Alive"},"remoteAddress":"127.0.0.1","userAgent":"127.0.0.1","referer":"http://freppau-aqtt156/elk/app/kibana"},"res":{"statusCode":200,"responseTime":59,"contentLength":9},"message":"GET /app/kibana 200 59ms - 9.0B"}
{"type":"response","@timestamp":"2018-01-12T15:11:00Z","tags":[],"pid":6220,"method":"get","statusCode":200,"req":{"url":"/bundles/commons.style.css?v=15104","method":"get","headers":{"host":"127.0.0.1:5601","accept":"application/json, text/plain, */*","accept-language":"fr-FR,fr;q=0.9,en-US;q=0.8,en;q=0.7","kbn-version":"5.4.1","origin":"http://freppau-aqtt156","referer":"http://freppau-aqtt156/elk/app/kibana","user-agent":"Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/63.0.3239.132 Safari/537.36","x-forwarded-for":"10.57.67.219, 10.58.109.59","x-forwarded-host":"freppau-aqtt156, freppau-aqtt156","x-forwarded-server":"localhost, localhost","accept-encoding":"gzip, deflate","connection":"Keep-Alive"},"remoteAddress":"127.0.0.1","userAgent":"127.0.0.1","referer":"http://freppau-aqtt156/elk/app/kibana"},"res":{"statusCode":200,"responseTime":7,"contentLength":9},"message":"GET /bundles/commons.style.css?v=15104 200 7ms - 9.0B"}
{"type":"response","@timestamp":"2018-01-12T15:11:00Z","tags":[],"pid":6220,"method":"get","statusCode":200,"req":{"url":"/bundles/kibana.style.css?v=15104","method":"get","headers":{"host":"127.0.0.1:5601","accept":"application/json, text/plain, */*","accept-language":"fr-FR,fr;q=0.9,en-US;q=0.8,en;q=0.7","kbn-version":"5.4.1","origin":"http://freppau-aqtt156","referer":"http://freppau-aqtt156/elk/app/kibana","user-agent":"Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/63.0.3239.132 Safari/537.36","x-forwarded-for":"10.57.67.219, 10.58.109.59","x-forwarded-host":"freppau-aqtt156, freppau-aqtt156","x-forwarded-server":"localhost, localhost","accept-encoding":"gzip, deflate","connection":"Keep-Alive"},"remoteAddress":"127.0.0.1","userAgent":"127.0.0.1","referer":"http://freppau-aqtt156/elk/app/kibana"},"res":{"statusCode":200,"responseTime":92,"contentLength":9},"message":"GET /bundles/kibana.style.css?v=15104 200 92ms - 9.0B"}

Part 3 :

{"type":"response","@timestamp":"2018-01-12T15:11:00Z","tags":[],"pid":6220,"method":"get","statusCode":200,"req":{"url":"/ui/fonts/open_sans/open_sans_v13_latin_300.ttf","method":"get","headers":{"host":"127.0.0.1:5601","accept":"application/json, text/plain, */*","accept-language":"fr-FR,fr;q=0.9,en-US;q=0.8,en;q=0.7","kbn-version":"5.4.1","origin":"http://freppau-aqtt156","referer":"http://freppau-aqtt156/elk/app/kibana","user-agent":"Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/63.0.3239.132 Safari/537.36","x-forwarded-for":"10.57.67.219, 10.58.109.59","x-forwarded-host":"freppau-aqtt156, freppau-aqtt156","x-forwarded-server":"localhost, localhost","accept-encoding":"gzip, deflate","connection":"Keep-Alive"},"remoteAddress":"127.0.0.1","userAgent":"127.0.0.1","referer":"http://freppau-aqtt156/elk/app/kibana"},"res":{"statusCode":200,"responseTime":83,"contentLength":9},"message":"GET /ui/fonts/open_sans/open_sans_v13_latin_300.ttf 200 83ms - 9.0B"}
{"type":"response","@timestamp":"2018-01-12T15:11:00Z","tags":[],"pid":6220,"method":"get","statusCode":200,"req":{"url":"/ui/fonts/open_sans/open_sans_v13_latin_regular.ttf","method":"get","headers":{"host":"127.0.0.1:5601","accept":"application/json, text/plain, */*","accept-language":"fr-FR,fr;q=0.9,en-US;q=0.8,en;q=0.7","kbn-version":"5.4.1","origin":"http://freppau-aqtt156","referer":"http://freppau-aqtt156/elk/app/kibana","user-agent":"Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/63.0.3239.132 Safari/537.36","x-forwarded-for":"10.57.67.219, 10.58.109.59","x-forwarded-host":"freppau-aqtt156, freppau-aqtt156","x-forwarded-server":"localhost, localhost","accept-encoding":"gzip, deflate","connection":"Keep-Alive"},"remoteAddress":"127.0.0.1","userAgent":"127.0.0.1","referer":"http://freppau-aqtt156/elk/app/kibana"},"res":{"statusCode":200,"responseTime":75,"contentLength":9},"message":"GET /ui/fonts/open_sans/open_sans_v13_latin_regular.ttf 200 75ms - 9.0B"}
{"type":"response","@timestamp":"2018-01-12T15:11:00Z","tags":[],"pid":6220,"method":"get","statusCode":200,"req":{"url":"/ui/fonts/open_sans/open_sans_v13_latin_700.ttf","method":"get","headers":{"host":"127.0.0.1:5601","accept":"application/json, text/plain, */*","accept-language":"fr-FR,fr;q=0.9,en-US;q=0.8,en;q=0.7","kbn-version":"5.4.1","origin":"http://freppau-aqtt156","referer":"http://freppau-aqtt156/elk/app/kibana","user-agent":"Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/63.0.3239.132 Safari/537.36","x-forwarded-for":"10.57.67.219, 10.58.109.59","x-forwarded-host":"freppau-aqtt156, freppau-aqtt156","x-forwarded-server":"localhost, localhost","accept-encoding":"gzip, deflate","connection":"Keep-Alive"},"remoteAddress":"127.0.0.1","userAgent":"127.0.0.1","referer":"http://freppau-aqtt156/elk/app/kibana"},"res":{"statusCode":200,"responseTime":75,"contentLength":9},"message":"GET /ui/fonts/open_sans/open_sans_v13_latin_700.ttf 200 75ms - 9.0B"}
{"type":"response","@timestamp":"2018-01-12T15:11:00Z","tags":[],"pid":6220,"method":"get","statusCode":200,"req":{"url":"/bundles/commons.bundle.js?v=15104","method":"get","headers":{"host":"127.0.0.1:5601","accept":"application/json, text/plain, */*","accept-language":"fr-FR,fr;q=0.9,en-US;q=0.8,en;q=0.7","kbn-version":"5.4.1","origin":"http://freppau-aqtt156","referer":"http://freppau-aqtt156/elk/app/kibana","user-agent":"Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/63.0.3239.132 Safari/537.36","x-forwarded-for":"10.57.67.219, 10.58.109.59","x-forwarded-host":"freppau-aqtt156, freppau-aqtt156","x-forwarded-server":"localhost, localhost","accept-encoding":"gzip, deflate","connection":"Keep-Alive"},"remoteAddress":"127.0.0.1","userAgent":"127.0.0.1","referer":"http://freppau-aqtt156/elk/app/kibana"},"res":{"statusCode":200,"responseTime":248,"contentLength":9},"message":"GET /bundles/commons.bundle.js?v=15104 200 248ms - 9.0B"}
{"type":"response","@timestamp":"2018-01-12T15:11:01Z","tags":[],"pid":6220,"method":"get","statusCode":200,"req":{"url":"/bundles/kibana.bundle.js?v=15104","method":"get","headers":{"host":"127.0.0.1:5601","accept":"application/json, text/plain, */*","accept-language":"fr-FR,fr;q=0.9,en-US;q=0.8,en;q=0.7","kbn-version":"5.4.1","origin":"http://freppau-aqtt156","referer":"http://freppau-aqtt156/elk/app/kibana","user-agent":"Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/63.0.3239.132 Safari/537.36","x-forwarded-for":"10.57.67.219, 10.58.109.59","x-forwarded-host":"freppau-aqtt156, freppau-aqtt156","x-forwarded-server":"localhost, localhost","accept-encoding":"gzip, deflate","connection":"Keep-Alive"},"remoteAddress":"127.0.0.1","userAgent":"127.0.0.1","referer":"http://freppau-aqtt156/elk/app/kibana"},"res":{"statusCode":200,"responseTime":2128,"contentLength":9},"message":"GET /bundles/kibana.bundle.js?v=15104 200 2128ms - 9.0B"}
{"type":"response","@timestamp":"2018-01-12T15:11:07Z","tags":[],"pid":6220,"method":"get","statusCode":200,"req":{"url":"/api/console/api_server?sense_version=%40%40SENSE_VERSION&apis=es_5_0","method":"get","headers":{"host":"127.0.0.1:5601","x-requested-with":"XMLHttpRequest","accept":"application/json, text/plain, */*","accept-language":"fr-FR,fr;q=0.9,en-US;q=0.8,en;q=0.7","kbn-version":"5.4.1","origin":"http://freppau-aqtt156","referer":"http://freppau-aqtt156/elk/app/kibana","user-agent":"Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/63.0.3239.132 Safari/537.36","x-forwarded-for":"10.57.67.219, 10.58.109.59","x-forwarded-host":"freppau-aqtt156, freppau-aqtt156","x-forwarded-server":"localhost, localhost","accept-encoding":"gzip, deflate","connection":"Keep-Alive"},"remoteAddress":"127.0.0.1","userAgent":"127.0.0.1","referer":"http://freppau-aqtt156/elk/app/kibana"},"res":{"statusCode":200,"responseTime":12,"contentLength":9},"message":"GET /api/console/api_server?sense_version=%40%40SENSE_VERSION&apis=es_5_0 200 12ms - 9.0B"}

Do you want more logs ? I don't know precisely what's interresting on them :frowning:

@Slop the logs are the best way for us to figure out how far the Reporting process got before it timed out. Can you create a gist with the full Kibana logs while the Reporting job is running and timing out?

Also, if you could try generated a PDF of a simple Markdown visualization, it will help us diagnose whether the issue occurs with simple visualizations as well.

Hello @Brandon_Kobel,

So I've done a few tests and the pdf generation worked for my dashboard on the time range : 15 minutes and 30 minutes and 1 hour.

Then it failed.

Here's the url with full logs :

@Slop can you try increasing the xpack.reporting.queue.timeout in your kibana.yml discussed here to 60000. If your reports for shorted time periods are completing, but your longer ones are not, it's likely that the Report doesn't have enough time to generate.

I've change the timeout and now it work perfectly.

Thanks a lot @Brandon_Kobel

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.