Help with creating a search

Hello,

I'm trying to see if there's a way to make an API call so we can know when an index or an indices has not been written to for a specific period of time.

Is there a way to do this? I've been wracking my brain trying to learn how to make this myself, and wondering if maybe there's an easier way.

Thank you.

Welcome to our community! :smiley:

There's not directly, no. The easiest way to do this would be to use timestamps in your documents as a proxy for it, or look at the timestamp of the last indexing request from the Monitoring data (if you are using it).

Thank you. I'll see if maybe that works, or if we need to attack the problem differently.