# Is there a way to edit documents in Kibana?

**URL:** <https://discuss.elastic.co/t/is-there-a-way-to-edit-documents-in-kibana/139264>\
**Category:** Kibana\
**Created:** [July 10, 2018, 5:13am UTC](https://discuss.elastic.co/t/is-there-a-way-to-edit-documents-in-kibana/139264 "2018-07-10T05:13:58Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Kvin](https://avatars.discourse-cdn.com/v4/letter/k/e99b99/32.png) [@Kvin](https://discuss.elastic.co/u/Kvin)\
**Post date:** [July 10, 2018, 5:13am UTC](https://discuss.elastic.co/t/is-there-a-way-to-edit-documents-in-kibana/139264/1 "2018-07-10T05:13:58Z")

</div>

I would like to know if there's a way to edit documents in Kibana's Discover tab. Either with a built in feature I've missed or with a plugin. So far I've failed to find anything like this, even though it feels like a pretty basic feature.

What I'm thinking about is a way to edit the documents in the Discover tab. Clicking on a field, edit its content, hit save somewhere and so on. So basically this would be an update call behind the scenes.

Does such feature exist or any plugin which serves the same or similar purpose?

---

<div class="post-metadata">

**Author:** ![Suhas\_K](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/suhas_k/32/31525_2.png) [@Suhas\_K](https://discuss.elastic.co/u/Suhas_K)\
**Post date:** [July 10, 2018, 5:33am UTC](https://discuss.elastic.co/t/is-there-a-way-to-edit-documents-in-kibana/139264/2 "2018-07-10T05:33:40Z")

</div>

Hey @Kvin

Yes you can make changes in the Documents in the Kibana, But for that you will have to enable Painless Scripting in your elasticsearch.yml

```auto
script.painless.regex.enabled: true

```

you can refer painless scrpiting here [Link](https://www.elastic.co/guide/en/elasticsearch/reference/master/modules-scripting-painless.html). You can wirte your script in Dev Tools.

Regards 🐅

---

<div class="post-metadata">

**Author:** ![Kvin](https://avatars.discourse-cdn.com/v4/letter/k/e99b99/32.png) [@Kvin](https://discuss.elastic.co/u/Kvin)\
**Post date:** [July 10, 2018, 6:20am UTC](https://discuss.elastic.co/t/is-there-a-way-to-edit-documents-in-kibana/139264/3 "2018-07-10T06:20:28Z")

</div>

Thank you for your reply, but this is not what I've meant. I think you are referring to the Dev Tools tab of Kibana, the interface where you can write PUT-s and GET-s. I'm referring to the Discover tab where you can list all your documents, write quick queries, adjust the time frame and so on. I would like to know if I can edit the documents from there or not.

---

<div class="post-metadata">

**Author:** ![Suhas\_K](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/suhas_k/32/31525_2.png) [@Suhas\_K](https://discuss.elastic.co/u/Suhas_K)\
**Post date:** [July 10, 2018, 6:33am UTC](https://discuss.elastic.co/t/is-there-a-way-to-edit-documents-in-kibana/139264/4 "2018-07-10T06:33:07Z")

</div>

Oh! I'm sorry for that, but as of my knowledge **editing** a document means adding new fields or deleting fields from your document. May be I'm not able to understand your requirment. If you could help me with a screenshot or a senario that can help me understand your problem.

About **Dev Tool** if we make any changes in dev tools either **UPDATE** or **DELETE** any document you will get the changes reflected in Kibana Discover Tab.

Regards 🐅

---

<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:** [August 7, 2018, 6:33am UTC](https://discuss.elastic.co/t/is-there-a-way-to-edit-documents-in-kibana/139264/5 "2018-08-07T06:33:13Z")

</div>

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