# Kibana not saving request in Dev Tools history

**URL:** <https://discuss.elastic.co/t/kibana-not-saving-request-in-dev-tools-history/125671>\
**Category:** Kibana\
**Created:** [March 26, 2018, 8:06pm UTC](https://discuss.elastic.co/t/kibana-not-saving-request-in-dev-tools-history/125671 "2018-03-26T20:06:03Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![arisbanach](https://avatars.discourse-cdn.com/v4/letter/a/f07891/32.png) [@arisbanach](https://discuss.elastic.co/u/arisbanach)\
**Post date:** [March 26, 2018, 8:06pm UTC](https://discuss.elastic.co/t/kibana-not-saving-request-in-dev-tools-history/125671/1 "2018-03-26T20:06:03Z")

</div>

I am running the following request in Kibana's Dev Tools console:

```
POST _reindex
{
  "source": {
    "index": "old_index_pattern-2018-03"
  },
  "dest": {
    "index": "new_index_pattern-2018-03"
  },
  "script": {
  "source": "ctx._id = ctx._source.id; ctx._type = 'metric'",
  "lang": "painless"
  }
}

```

but it never gets saved in the History section. All of my other requests do. I'm not sure why.

Any thoughts?

---

<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:** [March 26, 2018, 9:40pm UTC](https://discuss.elastic.co/t/kibana-not-saving-request-in-dev-tools-history/125671/2 "2018-03-26T21:40:47Z")

</div>

Per documentation, Console maintains a list of the last 500 requests that were successfully executed by Elasticsearch. The history is available by clicking the clock icon on the top right side of the window.

[https://www.elastic.co/guide/en/kibana/current/history.html](https://www.elastic.co/guide/en/kibana/current/history.html)

Hope this helps ?

Cheers  
Rashmi

---

<div class="post-metadata">

**Author:** ![arisbanach](https://avatars.discourse-cdn.com/v4/letter/a/f07891/32.png) [@arisbanach](https://discuss.elastic.co/u/arisbanach)\
**Post date:** [March 26, 2018, 9:53pm UTC](https://discuss.elastic.co/t/kibana-not-saving-request-in-dev-tools-history/125671/3 "2018-03-26T21:53:33Z")

</div>

That's what I mean. When I open History I can see everything in there except for this request type.

---

<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:** [March 26, 2018, 9:59pm UTC](https://discuss.elastic.co/t/kibana-not-saving-request-in-dev-tools-history/125671/4 "2018-03-26T21:59:48Z")

</div>

> [@arisbanach](#):
>
> POST \_reindex  
> {  
> "source": {  
> "index": "old\_index\_pattern-2018-03"  
> },  
> "dest": {  
> "index": "new\_index\_pattern-2018-03"  
> },  
> "script": {  
> "source": "ctx.\_id = ctx.\_source.id; ctx.\_type = 'metric'",  
> "lang": "painless"  
> }  
> }

huh surprising! I just copy pasted your request in my console and it persisted. Which version are you on ?

Thanks  
Rashmi

---

<div class="post-metadata">

**Author:** ![arisbanach](https://avatars.discourse-cdn.com/v4/letter/a/f07891/32.png) [@arisbanach](https://discuss.elastic.co/u/arisbanach)\
**Post date:** [March 27, 2018, 2:14pm UTC](https://discuss.elastic.co/t/kibana-not-saving-request-in-dev-tools-history/125671/5 "2018-03-27T14:14:33Z")

</div>

6.0.1 using the AWS Elasticsearch service (so I can't upgrade to the latest)

---

<div class="post-metadata">

**Author:** ![arisbanach](https://avatars.discourse-cdn.com/v4/letter/a/f07891/32.png) [@arisbanach](https://discuss.elastic.co/u/arisbanach)\
**Post date:** [March 27, 2018, 2:19pm UTC](https://discuss.elastic.co/t/kibana-not-saving-request-in-dev-tools-history/125671/6 "2018-03-27T14:19:43Z")

</div>

If I wait for a while, it actually returns `Request failed to get to the server (status code: 504)`, even though it is definitely working.

---

<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:** [March 27, 2018, 3:32pm UTC](https://discuss.elastic.co/t/kibana-not-saving-request-in-dev-tools-history/125671/7 "2018-03-27T15:32:40Z")

</div>

Am not sure if AWS changed any of their internal APIs. It sounds like probably the reindex takes a long time and it's only added after a successful request. This sounds like a bug to me..  
Can you please open a bug in Dev tools and label it traige needed, we will investigate further.

> **[Build software better, together](https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Felastic%2Fkibana%2Fissues%2Fnew)**
>
> GitHub is where people build software. More than 27 million people use GitHub to discover, fork, and contribute to over 80 million projects.

Thanks  
Rashmi

---

<div class="post-metadata">

**Author:** ![arisbanach](https://avatars.discourse-cdn.com/v4/letter/a/f07891/32.png) [@arisbanach](https://discuss.elastic.co/u/arisbanach)\
**Post date:** [March 27, 2018, 11:20pm UTC](https://discuss.elastic.co/t/kibana-not-saving-request-in-dev-tools-history/125671/8 "2018-03-27T23:20:48Z")

</div>

Will do. Thanks!

---

<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 24, 2018, 11:21pm UTC](https://discuss.elastic.co/t/kibana-not-saving-request-in-dev-tools-history/125671/9 "2018-04-24T23:21:11Z")

</div>

Closed on April 24, 2018, 11:21pm UTC

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