# Display data from external REST API in Kibana

**URL:** <https://discuss.elastic.co/t/display-data-from-external-rest-api-in-kibana/301317>\
**Category:** Kibana\
**Created:** [April 1, 2022, 11:23am UTC](https://discuss.elastic.co/t/display-data-from-external-rest-api-in-kibana/301317 "2022-04-01T11:23:18Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![SuprithaAradhya](https://avatars.discourse-cdn.com/v4/letter/s/a8b319/32.png) [@SuprithaAradhya](https://discuss.elastic.co/u/SuprithaAradhya)\
**Post date:** [April 1, 2022, 11:23am UTC](https://discuss.elastic.co/t/display-data-from-external-rest-api-in-kibana/301317/1 "2022-04-01T11:23:18Z")

</div>

I want to display some data in Kibana but this data is not present in Elasticsearch or Kibana. I want to read this data from an external REST API, i would be happy if I can do this inside Kibana page or can I add a new page in Kibana to read the data from external REST API ?

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [April 4, 2022, 12:41am UTC](https://discuss.elastic.co/t/display-data-from-external-rest-api-in-kibana/301317/2 "2022-04-04T00:41:08Z")

</div>

Welcome to our community! 😃

The only way would be to create a custom plugin that does this. Otherwise Kibana only reads data from Elasticsearch.

---

<div class="post-metadata">

**Author:** ![SuprithaAradhya](https://avatars.discourse-cdn.com/v4/letter/s/a8b319/32.png) [@SuprithaAradhya](https://discuss.elastic.co/u/SuprithaAradhya)\
**Post date:** [April 14, 2022, 6:06am UTC](https://discuss.elastic.co/t/display-data-from-external-rest-api-in-kibana/301317/3 "2022-04-14T06:06:32Z")

</div>

Thank you 😃

I tried with generator-kibana-plugin, there's a node version mismatch since our kibana supports node 10.23.1 and running the command "yo kibana-plugin" for creating a custom plugin is throwing error.

The error is because Object.fromEntries supports node version above 12, but our node version is 10.23.1.

Here's the console output,

```auto
Now using node v10.23.1 (npm v6.14.10)
novell@worker-node:~/custom-kibana-plugin$ yo kibana-plugin
/home/novell/.nvm/versions/node/v10.23.1/lib/node_modules/yo/node_modules/npm-registry-fetch/node_modules/@npmcli/fs/lib/fs.js:6
const fsSync = Object.fromEntries(Object.entries(fs).filter(([k, v]) =>
                      ^
TypeError: Object.fromEntries is not a function
    at Object.<anonymous> (/home/novell/.nvm/versions/node/v10.23.1/lib/node_modules/yo/node_modules/npm-registry-fetch/node_modules/@npmcli/fs/lib/fs.js:6:23)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
    at Function.Module._load (internal/modules/cjs/loader.js:585:3)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at Object.<anonymous> (/home/novell/.nvm/versions/node/v10.23.1/lib/node_modules/yo/node_modules/npm-registry-fetch/node_modules/@npmcli/fs/lib/index.js:2:6)
    at Module._compile (internal/modules/cjs/loader.js:778:30)

```

And since kibana plugin and kibana should have the same node version, using latest node version throws incorrect node version error.

```auto
novell@worker-node:~/custom-kibana-plugin$ node --version
v16.14.2
novell@worker-node:~/custom-kibana-plugin$ yo kibana-plugin
✖ Incorrect Node.js Version
     info Required version: 10.23.1
     info Current version: 16.14.2
     info See https://github.com/elastic/generator-kibana-plugin#getting-started

```

**Can you please help me with this?**

---

<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:** [May 12, 2022, 6:07am UTC](https://discuss.elastic.co/t/display-data-from-external-rest-api-in-kibana/301317/4 "2022-05-12T06:07:03Z")

</div>

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