Support Forum
The Forums are a place to find answers on a range of Fortinet products from peers and product experts.
lmbrd
New Contributor III

Fortianalyzer get current analytical days

Hello, community.
I need to get the actual number of analytics days displayed in these places. Can I get this value via CLI or JSON API? (no matter which form: days, hours, minutes or seconds)1.png2.png

3.png

#Fortianalyzer

1 Solution
srajeswaran
Staff
Staff

You may use "diagnose test application logfiled 4", below given is a sample output.
"log"  refers to Archive and "db" refers to analytics. As per below output Aalytics has 150G and Archive has 50G allocated.

 

FAZ # diagnose test application logfiled 4 <ADOM Name> --- Optional
ADOM <ADOM Name>[XXXXXXXX] last-dvm-update:2h31m16s(ago) (1695639087)
quota : 200.0GB(log=50.0GB, db=150.0GB), split_ratio=75%(db), trim_thres=80%
retention : log=30 days, db=7 days(actual from 2023/09/18 11:31:24 to 2023/09/25 11:31:24), last_chk=11h32m(ago) next_chk=28m(later)

Regards,

Suraj

- Have you found a solution? Then give your helper a "Kudos" and mark the solution.

View solution in original post

3 REPLIES 3
srajeswaran
Staff
Staff

You may use "diagnose test application logfiled 4", below given is a sample output.
"log"  refers to Archive and "db" refers to analytics. As per below output Aalytics has 150G and Archive has 50G allocated.

 

FAZ # diagnose test application logfiled 4 <ADOM Name> --- Optional
ADOM <ADOM Name>[XXXXXXXX] last-dvm-update:2h31m16s(ago) (1695639087)
quota : 200.0GB(log=50.0GB, db=150.0GB), split_ratio=75%(db), trim_thres=80%
retention : log=30 days, db=7 days(actual from 2023/09/18 11:31:24 to 2023/09/25 11:31:24), last_chk=11h32m(ago) next_chk=28m(later)

Regards,

Suraj

- Have you found a solution? Then give your helper a "Kudos" and mark the solution.

lmbrd
New Contributor III

ty very much, Suraj.
Can I get this information through JSON API?

srajeswaran

I am not an expert in JSON, but I think this is possible.

Regards,

Suraj

- Have you found a solution? Then give your helper a "Kudos" and mark the solution.

Labels
Top Kudoed Authors