forked from elastic/kibana
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into visualization-list-eui
- Loading branch information
Showing
126 changed files
with
3,286 additions
and
1,598 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,78 +1,102 @@ | ||
[role="xpack"] | ||
[[reporting-troubleshooting]] | ||
== Reporting Troubleshooting | ||
++++ | ||
<titleabbrev>Troubleshooting</titleabbrev> | ||
++++ | ||
|
||
Having trouble? Here are solutions to common problems you might encounter while using Reporting. | ||
|
||
[float] | ||
=== Text is Not rendered correctly in generated reports | ||
=== Verbose Logging | ||
Kibana's server logs have a lot of useful information for troubleshooting and understanding how things work. If you're having any issues at | ||
all, the full logs from Reporting will be the first place to look. In `kibana.yml`: | ||
|
||
[source,yaml] | ||
-------------------------------------------------------------------------------- | ||
logging.verbose: true | ||
-------------------------------------------------------------------------------- | ||
|
||
For more information about logging, see <<logging-verbose,Kibana configuration settings>>. | ||
|
||
[float] | ||
[[reporting-troubleshooting-system-dependencies]] | ||
=== System Dependencies | ||
Reporting launches a "headless" web browser called Chromium on the Kibana server. It is a custom build made by Elastic of an open source | ||
project, and it is intended to have minimal dependencies on OS libraries. However, the Kibana server OS might still require additional | ||
dependencies for Chromium. | ||
|
||
If a report label is rendered as an empty rectangle, no system fonts | ||
are available. Install at least one font package on the system. | ||
Make sure Kibana server OS has the appropriate packages installed for the distribution. | ||
|
||
[float] | ||
==== On CentOS/RHEL systems, the following packages should be installed: | ||
* `ipa-gothic-fonts` | ||
* `xorg-x11-fonts-100dpi` | ||
* `xorg-x11-fonts-75dpi` | ||
* `xorg-x11-utils` | ||
* `xorg-x11-fonts-cyrillic` | ||
* `xorg-x11-fonts-Type1` | ||
* `xorg-x11-fonts-misc` | ||
* `fontconfig` | ||
* `freetype` | ||
|
||
If the report is missing certain Chinese, Japanese or Korean characters, ensure that a system font with | ||
those characters is installed. | ||
[float] | ||
==== On Ubuntu/Debian systems, the following packages should be installed: | ||
* `fonts-liberation` | ||
* `libfontconfig1` | ||
|
||
[float] | ||
=== Error generating your report | ||
You might see "There was an error generating your report" or one of the following errors when you download your report. See below for | ||
an explanation of why the failure occurred and what you can do to fix it. | ||
=== Text is Not rendered correctly in generated reports | ||
|
||
If a report label is rendered as an empty rectangle, no system fonts are available. Install at least one font package on the system. | ||
|
||
If the report is missing certain Chinese, Japanese or Korean characters, ensure that a system font with those characters is installed. | ||
|
||
[float] | ||
=== Data Table Visualization does not show all data in PDF reports | ||
There is currently a known limitation with the Data Table visualization that only the first page of data rows, which are the only data visible on the screen, are shown in PDF reports. | ||
There is currently a known limitation with the Data Table visualization that only the first page of data rows, which are the only data | ||
visible on the screen, are shown in PDF reports. | ||
|
||
[float] | ||
=== File Permissions | ||
Ensure that the `headless_shell` binary located in your Kibana data directory is owned by the user who is running Kibana, that the | ||
user has the execute permission, and if applicable, that the filesystem is mounted with the `exec` option. | ||
|
||
[NOTE] | ||
-- | ||
The Chromium binary is located in the Kibana installation directory as `data/headless_shell-OS_TYPE/headless_shell`. The full path is logged | ||
the first time Kibana starts when verbose logging is enabled. | ||
-- | ||
|
||
[float] | ||
==== `You must install fontconfig and freetype for Reporting to work'` | ||
Reporting uses a headless browser on the Kibana server, which relies on some | ||
system packages. Install the appropriate fontconfig and freetype packages for | ||
your distribution. | ||
[[reporting-troubleshooting-error-messages]] | ||
=== Error Messages | ||
Whenever possible, a Reporting error message tries to be as self-explanatory as possible. Here are some error messages you might encounter, | ||
along with the solution. | ||
|
||
[float] | ||
==== `Max attempts reached (3)` | ||
==== "Max attempts reached" | ||
There are two primary causes of this error: | ||
|
||
. You're creating a PDF of a visualization or dashboard that spans a large amount of data and Kibana is hitting the `xpack.reporting.queue.timeout` | ||
|
||
. Kibana is hosted behind a reverse-proxy, and the <<reporting-kibana-server-settings, Kibana server settings>> are not configured correctly | ||
|
||
Create a Markdown visualization and then create a PDF report. If this succeeds, increase the `xpack.reporting.queue.timeout` | ||
setting. If the PDF report fails with "Max attempts reached (3)," check your <<reporting-kibana-server-settings, Kibana server settings>>. | ||
|
||
[float] | ||
==== `You must install freetype and ttf-font for Reporting to work` | ||
Reporting using the Chromium browser relies on system packages and at least one system font. Install the appropriate fontconfig and freetype | ||
packages for your distribution and at least one system font. | ||
Create a Markdown visualization and then create a PDF report. If this succeeds, increase the `xpack.reporting.queue.timeout` setting. If the | ||
PDF report fails with "Max attempts reached," check your <<reporting-kibana-server-settings, Kibana server settings>>. | ||
|
||
[float] | ||
==== `You must install nss for Reporting to work` | ||
Reporting using the Chromium browser relies on the Network Security Service libraries (NSS). Install the appropriate nss package for your distribution. | ||
[[reporting-troubleshooting-nss-dependency]] | ||
==== "You must install nss for Reporting to work" | ||
Reporting using the Chromium browser relies on the Network Security Service libraries (NSS). Install the appropriate nss package for your | ||
distribution. | ||
|
||
[float] | ||
==== `Unable to use Chromium sandbox. This can be disabled at your own risk with 'xpack.reporting.capture.browser.chromium.disableSandbox'` | ||
[[reporting-troubleshooting-sandbox-dependency]] | ||
==== "Unable to use Chromium sandbox" | ||
Chromium uses sandboxing techniques that are built on top of operating system primitives. The Linux sandbox depends on user namespaces, | ||
which were introduced with the 3.8 Linux kernel. However, many distributions don't have user namespaces enabled by default, or they require | ||
the CAP_SYS_ADMIN capability. | ||
|
||
Elastic recommends that you research the feasibility of enabling unprivileged user namespaces before disabling the sandbox. An exception | ||
is if you are running Kibana in Docker because the container runs in a user namespace with the built-in seccomp/bpf filters. | ||
|
||
[float] | ||
==== `Caught error spawning Chromium` | ||
Ensure that the `headless_shell` binary located in your Kibana data directory is owned by the user who is running Kibana, that the user has the execute permission, | ||
and if applicable, that the filesystem is mounted with the `exec` option. | ||
|
||
Another possible reason of such error might be the fact the `headless_shell` binary requires dependencies which are not installed at the operating system level. | ||
|
||
.On CentOS/RHEL systems, the following packages should be installed: | ||
* `ipa-gothic-fonts` | ||
* `xorg-x11-fonts-100dpi` | ||
* `xorg-x11-fonts-75dpi` | ||
* `xorg-x11-utils` | ||
* `xorg-x11-fonts-cyrillic` | ||
* `xorg-x11-fonts-Type1` | ||
* `xorg-x11-fonts-misc` | ||
* `fontconfig` | ||
* `freetype` | ||
|
||
.On Ubuntu/Debian systems, the following packages should be installed: | ||
* `fonts-liberation` | ||
* `libfontconfig1` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
66 changes: 0 additions & 66 deletions
66
src/legacy/core_plugins/console/public/_ace_overrides.scss
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,5 +8,4 @@ | |
// conChart__legend-isLoading | ||
|
||
@import './app'; | ||
@import './ace_overrides'; | ||
@import './src/directives/index'; |
Oops, something went wrong.