# Check, wehen an Engine was last updated

**URL:** https://discuss.elastic.co/t/check-wehen-an-engine-was-last-updated/308747
**Category:** Elastic Search
**Created:** [July 3, 2022, 1:43pm UTC](https://discuss.elastic.co/t/check-wehen-an-engine-was-last-updated/308747 "2022-07-03T13:43:30Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![John\_Agricola](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/john_agricola/32/103226_2.png) [@John\_Agricola](https://discuss.elastic.co/u/John_Agricola)
#### Post date: [July 3, 2022, 1:43pm UTC](https://discuss.elastic.co/t/check-wehen-an-engine-was-last-updated/308747/1 "2022-07-03T13:43:30Z")

</div>

Hi everyone,

We are running a script to keep our engines up to date. So now I try to build a little sanity check that iterates through all engines to see if they are up to date.

Is there a possibility to see, when an engine was last updated?

Thy in advance, John

---

<div class="post-metadata">

### Author: ![Sean\_Story](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/sean_story/32/69987_2.png) [@Sean\_Story](https://discuss.elastic.co/u/Sean_Story)
#### Post date: [July 5, 2022, 1:32pm UTC](https://discuss.elastic.co/t/check-wehen-an-engine-was-last-updated/308747/2 "2022-07-05T13:32:34Z")

</div>

Hey @John_Agricola ,

That's not something that we currently expose through our APIs. If you have a support relationship with Elastic, I'd encourage you to reach out and request that as an Enhancement Request.

In the meantime, as a workaround, you can find this metadata embedded in the Elasticsearch records we use to track Engines. Note that since it's not part of our API, this underlying data model is subject to change between versions, so I wouldn't rely on it for production, but if it's just a trouble-shooting step, you should be ok.

You'd want to do something like:

```auto
GET .ent-search-actastic-engines*/_search

```

(note that the suffix is a version counter that increments as you upgrade, so you want the largest number suffix present in your cluster)

and the response records should include an `updated_at` timestamp.

Hope this helps!

---

<div class="post-metadata">

### Author: ![John\_Agricola](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/john_agricola/32/103226_2.png) [@John\_Agricola](https://discuss.elastic.co/u/John_Agricola)
#### Post date: [July 5, 2022, 3:28pm UTC](https://discuss.elastic.co/t/check-wehen-an-engine-was-last-updated/308747/3 "2022-07-05T15:28:53Z")

</div>

Yeah, this helps... otherwise i can query for all docs and sort 🙂

---

<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 2, 2022, 3:29pm UTC](https://discuss.elastic.co/t/check-wehen-an-engine-was-last-updated/308747/4 "2022-08-02T15:29:33Z")

</div>

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