AnsweredAssumed Answered

Rule base export with zero hit count

Question asked by Arunachalam Ganesan on Feb 7, 2019
Latest reply on Feb 9, 2019 by Kannan R

Hi 

 

I am trying to export the rules with zero hit count for past three months using API to do a rule base clean up.

 

Is there a way to filter only the rules with zero counts to be exported using show access-rulebase command

 

My commnad as follows 

mgmt_cli show access-rulebase offset 0 limit 20 name "Network" details-level "standard" use-object-dictionary true show-hits true hits-settings.from-date "2019-01-01" hits-settings.to-date "2019-01-30" hits-settings.target "XXX"

 

Thanks & Regards

Arun

Outcomes