Query : GET average document count

Hi all ,

What would be the query to get average number of documents added per day on my index ?
Is there any workaround or query to aggregate this data ?

Thanks !
Hope to get a response

Hi!
The average doc per day, is that right? or would it be total doc per day?

You can just go to Len's do a count on records x axis @timestamp and then under advanced do normalize by units one day and there you will have it a graph or table of your daily count of your records against an index.

If you want the daily average over an arbitrary time, I'll take a quick look. Probably do that in lens as well.

Example Here is a table in Lens



3 Likes