Skip to main content
localhost
Visitor III
September 24, 2015
Solved

Different Timezone for reports

  • September 24, 2015
  • 1 reply
  • 5307 views

Hi

 

Is it possible to define a different timezone for a report?

Right now it will always use the timezone of the fortianalyzer.

 

We want to send reports to branches in different timezones, and use their local time in the report.

And also use a specific local time range, like 'yesterday'.

 

Brgds

Sander

 

Best answer by hzhao_FTNT

Hi Sander, what's your faz version? From 5.2.2, you don't have to worry about local DB issue, system will do it for you. For your question, I think it can be done by XML APIs. "setFazConfig" will allow you change timezone, "runFazReport" will generate a report for you. If you are not familiar with it, please contact our local SE.

 

Regards,

Huai Zhao

1 reply

hzhao_FTNT
Staff
Staff
September 24, 2015

Hi Sander,

 

It is not possible to do it on GUI. Since the local DB server has to be restarted when you switch timezone, you have to manually select it before report running.

 

Regards,

hz

localhost
localhostAuthor
Visitor III
September 24, 2015

Hi hz

 

So you suggest, changing the timezone of the FortiAnalyzer, restart local DB Server and then generate the report and change it back to the original timezone and restart the local db again?

 

Would you use the FortiManager to run such a script on the FortiAnalyzer?

 

rgds

Sander

hzhao_FTNT
Staff
Staff
September 24, 2015

Hi Sander, what's your faz version? From 5.2.2, you don't have to worry about local DB issue, system will do it for you. For your question, I think it can be done by XML APIs. "setFazConfig" will allow you change timezone, "runFazReport" will generate a report for you. If you are not familiar with it, please contact our local SE.

 

Regards,

Huai Zhao