When i try to download the pdf using reporting option getting error: HeadlessError: Phantom immediately exited with: 1

Hello Kibana Team,

I was able to install and configure ELK and x-pack-5.4.0
and able to retrieve the data of Apache logs and able to create dashboards and everything seems to be working fine except reporting option. getting below error when i try to generate dashboard in PDF format.

There was an error generating your report for the "Sample Dashboard Logs" dashboard: HeadlessError: Phantom immediately exited with: 1

let me know if you need any logs i will update here.

Below is my stack details :

Elastic search 5.4.0
Logstash 5.4.0
Kibana 5.4.0

server :
Red Hat Enterprise Linux Server release 5.11

i see below fonts are installed and i explicitly added phantomjs in the server. below fonts also installed.

bin]$ rpm -q fontconfig.x86_64
fontconfig-2.4.1-7.el5

rpm -q fontconfig.i386
fontconfig-2.4.1-7.el5

$ which phantomjs
/usr/bin/phantomjs

Any suggestions to fix this issue ???

Hey @Shashidhar_Wl would you mind seeing how much free memory that you have on the server that is running Kibana? The PhantomJS process can require a moderate amount of memory, and I'm wondering whether there's too little and the process is crashing immediately.

Thank you Brandon. I don't have enough memory on this server. I will try the same settings in other server and post the updates.

I tried in the different host which is running with 32gb of RAM. got the same error. i see similar errors in the logs. could you please check.

{"type":"response","@timestamp":"2017-05-17T18:20:43Z","tags":[],"pid":30068,"method":"post","statusCode":200,"req":{"url":"/api/reporting/generate/dashboard/Sample-Dashboard-for-Apache-Logs?_g=(time%3A(from%3A'2017-05-11T20%3A53%3A53.284Z'%2Cmode%3Aabsolute%2Cto%3A'2017-05-11T21%3A08%3A53.284Z'))&_a=(filters%3A!()%2Coptions%3A(darkTheme%3A!t)%2Cpanels%3A!((col%3A1%2Cid%3AApache-Dashboard%2CpanelIndex%3A1%2Crow%3A1%2Csize_x%3A3%2Csize_y%3A4%2Ctype%3Avisualization)%2C(col%3A7%2Cid%3ATraffic-by-Country-ampersand-Device%2CpanelIndex%3A2%2Crow%3A5%2Csize_x%3A6%2Csize_y%3A3%2Ctype%3Avisualization)%2C(col%3A7%2Cid%3ATraffic-by-Country-ampersand-OS%2CpanelIndex%3A3%2Crow%3A8%2Csize_x%3A6%2Csize_y%3A3%2Ctype%3Avisualization)%2C(col%3A4%2Cid%3ATraffic-vs.-Location%2CpanelIndex%3A4%2Crow%3A1%2Csize_x%3A9%2Csize_y%3A4%2Ctype%3Avisualization)%2C(col%3A1%2Cid%3AUnique-Visitors%2CpanelIndex%3A5%2Crow%3A5%2Csize_x%3A3%2Csize_y%3A2%2Ctype%3Avisualization)%2C(col%3A1%2Cid%3ANon-200-Response-Code-vs.-Time%2CpanelIndex%3A6%2Crow%3A11%2Csize_x%3A6%2Csize_y%3A3%2Ctype%3Avisualization)%2C(col%3A4%2Cid%3ATotal-Hits-by-City%2CpanelIndex%3A7%2Crow%3A7%2Csize_x%3A3%2Csize_y%3A4%2Ctype%3Avisualization)%2C(col%3A1%2Cid%3AUnique-Visits-by-City%2CpanelIndex%3A8%2Crow%3A7%2Csize_x%3A3%2Csize_y%3A4%2Ctype%3Avisualization)%2C(col%3A4%2Cid%3ATotal-Visitors%2CpanelIndex%3A9%2Crow%3A5%2Csize_x%3A3%2Csize_y%3A2%2Ctype%3Avisualization)%2C(col%3A7%2Cid%3ABytes-vs.-Time%2CpanelIndex%3A10%2Crow%3A11%2Csize_x%3A6%2Csize_y%3A3%2Ctype%3Avisualization)%2C(col%3A1%2Cid%3Aaa9f0590-3688-11e7-834b-55be5050851e%2CpanelIndex%3A11%2Crow%3A14%2Csize_x%3A6%2Csize_y%3A3%2Ctype%3Avisualization))%2Cquery%3A(query_string%3A(analyze_wildcard%3A!t%2Cquery%3A''))%2CtimeRestore%3A!t%2Ctitle%3A'Sample%20Dashboard%20for%20Apache%20Logs'%2CuiState%3A(P-11%3A(spy%3A(mode%3A(fill%3A!f%2Cname%3Atable)))%2CP-7%3A(vis%3A(params%3A(sort%3A(columnIndex%3A!n%2Cdirection%3A!n))))%2CP-8%3A(vis%3A(params%3A(sort%3A(columnIndex%3A!n%2Cdirection%3A!n)))))%2CviewMode%3Aview)","method":"post","headers":{"host":"0.0.0.0:8007","connection":"keep-alive","content-length":"2","accept":"application/json, text/plain, /","origin":"http://0.0.0.0:8007","kbn-version":"5.4.0","user-agent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.110 Safari/537.36","content-type":"application/json;charset=UTF-8","referer":"http://0.0.0.0:8007/app/kibana","accept-encoding":"gzip, deflate","accept-language":"en-US,en;q=0.8"},"remoteAddress":"...","userAgent":"...","referer":"http://0.0.0.0:8007/app/kibana"},"res":{"statusCode":200,"responseTime":113,"contentLength":9},"message":"POST /api/reporting/generate/dashboard/Sample-Dashboard-for-Apache-Logs?_g=(time%3A(from%3A'2017-05-11T20%3A53%3A53.284Z'%2Cmode%3Aabsolute%2Cto%3A'2017-05-11T21%3A08%3A53.284Z'))&_a=(filters%3A!()%2Coptions%3A(darkTheme%3A!t)%2Cpanels%3A!((col%3A1%2Cid%3AApache-Dashboard%2CpanelIndex%3A1%2Crow%3A1%2Csize_x%3A3%2Csize_y%3A4%2Ctype%3Avisualization)%2C(col%3A7%2Cid%3ATraffic-by-Country-ampersand-Device%2CpanelIndex%3A2%2Crow%3A5%2Csize_x%3A6%2Csize_y%3A3%2Ctype%3Avisualization)%2C(col%3A7%2Cid%3ATraffic-by-Country-ampersand-OS%2CpanelIndex%3A3%2Crow%3A8%2Csize_x%3A6%2Csize_y%3A3%2Ctype%3Avisualization)%2C(col%3A4%2Cid%3ATraffic-vs.-Location%2CpanelIndex%3A4%2Crow%3A1%2Csize_x%3A9%2Csize_y%3A4%2Ctype%3Avisualization)%2C(col%3A1%2Cid%3AUnique-Visitors%2CpanelIndex%3A5%2Crow%3A5%2Csize_x%3A3%2Csize_y%3A2%2Ctype%3Avisualization)%2C(col%3A1%2Cid%3ANon-200-Response-Code-vs.-Time%2CpanelIndex%3A6%2Crow%3A11%2Csize_x%3A6%2Csize_y%3A3%2Ctype%3Avisualization)%2C(col%3A4%2Cid%3ATotal-Hits-by-City%2CpanelIndex%3A7%2Crow%3A7%2Csize_x%3A3%2Csize_y%3A4%2Ctype%3Avisualization)%2C(col%3A1%2Cid%3AUnique-Visits-by-City%2CpanelIndex%3A8%2Crow%3A7%2Csize_x%3A3%2Csize_y%3A4%2Ctype%3Avisualization)%2C(col%3A4%2Cid%3ATotal-Visitors%2CpanelIndex%3A9%2Crow%3A5%2Csize_x%3A3%2Csize_y%3A2%2Ctype%3Avisualization)%2C(col%3A7%2Cid%3ABytes-vs.-Time%2CpanelIndex%3A10%2Crow%3A11%2Csize_x%3A6%2Csize_y%3A3%2Ctype%3Avisualization)%2C(col%3A1%2Cid%3Aaa9f0590-3688-11e7-834b-55be5050851e%2CpanelIndex%3A11%2Crow%3A14%2Csize_x%3A6%2Csize_y%3A3%2Ctype%3Avisualization))%2Cquery%3A(query_string%3A(analyze_wildcard%3A!t%2Cquery%3A''))%2CtimeRestore%3A!t%2Ctitle%3A'Sample%20Dashboard%20for%20Apache%20Logs'%2CuiState%3A(P-11%3A(spy%3A(mode%3A(fill%3A!f%2Cname%3Atable)))%2CP-7%3A(vis%3A(params%3A(sort%3A(columnIndex%3A!n%2Cdirection%3A!n))))%2CP-8%3A(vis%3A(params%3A(sort%3A(columnIndex%3A!n%2Cdirection%3A!n)))))%2CviewMode%3Aview) 200 113ms - 9.0B"}
Unhandled rejection HeadlessError: Phantom immediately exited with: 1
at ChildProcess.immediateExit (/u01/app/ELK/kibana-5.4.0-linux-x86_64/plugins/x-pack/node_modules/@elastic/node-phantom-simple/node-phantom-simple.js:157:23)
at ChildProcess.g (events.js:291:16)
at emitTwo (events.js:106:13)
at ChildProcess.emit (events.js:191:7)
at Process.ChildProcess._handle.onexit (internal/child_process.js:215:12)
{"type":"response","@timestamp":"2017-05-17T18:20:46Z","tags":[],"pid":30068,"method":"get","statusCode":200,"req":{"url":"/api/reporting/jobs/list_completed_since?since=2017-05-17T18%3A19%3A52.810Z","method":"get","headers":{"host":"0.0.0.0:8007","connection":"keep-alive","accept":"application/json, text/plain, /","kbn-system-api":"true","kbn-version":"5.4.0","user-agent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.110 Safari/537.36","referer":"http://0.0.0.0:8007/app/kibana","accept-encoding":"gzip, deflate, sdch","accept-language":"en-US,en;q=0.8"},"remoteAddress":"...","userAgent":"...","referer":"http://0.0.0.0:8007/app/kibana"},"res":{"statusCode":200,"responseTime":23,"contentLength":9},"message":"GET /api/reporting/jobs/list_completed_since?since=2017-05-17T18%3A19%3A52.810Z 200 23ms - 9.0B"}
{"type":"response","@timestamp":"2017-05-17T18:20:55Z","tags":[],"pid":30068,"method":"get","statusCode":200,"req":{"url":"/api/security/v1/me","method":"get","headers":{"host":"0.0.0.0:8007","connection":"keep-alive","accept":"application/json, text/plain, /","kbn-version":"5.4.0","user-agent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.110 Safari/537.36","referer":"http://0.0.0.0:8007/app/kibana","accept-encoding":"gzip, deflate, sdch","accept-language":"en-US,en;q=0.8"},"remoteAddress":"...","userAgent":"...","referer":"http://0.0.0.0:8007/app/kibana"},"res":{"statusCode":200,"responseTime":14,"contentLength":9},"message":"GET /api/security/v1/me 200 14ms - 9.0B"}

