F5 is upgrading its customer support chat feature on My.F5.com. Chat support will be unavailable from 6am-10am PST on 1/20/26. Refer to K000159584 for details.

Forum Discussion

Ashok_G_263579's avatar
Ashok_G_263579
Icon for Nimbostratus rankNimbostratus
Aug 08, 2017

AFM Active Rules Hit Count

Hello,

 

Can anyone help me how to fetch the AFM rule hit count from API/tmsh? I see the option present in GUI however in the the api output of fetching rules information, its not present. Could someone help on the same?

 

 

2 Replies

  • Try the following command:

    tmsh show security firewall rule-stat

    If you want to show stats for a particular rule, you can grep for the rule name. For example:

    tmsh show security firewall rule-stat | grep "my_rule"