Skip to content
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 for Automating Report Generation has legacy example code contents #40661

Closed
tsullivan opened this issue Jul 9, 2019 · 2 comments
Labels
bug Fixes for quality problems that affect the customer experience (Deprecated) Feature:Reporting Use Reporting:Screenshot, Reporting:CSV, or Reporting:Framework instead Team:Docs v7.2.0

Comments

@tsullivan
Copy link
Member

Kibana version: Docs: 7.2

Reporting has outdated documentation on how to integrate Watcher and Reporting: https://www.elastic.co/guide/en/kibana/7.2/automating-report-generation.html.

The page says to "copy and paste the URL from the Kibana UI", however, if instead the user chooses to copy and modify the example URL on the page, it will give them a "legacy" generation URL that is missing API fields.

  "actions" : {
    "email_admin" : { 
      "email": {
        "to": "'Recipient Name <[email protected]>'",
        "subject": "Error Monitoring Report",
        "attachments" : {
          "error_report.pdf" : {
            "reporting" : {
              "url": "http://0.0.0.0:5601/api/reporting/generate/dashboard/Error-Monitoring?_g=(time:(from:now-1d%2Fd,mode:quick,to:now))", 
              "retries":6, 
              "interval":"1s", 
              "auth":{ 
                "basic":{
                  "username":"elastic",
                  "password":"changeme"

The URL should be something more closer to http://0.0.0.0:5601/api/reporting/generate/printablePdf?jobParams=...

@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-docs

@tsullivan tsullivan added the bug Fixes for quality problems that affect the customer experience label Jul 9, 2019
@lcawl lcawl added (Deprecated) Feature:Reporting Use Reporting:Screenshot, Reporting:CSV, or Reporting:Framework instead v7.2.0 labels Jul 9, 2019
@tsullivan
Copy link
Member Author

Close via #40931

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Fixes for quality problems that affect the customer experience (Deprecated) Feature:Reporting Use Reporting:Screenshot, Reporting:CSV, or Reporting:Framework instead Team:Docs v7.2.0
Projects
None yet
Development

No branches or pull requests

3 participants