@Shashidhar_Wl did you install phantomjs explicitly on the second box as well? And if so, would you mind describing the steps that you took to install it?

Kibana comes packaged with it's own instance of PhantomJS and I'm wondering whether they're conflicting somehow.

Step 1> $ wget https://bitbucket.org/ariya/phantomjs/downloads/phantomjs-1.9.7-linux-x86_64.tar.bz2

Step 2> $ tar -xvf phantomjs-1.9.7-linux-x86_64.tar.bz2

Step 3> $ cd phantomjs-1.9.7-linux-x86_64

Step 4> $ cd bin

Step 5> $ sudo cp phantomjs /usr/bin

To check phantomjs installed properly perform the following step :

Step 6> $ phantomjs -h

To install the dependencies on Red Hat based systems:

Step 7> $ sudo yum install fontconfig freetype libfreetype.so.6 libfontconfig.so.1 libstdc++.so.6

I tried with the phantomjs-2.1.1-linux-x86_64 also. Same issue.

@Shashidhar_Wl you shouldn't have to install a separate instance of PhantomJS to use Reporting with Kibana; however, I'm not seeing how the version that you're installing is conflicting with the version that comes packaged with Kibana.

Would you mind verifying that the following exists and you're able to run it: kibana-5.4.0-linux-x86_64/data/phantomjs-2.1.1-linux-x86_64/bin/phantomjs

phantomjs-2.1.1-linux-x86_64/bin/phantomjs is missing on Kibana. do i need to install explicitly or does it comes with kibana ??

$ /u01/app/ELK/kibana-5.4.0-linux-x86_64/data/phantomjs-2.1.1-linux-x86_64/bin/phantomjs

/u01/app/ELK/kibana-5.4.0-linux-x86_64/data/phantomjs-2.1.1-linux-x86_64/bin/phantomjs: /lib64/libz.so.1: no version information available (required by /u01/app/ELK/kibana-5.4.0-linux-x86_64/data/phantomjs-2.1.1-linux-x86_64/bin/phantomjs)
/u01/app/ELK/kibana-5.4.0-linux-x86_64/data/phantomjs-2.1.1-linux-x86_64/bin/phantomjs: /usr/lib64/libstdc++.so.6: version GLIBCXX_3.4.9' not found (required by /u01/app/ELK/kibana-5.4.0-linux-x86_64/data/phantomjs-2.1.1-linux-x86_64/bin/phantomjs) /u01/app/ELK/kibana-5.4.0-linux-x86_64/data/phantomjs-2.1.1-linux-x86_64/bin/phantomjs: /usr/lib64/libstdc++.so.6: versionGLIBCXX_3.4.11' not found (required by /u01/app/ELK/kibana-5.4.0-linux-x86_64/data/phantomjs-2.1.1-linux-x86_64/bin/phantomjs)
/u01/app/ELK/kibana-5.4.0-linux-x86_64/data/phantomjs-2.1.1-linux-x86_64/bin/phantomjs: /lib64/libc.so.6: version GLIBC_2.9' not found (required by /u01/app/ELK/kibana-5.4.0-linux-x86_64/data/phantomjs-2.1.1-linux-x86_64/bin/phantomjs) /u01/app/ELK/kibana-5.4.0-linux-x86_64/data/phantomjs-2.1.1-linux-x86_64/bin/phantomjs: /lib64/libc.so.6: versionGLIBC_2.10' not found (required by /u01/app/ELK/kibana-5.4.0-linux-x86_64/data/phantomjs-2.1.1-linux-x86_64/bin/phantomjs)
/u01/app/ELK/kibana-5.4.0-linux-x86_64/data/phantomjs-2.1.1-linux-x86_64/bin/phantomjs: /lib64/libc.so.6: version `GLIBC_2.7' not found (required by /u01/app/ELK/kibana-5.4.0-linux-x86_64/data/phantomjs-2.1.1-linux-x86_64/bin/phantomjs)

Quiclk update : phantomjs-2.1.1-linux-x86_64 is not compatible on RHEL 5.11 so i copied 1.7 phantomjs to /u01/app/ELK/kibana-5.4.0-linux-x86_64/data/phantomjs-2.1.1-linux-x86_64/bin/phantomjs and tried to download the pdf of some of the reports i can download but the dashboard that i am downloading getting below timeout error.

There was an error generating your report for the "Sample Dashboard for Apache Logs" dashboard: Error: Timeout exceeded (20000)

I enabled debug

log [19:35:50.602] [debug][reporting] fetching screenshot of http://...:8005/app/kibana#/dashboard/Sample-Dashboard-for-Apache-Logs?_g=(time:(from:'2017-05-11T20:53:53.284Z',mode:absolute,to:'2017-05-11T21:08:53.284Z'))&_a=(filters:!(),options:(darkTheme:!t),panels:!((col:1,id:Apache-Dashboard,panelIndex:1,row:1,size_x:3,size_y:4,type:visualization),(col:7,id:Traffic-by-Country-ampersand-Device,panelIndex:2,row:5,size_x:6,size_y:3,type:visualization),(col:7,id:Traffic-by-Country-ampersand-OS,panelIndex:3,row:8,size_x:6,size_y:3,type:visualization),(col:4,id:Traffic-vs.-Location,panelIndex:4,row:1,size_x:9,size_y:4,type:visualization),(col:1,id:Unique-Visitors,panelIndex:5,row:5,size_x:3,size_y:2,type:visualization),(col:1,id:Non-200-Response-Code-vs.-Time,panelIndex:6,row:11,size_x:6,size_y:3,type:visualization),(col:4,id:Total-Hits-by-City,panelIndex:7,row:7,size_x:3,size_y:4,type:visualization),(col:1,id:Unique-Visits-by-City,panelIndex:8,row:7,size_x:3,size_y:4,type:visualization),(col:4,id:Total-Visitors,panelIndex:9,row:5,size_x:3,size_y:2,type:visualization),(col:7,id:Bytes-vs.-Time,panelIndex:10,row:11,size_x:6,size_y:3,type:visualization),(col:1,id:aa9f0590-3688-11e7-834b-55be5050851e,panelIndex:11,row:14,size_x:6,size_y:3,type:visualization)),query:(query_string:(analyze_wildcard:!t,query:'')),timeRestore:!t,title:'Sample%20Dashboard%20for%20Apache%20Logs',uiState:(P-11:(spy:(mode:(fill:!f,name:table))),P-7:(vis:(params:(sort:(columnIndex:!n,direction:!n)))),P-8:(vis:(params:(sort:(columnIndex:!n,direction:!n))))),viewMode:view)
respons [19:35:50.916] GET /app/kibana 200 123ms - 9.0B
respons [19:35:50.939] GET /bundles/commons.style.css?v=15063 200 10ms - 9.0B
respons [19:35:50.975] GET /bundles/kibana.style.css?v=15063 200 34ms - 9.0B
respons [19:35:51.096] GET /bundles/commons.bundle.js?v=15063 200 130ms - 9.0B
ops [19:35:51.819] memory: 342.3MB uptime: 0:00:46 load: [1.57 0.85 0.47] delay: 5.289
log [19:35:51.822] [debug][monitoring-ui] Received Monitoring event data
log [19:35:51.823] [debug][plugin] Checking Elasticsearch version
log [19:35:52.005] [debug][plugin] Checking Elasticsearch version
respons [19:35:52.127] GET /bundles/kibana.bundle.js?v=15063 200 942ms - 9.0B
log [19:35:52.358] [debug][license][xpack] Calling Elasticsearch _xpack API
log [19:35:52.427] [debug][license][xpack] Calling Elasticsearch _xpack API
log [19:35:52.521] [debug][monitoring-ui] Sending Monitoring payload to Elasticsearch
respons [19:35:52.876] GET /api/reporting/jobs/list_completed_since?since=2017-05-18T15%3A26%3A52.008Z 200 20ms - 9.0B
respons [19:35:53.397] GET /api/console/api_server?sense_version=%40%40SENSE_VERSION&apis=es_5_0 200 16ms - 9.0B
respons [19:35:53.602] GET /api/security/v1/me 200 13ms - 9.0B
log [19:35:53.645] [debug][phantomConsole][reporting] INFO: 2017-05-18T19:35:53Z
Adding connection to http://
...*:8005/es_admin

log [19:35:53.647] [debug][phantomConsole][reporting] INFO: 2017-05-18T19:35:53Z
Adding connection to http://...:8005/elasticsearch

log [19:35:53.789] [debug][phantomConsole][reporting] setting active api to [es_5_0]
respons [19:35:53.815] GET /api/xpack/v1/info 200 39ms - 9.0B
respons [19:35:53.819] GET /plugins/graph/icon.png 200 36ms - 9.0B
respons [19:35:53.822] GET /plugins/kibana/assets/visualize.svg 200 42ms - 9.0B
respons [19:35:53.823] GET /plugins/kibana/assets/discover.svg 200 42ms - 9.0B
respons [19:35:53.824] GET /plugins/timelion/icon.svg 200 41ms - 9.0B
respons [19:35:53.826] GET /plugins/kibana/assets/dashboard.svg 200 41ms - 9.0B
respons [19:35:53.840] GET /plugins/kibana/assets/wrench.svg 200 24ms - 9.0B
respons [19:35:53.845] GET /plugins/monitoring/icons/monitoring.svg 200 27ms - 9.0B
respons [19:35:53.848] GET /plugins/kibana/assets/play-circle.svg 200 21ms - 9.0B
respons [19:35:53.849] GET /plugins/security/images/logout.svg 200 21ms - 9.0B
respons [19:35:53.850] GET /plugins/security/images/person.svg 200 22ms - 9.0B
respons [19:35:53.851] GET /plugins/kibana/assets/settings.svg 200 23ms - 9.0B
respons [19:35:53.880] GET /bundles/0cebf3d61338c454670b1c5bdf5d6d8d.svg 200 4ms - 9.0B

respons [19:35:53.930] POST /es_admin/.kibana/index-pattern/_search?stored_fields= 200 48ms - 9.0B
respons [19:35:54.004] GET /es_admin/.kibana/_mapping/*/field/source?=1495136153985 200 16ms - 9.0B
respons [19:35:54.089] POST /es_admin/_mget 200 46ms - 9.0B
log [19:35:54.349] [debug][plugin] Checking Elasticsearch version
respons [19:35:54.422] GET /bundles/dfb02f8f6d0cedc009ee5887cc68f1f3.woff 200 6ms - 9.0B
log [19:35:54.530] [debug][plugin] Checking Elasticsearch version
log [19:35:55.441] [debug][phantomConsole][reporting] complete in 59.00ms
respons [19:35:55.498] GET /plugins/reporting/styles/reporting-overrides.css 200 11ms - 9.0B
respons [19:35:55.503] POST /es_admin/_mget 200 53ms - 9.0B
respons [19:35:55.658] POST /es_admin/_mget 200 59ms - 9.0B
log [19:35:56.223] [debug][phantomConsole][reporting] complete in 162.00ms
respons [19:35:56.398] POST /elasticsearch/_msearch 200 154ms - 9.0B
ops [19:35:56.816] memory: 345.8MB uptime: 0:00:51 load: [1.69 0.88 0.48] delay: 0.892
log [19:35:56.818] [debug][monitoring-ui] Received Monitoring event data
log [19:35:56.868] [debug][plugin] Checking Elasticsearch version
log [19:35:56.900] [debug][phantomConsole][reporting] complete in 2.00ms
log [19:35:56.901] [debug][phantomConsole][reporting] complete in 1.00ms
log [19:35:56.902] [debug][phantomConsole][reporting] complete in 1.00ms
log [19:35:56.903] [debug][phantomConsole][reporting] complete in 0.00ms
log [19:35:56.904] [debug][phantomConsole][reporting] complete in 0.00ms
log [19:35:56.906] [debug][phantomConsole][reporting] complete in 0.00ms
log [19:35:56.907] [debug][phantomConsole][reporting] complete in 1.00ms
log [19:35:56.908] [debug][phantomConsole][reporting] complete in 1.00ms
log [19:35:57.058] [debug][plugin] Checking Elasticsearch version
log [19:35:57.372] [debug][phantomConsole][reporting] complete in 125.00ms
respons [19:35:59.176] GET /api/security/v1/me 200 16ms - 9.0B
log [19:35:59.382] [debug][plugin] Checking Elasticsearch version
respons [19:35:59.446] GET /bundles/4eae70b44c4e3b69f2357bff8f1e67f1.svg 304 9ms - 9.0B
respons [19:35:59.449] GET /bundles/6199ab7146b1eb859db9ffd2b9b786d3.svg 304 11ms - 9.0B
log [19:35:59.589] [debug][plugin] Checking Elasticsearch version
respons [19:36:00.603] GET /api/security/v1/me 200 15ms - 9.0B
respons [19:36:00.795] GET /api/reporting/jobs/list?page=0 200 36ms - 9.0B
respons [19:36:00.980] GET /api/reporting/jobs/count 200 32ms - 9.0B
ops [19:36:01.815] memory: 353.2MB uptime: 0:00:56 load: [1.71 0.90 0.49] delay: 0.834
log [19:36:01.816] [debug][monitoring-ui] Received Monitoring event data
log [19:36:01.902] [debug][plugin] Checking Elasticsearch version
log [19:36:02.119] [debug][plugin] Checking Elasticsearch version
log [19:36:02.523] [debug][monitoring-ui] Sending Monitoring payload to Elasticsearch
respons [19:36:02.861] GET /api/reporting/jobs/list_completed_since?since=2017-05-18T15%3A26%3A52.008Z 200 18ms - 9.0B
respons [19:36:03.486] GET /api/reporting/jobs/list_completed_since?since=2017-05-18T15%3A15%3A32.280Z 200 26ms - 9.0B
respons [19:36:03.516] GET /api/reporting/jobs/output/j2ukjsa1037db30bdcaan7ne 200 25ms - 9.0B
log [19:36:04.415] [debug][plugin] Checking Elasticsearch version
log [19:36:04.644] [debug][plugin] Checking Elasticsearch version
respons [19:36:05.778] GET /api/reporting/jobs/list?page=0 200 32ms - 9.0B
respons [19:36:05.975] GET /api/reporting/jobs/count 200 20ms - 9.0B
ops [19:36:06.815] memory: 349.5MB uptime: 0:01:01 load: [1.57 0.89 0.49] delay: 0.889
log [19:36:06.817] [debug][monitoring-ui] Received Monitoring event data
log [19:36:06.928] [debug][plugin] Checking Elasticsearch version
log [19:36:07.171] [debug][plugin] Checking Elasticsearch version
respons [19:36:08.214] GET /api/security/v1/me 200 18ms - 9.0B
respons [19:36:09.138] GET /api/security/v1/me 200 11ms - 9.0B
respons [19:36:09.364] GET /api/reporting/jobs/list?page=0 200 24ms - 9.0B
log [19:36:09.441] [debug][plugin] Checking Elasticsearch version
respons [19:36:09.567] GET /api/reporting/jobs/count 200 21ms - 9.0B
log [19:36:09.693] [debug][plugin] Checking Elasticsearch version
ops [19:36:11.816] memory: 356.2MB uptime: 0:01:06 load: [1.45 0.87 0.48] delay: 0.890
log [19:36:11.818] [debug][monitoring-ui] Received Monitoring event data
log [19:36:11.952] [debug][plugin] Checking Elasticsearch version
log [19:36:12.218] [debug][plugin] Checking Elasticsearch version
log [19:36:12.526] [debug][monitoring-ui] Sending Monitoring payload to Elasticsearch
respons [19:36:12.865] GET /api/reporting/jobs/list_completed_since?since=2017-05-18T15%3A26%3A52.008Z 200 18ms - 9.0B
respons [19:36:13.482] GET /api/reporting/jobs/list_completed_since?since=2017-05-18T15%3A26%3A52.008Z 200 25ms - 9.0B
respons [19:36:14.344] GET /api/reporting/jobs/list?page=0 200 33ms - 9.0B
log [19:36:14.463] [debug][plugin] Checking Elasticsearch version
respons [19:36:14.526] GET /api/reporting/jobs/count 200 20ms - 9.0B
log [19:36:14.738] [debug][plugin] Checking Elasticsearch version
ops [19:36:16.815] memory: 363.0MB uptime: 0:01:11 load: [1.49 0.89 0.49] delay: 0.699
log [19:36:16.817] [debug][monitoring-ui] Received Monitoring event data
log [19:36:16.974] [debug][plugin] Checking Elasticsearch version
log [19:36:17.034] [debug][reporting] Error: Timeout exceeded (20000)
at Timeout.waitForCheck [as _onTimeout] (/u01/app/ELK/kibana-5.4.0-linux-x86_64/plugins/x-pack/plugins/reporting/server/lib/phantom/index.js:311:29)
at ontimeout (timers.js:380:14)
at tryOnTimeout (timers.js:244:5)
at Timer.listOnTimeout (timers.js:214:5)
log [19:36:17.036] [debug][esqueue][reporting][worker] j2utfz4t096rb30bdc72blsi - Failure occurred on job j2utgl19096rb30bdcderss2: Error: Timeout exceeded (20000)

I was able to create reports and email notification after fixing the issue. thanks for helping me on this issue.

@Shashidhar_Wl can you share your solution?
Thank you.

After adding phantomjs to the kibana, reporting started working fine.

/u01/app/ELK/kibana-5.4.0-linux-x86_64/data/phantomjs-2.1.1-linux-x86_64/bin/phantomjs

Hi Shasi,

Iam having the same issue and am using debian package ,using elastic 5.4.2 version ,where should I add in phantomjs in kibana.

Please do let me know ,which could be really helpful for me .

Thanks,
Raj

under kibana home install phantomjs like below.

data/phantomjs-2.1.1-linux-x86_64/bin/phantomjs

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