-
Notifications
You must be signed in to change notification settings - Fork 8.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Reporting/Documentation] Fix Reporting+Reverse Proxy documentation #26670
Comments
@kobelb can you check my facts and comment about this? |
Would it make sense to elaborate on what you mean by "have Reporting use the proxy"? For example, "have Reporting use the proxy to... (do something)". |
The When you change the settings, it tells the Reporting headless browser to open a URL other than the default You would want to do that when the Kibana server requires a gateway between it and outside connections. The best example of that being the case is if the proxy has rewrite rules to make Kibana appear to have a base path. For example, if users to access Kibana at
have Reporting use the proxy to load Kibana URLs |
Thanks @tsullivan! That clears things up for me. Reporting works by loading up Kibana in a headless browser and essentially taking screenshots. It loads up Kibana the same way that users do, so if users access Kibana through a reverse proxy, Reporting will need to do that as well.
Sounds good to me. |
I think the new wording is fine. There are likely other situations outside of a "base path" that require the traffic be routed through the reverse proxy as opposed to hitting Kibana directly (custom auth at the reverse proxy comes to mind) but we can expand this recommendation if need be. |
Not necessarily. I filed this issue mainly to take the word
we should say
meaning: if it helps you, you can do it. You will only have to do it if Kibana doesn't work without it.
Another situation: if the proxy is responsible for logging all the Kibana requests. In that case, have Reporting use the proxy so the logs will include the requests made by the headless browser. |
The basic point here is, Kibana server must be able to make a connection to itself for Reporting to work. That goes for:
The 2nd point came up recently in a customer case, but I am really not familiar with the terminology here to add documentation for this. |
cc @lucabelluccini would you feel ok taking ownership of this? |
👍 I'll try to submit a PR associated to this issue. |
@lucabelluccini did you still want to address this one? |
Documentation for the
xpack.reporting.kibanaServer.*
settings has a sentence:That recommends that users to use the
xpack.reporting.kibanaServer.*
when doing so may cause more problems than solutions.The sentence should say something like:
The text was updated successfully, but these errors were encountered: