# Create document in couchdb from kibana

**URL:** <https://discuss.elastic.co/t/create-document-in-couchdb-from-kibana/107097>\
**Category:** Kibana\
**Created:** [November 9, 2017, 7:41pm UTC](https://discuss.elastic.co/t/create-document-in-couchdb-from-kibana/107097 "2017-11-09T19:41:25Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![wkpv68](https://avatars.discourse-cdn.com/v4/letter/w/73ab20/32.png) [@wkpv68](https://discuss.elastic.co/u/wkpv68)\
**Post date:** [November 9, 2017, 7:41pm UTC](https://discuss.elastic.co/t/create-document-in-couchdb-from-kibana/107097/1 "2017-11-09T19:41:25Z")

</div>

Hi,

I want to create document in couchdb from kibana dashboard.  
I have CouchDB that connect with elasticsearch and logstash to kibana and all the documents received.

I want to be able to have a button or markdown in kibana dashboard that create document in CouchDB (via POST command or js for example).

Is it possible to send POST command (or by other way) to create CouchDB db?

Regards  
Yakir

---

<div class="post-metadata">

**Author:** ![Stacey\_Gammon](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/stacey_gammon/32/14025_2.png) [@Stacey\_Gammon](https://discuss.elastic.co/u/Stacey_Gammon)\
**Post date:** [November 10, 2017, 2:04pm UTC](https://discuss.elastic.co/t/create-document-in-couchdb-from-kibana/107097/2 "2017-11-10T14:04:29Z")

</div>

You'd probably have to write a custom visualization plugin. You can watch a webinar on how to do that here: [https://www.elastic.co/webinars/creating-custom-kibana-visualizations](https://www.elastic.co/webinars/creating-custom-kibana-visualizations).

We are also in the process of formalizing a more generic approach to embedding anything inside a dashboard, but it's still a work in progress, and will likely undergo significant changes, so I wouldn't recommend anything above light exploration towards this second option. If you want to take a look though you can start with the initial PR - [https://github.com/elastic/kibana/pull/12146/files](https://github.com/elastic/kibana/pull/12146/files).

Otherwise, there is no built in way to do what you are asking.

---

<div class="post-metadata">

**Author:** ![wkpv68](https://avatars.discourse-cdn.com/v4/letter/w/73ab20/32.png) [@wkpv68](https://discuss.elastic.co/u/wkpv68)\
**Post date:** [November 11, 2017, 5:19am UTC](https://discuss.elastic.co/t/create-document-in-couchdb-from-kibana/107097/3 "2017-11-11T05:19:42Z")

</div>

Thanks a lot  
I'll create new plugin

---

<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:** [December 9, 2017, 5:19am UTC](https://discuss.elastic.co/t/create-document-in-couchdb-from-kibana/107097/4 "2017-12-09T05:19:51Z")

</div>

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