No Results Found when embed=true in Visualization snapshot

Maybe i'm missing smth, but setting embed=true in Visualization snapshot url makes query return 0 results.. Any idea what may be a problem?

I'm trying to embed Visualization in iframe.
Literally this request works as expected in browser window:

http://192.168.129.21:5601/app/kibana#/visualize/edit/60c18cd0-2b52-11e8-a3fe-579fedce9575?_g=(refreshInterval:(display:Off,pause:!f,value:0),time:(from:now-6M,mode:quick,to:now))&_a=(filters:!(('$state':(store:appState),meta:(alias:!n,disabled:!f,index:'474699e0-2a11-11e8-a3fe-579fedce9575',key:event,negate:!f,params:(query:View,type:phrase),type:phrase,value:View),query:(match:(event:(query:View,type:phrase)))),('$state':(store:appState),meta:(alias:!n,disabled:!f,index:'474699e0-2a11-11e8-a3fe-579fedce9575',key:objectId,negate:!f,params:(query:'594f81ec157b124bd4253fd6',type:phrase),type:phrase,value:'594f81ec157b124bd4253fd6'),query:(match:(objectId:(query:'594f81ec157b124bd4253fd6',type:phrase))))),linked:!f,query:(language:lucene,query:''),uiState:(vis:(legendOpen:!t)),vis:(aggs:!((enabled:!t,id:'1',params:(),schema:metric,type:count),(enabled:!t,id:'2',params:(customInterval:'2h',extended_bounds:(),field:'@timestamp',interval:M,min_doc_count:1),schema:segment,type:date_histogram)),params:(addLegend:!t,addTimeMarker:!f,addTooltip:!t,categoryAxes:!((id:CategoryAxis-1,labels:(show:!t,truncate:100),position:bottom,scale:(type:linear),show:!t,style:(),title:(),type:category)),grid:(categoryLines:!f,style:(color:%23eee)),legendPosition:right,seriesParams:!((data:(id:'1',label:Count),drawLinesBetweenPoints:!t,mode:normal,show:true,showCircles:!t,type:line,valueAxis:ValueAxis-1)),times:!(),type:line,valueAxes:!((id:ValueAxis-1,labels:(filter:!f,rotate:0,show:!t,truncate:100),name:LeftAxis-1,position:left,scale:(mode:normal,type:linear),show:!t,style:(),title:(text:Count),type:value))),title:'All%20Views',type:line))

And this one (which is same but with "embed=true") displays 0 results:

http://192.168.129.21:5601/app/kibana#/visualize/edit/60c18cd0-2b52-11e8-a3fe-579fedce9575?embed=true&_g=(refreshInterval:(display:Off,pause:!f,value:0),time:(from:now-6M,mode:quick,to:now))&_a=(filters:!(('$state':(store:appState),meta:(alias:!n,disabled:!f,index:'474699e0-2a11-11e8-a3fe-579fedce9575',key:event,negate:!f,params:(query:View,type:phrase),type:phrase,value:View),query:(match:(event:(query:View,type:phrase)))),('$state':(store:appState),meta:(alias:!n,disabled:!f,index:'474699e0-2a11-11e8-a3fe-579fedce9575',key:objectId,negate:!f,params:(query:'594f81ec157b124bd4253fd6',type:phrase),type:phrase,value:'594f81ec157b124bd4253fd6'),query:(match:(objectId:(query:'594f81ec157b124bd4253fd6',type:phrase))))),linked:!f,query:(language:lucene,query:''),uiState:(vis:(legendOpen:!t)),vis:(aggs:!((enabled:!t,id:'1',params:(),schema:metric,type:count),(enabled:!t,id:'2',params:(customInterval:'2h',extended_bounds:(),field:'@timestamp',interval:M,min_doc_count:1),schema:segment,type:date_histogram)),params:(addLegend:!t,addTimeMarker:!f,addTooltip:!t,categoryAxes:!((id:CategoryAxis-1,labels:(show:!t,truncate:100),position:bottom,scale:(type:linear),show:!t,style:(),title:(),type:category)),grid:(categoryLines:!f,style:(color:%23eee)),legendPosition:right,seriesParams:!((data:(id:'1',label:Count),drawLinesBetweenPoints:!t,mode:normal,show:true,showCircles:!t,type:line,valueAxis:ValueAxis-1)),times:!(),type:line,valueAxes:!((id:ValueAxis-1,labels:(filter:!f,rotate:0,show:!t,truncate:100),name:LeftAxis-1,position:left,scale:(mode:normal,type:linear),show:!t,style:(),title:(text:Count),type:value))),title:'All%20Views',type:line))

Hey,

that looks like a bug to me. Could you please open a new issue for that.

Cheers,
Tim

That's strange because i literally cannot make iframe sharing work at all.. I believe this bug would be noticed at some point before.

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