Unable to generate Dashboard pdf through URL

I want to generate reports of dashboard and want them sent to me on daily basis through mail.

I have set up watcher and configured it correctly to receive emails. I tried sending a normal pdf and it works just fine.
But when I send the kibana dashboard pdf It says unable to open. I also tried opening the URL in browser and curl post request on the below url

https://71e0d9c8a523442b8c88fed703f4c7a7.europe-west1.gcp.cloud.es.io:9243/api/reporting/generate/printablePdf?jobParams=(browserTimezone:Asia%2FCalcutta,layout:(dimensions:(height:1660,width:1169),id:preserve_layout),objectType:dashboard,relativeUrls:!(%27%2Fapp%2Fkibana%23%2Fdashboard%2F180da050-0f4f-11e9-b4aa-af33e0b82096%3F_g%3D(refreshInterval:(pause:!!t,value:0),time:(from:now-24h,mode:quick,to:now))%26_a%3D(description:!%27!%27,filters:!!((!%27$state!%27:(store:appState),meta:(alias:www.india.com,disabled:!!f,index:!%2725dcd4e0-0f3a-11e9-b4aa-af33e0b82096!%27,key:parsed.bizid,negate:!!f,params:(query:!%2710201!%27,type:phrase),type:phrase,value:!%2710201!%27),query:(match:(parsed.bizid:(query:!%2710201!%27,type:phrase))))),fullScreenMode:!!f,options:(darkTheme:!!f,hidePanelTitles:!!f,useMargins:!!t),panels:!!((embeddableConfig:(),gridData:(h:15,i:!%271!%27,w:24,x:0,y:0),id:ede18350-0f3a-11e9-bd84-015e8850abb3,panelIndex:!%271!%27,title:!%27Source%2Bwise%2BSuspects!%27,type:visualization,version:!%276.5.2!%27),(embeddableConfig:(),gridData:(h:15,i:!%272!%27,w:24,x:24,y:15),id:!%275670c930-0f3b-11e9-bd84-015e8850abb3!%27,panelIndex:!%272!%27,title:!%27Device%2Bwise%2BSuspects!%27,type:visualization,version:!%276.5.2!%27),(embeddableConfig:(),gridData:(h:15,i:!%273!%27,w:24,x:24,y:0),id:b1fd0950-0f3e-11e9-bd84-015e8850abb3,panelIndex:!%273!%27,title:!%27Total%2BPage%2BViews!%27,type:visualization,version:!%276.5.2!%27),(embeddableConfig:(),gridData:(h:15,i:!%274!%27,w:24,x:0,y:15),id:!%276d564f40-0f3f-11e9-bd84-015e8850abb3!%27,panelIndex:!%274!%27,title:!%27Device%2BBreakup!%27,type:visualization,version:!%276.5.2!%27),(embeddableConfig:(),gridData:(h:15,i:!%275!%27,w:24,x:0,y:30),id:df426bb0-0f3b-11e9-bd84-015e8850abb3,panelIndex:!%275!%27,title:!%27City%2Bwise%2BSuspects!%27,type:visualization,version:!%276.5.2!%27),(embeddableConfig:(),gridData:(h:14,i:!%276!%27,w:48,x:0,y:45),id:!%2710512ac0-0f3c-11e9-bd84-015e8850abb3!%27,panelIndex:!%276!%27,title:!%27Suspect%2BApps!%27,type:visualization,version:!%276.5.2!%27),(embeddableConfig:(),gridData:(h:15,i:!%278!%27,w:24,x:24,y:30),id:!%2709651800-0f3e-11e9-bd84-015e8850abb3!%27,panelIndex:!%278!%27,title:!%27OS%2BVersus%2BSuspects!%27,type:visualization,version:!%276.5.2!%27)),query:(language:lucene,query:!%27!%27),timeRestore:!!f,title:!%27www.india.com%2B-%2BSummary%2BDashboard!%27,viewMode:view)%27),title:%27www.india.com%20-%20Summary%20Dashboard%27)

