I cannot understand why the phantomjs process is still picking up localhost. I looked for all settings, but could not understand what decides the host (A random port is used for every attempt I believe)
Can you try setting the xpack.reporting.capture.browser.type key in kibana.yml to Chromium? Phantom.js isn't supported any longer and it was deprecated in 6.8.
I added xpack.reporting.capture.browser.type key in kibana.yml and now I am getting the below error:
Error: Error spawning Chromium browser: Error: Failed to launch chrome! /var/lib/kibana/headless_shell-linux/headless_shell: /lib64/libc.so.6: version `GLIBC_2.14' not found (required by /var/lib/kibana/headless_shell-linux/headless_shell) /var/lib/kibana/headless_shell-linux/headless_shell: /lib64/libc.so.6: version `GLIBC_2.15' not found (required by /var/lib/kibana/headless_shell-linux/headless_shell) /var/lib/kibana/headless_shell-linux/headless_shell: /lib64/libc.so.6: version `GLIBC_2.16' not found (required by /var/lib/kibana/headless_shell-linux/headless_shell) TROUBLESHOOTING: https://github.com/GoogleChrome/puppeteer/blob/master/docs/troubleshooting.md
However ports 80 and 443 are blocked on the LPAR, hence I have to manually download rpm packages and the list of dependencies keep on growing (already downloaded 20+ rpms).
I installed all the dependencies listed on the troubleshooting page. Then I ran the below command to check dependencies of chromium browser. ldd headless_shell |grep not
which returned the below missing dependencies:
./headless_shell: /lib64/libc.so.6: version `GLIBC_2.14' not found (required by ./headless_shell)
./headless_shell: /lib64/libc.so.6: version `GLIBC_2.15' not found (required by ./headless_shell)
./headless_shell: /lib64/libc.so.6: version `GLIBC_2.16' not found (required by ./headless_shell)
However, I am using RHEL6.5 and could not find a straightforward method to update libraries (without risking the environment's integrity).
Do you recommend to go down this path? or is this functionality only supposed to work with RHEL7+ ?
Sadly starting with Kibana 7.0.0 we dropped support for CentOS/RHEL 6, so you'll have to update the libraries manually. I know it might be risky, so I'd suggest just using a kibana docker container in your OS, as it would be simpler and safer.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.