Update stats

How can i find out how often documents were updated via the _stats request?

can't find it, so i'm guessing it could be the get.exists_total value of the _stats request since at every update there has to be a request whether the document exists

"get" : {
        "total" : 2059140,
        "time_in_millis" : 408707,
        "exists_total" : 1423198,
        "exists_time_in_millis" : 356269,
        "missing_total" : 635942,
        "missing_time_in_millis" : 52438,
        "current" : 0
      },

Thanks in advance

you can use this but it might also contain get requests that are coming from an API. There is no stats endpoint that only counts updates.

thanks!
another way would be comparing the number of indexing.index_total to doc.count, given that i don't delete documents, right?

Best,
Matthias

you could but those stats might be out of sync if you are actively indexing.

Ok, thanks

So there’s no reliable way to get the number of updates currently, right?

Best,
Matthias

well you could open an issue and we add it so you get it in the future. WDYT? Maybe you can even open a PR and add it? I am happy to help / guide

i'd be happy to help. a issue is the least i can do. a PR would be a great way to give back to the great software i enjoy working with every day. greatest blocker: lack of time, however, maybe you could give me a quick guide about the stats and how they're harvested?

sure thing. lets open an issue, paste the link here and we take it from there.

here we go:

thank you!

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