It just returns the URL back in the pdf.

These are the parameters in my watch.

 "http": {
          "request": {
            "scheme": "https",
            "host": "71e0d9c8a523442b8c88fed703f4c7a7.europe-west1.gcp.cloud.es.io",
            "port": 9243,
            "method": "post",
            "path": "/api/reporting/generate/printablePdf",
            "params": {
              "jobParams": "(browserTimezone:Asia/Calcutta,layout:(dimensions:(height:1660,width:1169),id:preserve_layout),objectType:dashboard,relativeUrls:!('/app/kibana#/dashboard/180da050-0f4f-11e9-b4aa-af33e0b82096?_g=(refreshInterval:(pause:!!t,value:0),time:(from:now-24h,mode:quick,to:now))&_a=(description:!'!',filters:!!((!'$state!':(store:appState),meta:(alias:www.india.com,disabled:!!f,index:!'25dcd4e0-0f3a-11e9-b4aa-af33e0b82096!',key:parsed.bizid,negate:!!f,params:(query:!'10201!',type:phrase),type:phrase,value:!'10201!'),query:(match:(parsed.bizid:(query:!'10201!',type:phrase))))),fullScreenMode:!!f,options:(darkTheme:!!f,hidePanelTitles:!!f,useMargins:!!t),panels:!!((embeddableConfig:(),gridData:(h:15,i:!'1!',w:24,x:0,y:0),id:ede18350-0f3a-11e9-bd84-015e8850abb3,panelIndex:!'1!',title:!'Source+wise+Suspects!',type:visualization,version:!'6.5.2!'),(embeddableConfig:(),gridData:(h:15,i:!'2!',w:24,x:24,y:15),id:!'5670c930-0f3b-11e9-bd84-015e8850abb3!',panelIndex:!'2!',title:!'Device+wise+Suspects!',type:visualization,version:!'6.5.2!'),(embeddableConfig:(),gridData:(h:15,i:!'3!',w:24,x:24,y:0),id:b1fd0950-0f3e-11e9-bd84-015e8850abb3,panelIndex:!'3!',title:!'Total+Page+Views!',type:visualization,version:!'6.5.2!'),(embeddableConfig:(),gridData:(h:15,i:!'4!',w:24,x:0,y:15),id:!'6d564f40-0f3f-11e9-bd84-015e8850abb3!',panelIndex:!'4!',title:!'Device+Breakup!',type:visualization,version:!'6.5.2!'),(embeddableConfig:(),gridData:(h:15,i:!'5!',w:24,x:0,y:30),id:df426bb0-0f3b-11e9-bd84-015e8850abb3,panelIndex:!'5!',title:!'City+wise+Suspects!',type:visualization,version:!'6.5.2!'),(embeddableConfig:(),gridData:(h:14,i:!'6!',w:48,x:0,y:45),id:!'10512ac0-0f3c-11e9-bd84-015e8850abb3!',panelIndex:!'6!',title:!'Suspect+Apps!',type:visualization,version:!'6.5.2!'),(embeddableConfig:(),gridData:(h:15,i:!'8!',w:24,x:24,y:30),id:!'09651800-0f3e-11e9-bd84-015e8850abb3!',panelIndex:!'8!',title:!'OS+Versus+Suspects!',type:visualization,version:!'6.5.2!')),query:(language:lucene,query:!'!'),timeRestore:!!f,title:!'www.india.com+-+Summary+Dashboard!',viewMode:view)'),title:'www.india.com - Summary Dashboard')",
              "sync": ""
            },
            "headers": {
              "kbn-xsrf": "reporting"
            },
            "auth": {
              "basic": {
                "username": "elastic",
                "password": "::es_redacted::"
              }
            },
            "read_timeout_millis": 300000
          },
          "content_type": "application/pdf"
        }

Please suggest what can be going wrong.

Thanks in advance.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.