-
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
Missing documentation: Reporting generation URL now requires kbn-version header to be set #17941
Comments
Original comment by @w33ble: You shouldn't need both the It was definitely a breaking change in Reporting 2.4.1, but not really a break in Kibana, since you can use the I'm not sure the best course of action here. Adding something to the docs is probably a good idea, but is it simply saying the 2.4.1 is meant to work with 4.6.1 or newer? And what does this mean for support... do we support the 4.6.0/2.4.1+ combo, or tell users they need to update Kibana? |
Original comment by @ppf2: I will suggest the following
|
Original comment by @w33ble:
Would have loved to. It was a negative side effect of giving Reporting a hard deadline and trying to get it out the door ASAP without a whole lot of input or review from others. 😢 |
Original comment by @tsullivan: @debadair @w33ble @kobelb can someone confirm if this issue is still valid? |
Original comment by @kobelb: @tsullivan the API call still requires this header; however, now that we have the new reporting attachment type I don't know if this is still relevant. |
Original comment by @tsullivan: @kobelb if you don't mind, can you track down if there still are documentation needs? We have a lot of old issues in this repo, and a lot of them are irrelevant. That makes finding important stuff harder. |
Original comment by @w33ble: AFAIK, you shouldn't need both headers. If you use In 5.1, all the header stuff was replaced by the |
There are a few related issues to this: |
Close via #40931 |
Original comment by @ppf2:
Something we changed recently in the reporting plugin now requires an additional header to be set when using the generation URL via a POST, but we failed to document this in the reporting guide. This results in Watcher-reporting integration failing with Http status 400 because of the missing header.
Not sure when we introduced this but I happen to be using reporting 2.4.2 plugin and I have to set the kbn-version to match the version (example below is for a Kibana instance running 4.6.0) of Kibana as an additional header for it to work:
This is missed in our documentation: https://www.elastic.co/guide/en/reporting/current/getting-started.html#automating-report-generation
We should update the example watch + reporting release notes in the documentation accordingly if this is an intended change.
The text was updated successfully, but these errors were encountered: