# No Results Found when embed=true in Visualization snapshot

**URL:** <https://discuss.elastic.co/t/no-results-found-when-embed-true-in-visualization-snapshot/124555>\
**Category:** Kibana\
**Created:** [March 19, 2018, 12:20pm UTC](https://discuss.elastic.co/t/no-results-found-when-embed-true-in-visualization-snapshot/124555 "2018-03-19T12:20:06Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![disiron](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/disiron/32/28935_2.png) [@disiron](https://discuss.elastic.co/u/disiron)\
**Post date:** [March 19, 2018, 12:20pm UTC](https://discuss.elastic.co/t/no-results-found-when-embed-true-in-visualization-snapshot/124555/1 "2018-03-19T12:20:06Z")

</div>

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))`

---

<div class="post-metadata">

**Author:** ![timroes](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/timroes/32/19712_2.png) [@timroes](https://discuss.elastic.co/u/timroes)\
**Post date:** [March 19, 2018, 12:56pm UTC](https://discuss.elastic.co/t/no-results-found-when-embed-true-in-visualization-snapshot/124555/2 "2018-03-19T12:56:20Z")

</div>

Hey,

that looks like a bug to me. Could you please open a [new issue](https://github.com/elastic/kibana/issues/new) for that.

Cheers,  
Tim

---

<div class="post-metadata">

**Author:** ![disiron](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/disiron/32/28935_2.png) [@disiron](https://discuss.elastic.co/u/disiron)\
**Post date:** [March 19, 2018, 1:54pm UTC](https://discuss.elastic.co/t/no-results-found-when-embed-true-in-visualization-snapshot/124555/3 "2018-03-19T13:54:00Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [April 16, 2018, 1:54pm UTC](https://discuss.elastic.co/t/no-results-found-when-embed-true-in-visualization-snapshot/124555/4 "2018-04-16T13:54:10Z")

</div>

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