# Embedding kibana visualisation

**URL:** https://discuss.elastic.co/t/embedding-kibana-visualisation/198918
**Category:** Kibana
**Created:** [September 10, 2019, 2:33pm UTC](https://discuss.elastic.co/t/embedding-kibana-visualisation/198918 "2019-09-10T14:33:56Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![whitediver](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/whitediver/32/53736_2.png) [@whitediver](https://discuss.elastic.co/u/whitediver)
#### Post date: [September 10, 2019, 2:33pm UTC](https://discuss.elastic.co/t/embedding-kibana-visualisation/198918/1 "2019-09-10T14:33:56Z")

</div>

Then I try to embed visualization into my Kibana app I receive an error.

```
webpack://%5Bname%5D/./node_modules/angular/angular.js?:14928 SearchError: Couldn't find a search strategy for the search request
at _callee$ (http://localhost:5601/wri/bundles/commons.bundle.js:133683:29)
at tryCatch (webpack://%5Bname%5D/./node_modules/regenerator-runtime/runtime.js?:62:40)
at Generator.invoke [as _invoke] (webpack://%5Bname%5D/./node_modules/regenerator-runtime/runtime.js?:288:22)
at Generator.prototype.<computed> [as next] (webpack://%5Bname%5D/./node_modules/regenerator-runtime/runtime.js?:114:21)
at asyncGeneratorStep (http://localhost:5601/wri/bundles/commons.bundle.js:133668:103)
at _next (http://localhost:5601/wri/bundles/commons.bundle.js:133670:194)
at http://localhost:5601/wri/bundles/commons.bundle.js:133670:364
at new Promise (<anonymous>)
at Object.<anonymous> (http://localhost:5601/wri/bundles/commons.bundle.js:133670:97)
at Object.search (http://localhost:5601/wri/bundles/commons.bundle.js:133710:22) "Possibly unhandled rejection: {"name":"SearchError","status":"418","title":"No search strategy registered","path":"","type":"NO_OP_SEARCH_STRATEGY"}"

```

I used [this plugin](https://github.com/elastic/kibana_sample_plugin) to reproduce and got the same result

I test it with Kibana and Elasticsearch version 6.8.2 and got the same result then update them to 7.3.1

The same visualization on the Dashboard displayed correctly.

How could I debug, test and fix this issue?

---

<div class="post-metadata">

### Author: ![rashmi](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/rashmi/32/16391_2.png) [@rashmi](https://discuss.elastic.co/u/rashmi)
#### Post date: [September 11, 2019, 4:35am UTC](https://discuss.elastic.co/t/embedding-kibana-visualisation/198918/2 "2019-09-11T04:35:22Z")

</div>

@ppisljar can you plz guide here? using the kibana\_sample\_plugin here.

Thanks  
Rashmi

---

<div class="post-metadata">

### Author: ![ppisljar](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ppisljar/32/11588_2.png) [@ppisljar](https://discuss.elastic.co/u/ppisljar)
#### Post date: [September 11, 2019, 8:58am UTC](https://discuss.elastic.co/t/embedding-kibana-visualisation/198918/3 "2019-09-11T08:58:39Z")

</div>

that repository is out of date, rather take a look here:

> **[elastic/kibana](https://github.com/elastic/kibana/tree/master/test/plugin_functional)**
>
> Your window into the Elastic Stack. Contribute to elastic/kibana development by creating an account on GitHub.

  

> **[elastic/kibana](https://github.com/elastic/kibana/tree/master/test/plugin_functional/plugins/kbn_tp_visualize_embedding)**
>
> Your window into the Elastic Stack. Contribute to elastic/kibana development by creating an account on GitHub.

---

<div class="post-metadata">

### Author: ![whitediver](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/whitediver/32/53736_2.png) [@whitediver](https://discuss.elastic.co/u/whitediver)
#### Post date: [September 11, 2019, 11:35am UTC](https://discuss.elastic.co/t/embedding-kibana-visualisation/198918/4 "2019-09-11T11:35:45Z")

</div>

I tried to launch this plugin.  
Then I launch

`node scripts/functional_tests_server.js --config test/plugin_functional/config.js`

I see new application but can not switch visualization getting an error

`VM5064 commons.bundle.js:143132 Uncaught (in promise) SavedObjectNotFound {message: "Could not locate that visualization (id: timebased_with-filters)", savedObjectType: "visualization", savedObjectId: "timebased_with-filters", stack: "Error: Could not locate that visualization (id: ti…ame%5D/./node_modules/angular/angular.js?:6719:7)"}`

Could you please help? How to launch it right.

---

<div class="post-metadata">

### Author: ![whitediver](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/whitediver/32/53736_2.png) [@whitediver](https://discuss.elastic.co/u/whitediver)
#### Post date: [September 12, 2019, 1:29pm UTC](https://discuss.elastic.co/t/embedding-kibana-visualisation/198918/5 "2019-09-12T13:29:54Z")

</div>

I fond a problem.  
I do not include search library into my application  
Then I added  
`import 'uiExports/search';`  
It starts including my vis

---

<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: [October 10, 2019, 1:30pm UTC](https://discuss.elastic.co/t/embedding-kibana-visualisation/198918/6 "2019-10-10T13:30:01Z")

</div>

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