receiver API Data?

I have noticed only the past 2-3 months of data exists if I pull by month, is there a way for me to go further back?
how exactly do you pull the data - and how long has the system been running?

It works as expected here in my test-setup
 
Hello @Stoiko Ivanov ,

Thanks for the response.
I want to say we have been running the system since at least 9/2020 and I do have graphical stats within the GUI.

I run
"pmgsh get /statistics/receiver -month 1" and get no results, until I run it with 7 (July) and get results for 7,8.
 
I neglected to mention, I have also added year.
pmgsh get /statistics/receiver -month 8 -year 2020 ( NO Results for 2020 )
pmgsh get /statistics/receiver -month 8 -year 2021 ( this works, so I know year parameter is working )
 
what's your statistics lifetime? - GUI->Configuration->Options (that's a tab on the top)
 
I never noticed that setting, unfortunately looks like 30 ( must be default ), I just updated it to 99,999.
Does that contain details and then generate the totals, or will it keep summary data?

Thanks!
 
another question slightly off topic about pmgsh, when I return the receiver it looks like it it counts every case instance of an email address as different, so Jack vs jack vs JACK. Is there a way to make it consider it the same?

Thanks!
 
Does that contain details and then generate the totals, or will it keep summary data?

The data does get summarized - however it the database size does grow proportionately with the number of days you configured there
-> keep an eye on the database size and used disk-space

another question slightly off topic about pmgsh, when I return the receiver it looks like it it counts every case instance of an email address as different, so Jack vs jack vs JACK. Is there a way to make it consider it the same?
see: https://bugzilla.proxmox.com/show_bug.cgi?id=1640

I hope this helps!