This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Traffic (in & out) by API

Hi all,

we are querying the firewall rule list from a v18.x Sophos with the following endpoint:

/webconsole/APIController?reqxml=<Request><Login><Username>xxxxx</Username><Password>xxxxx</Password></Login><Get><FirewallRule/></Get>

Does anyone know how we can get the traffic (in & out) when querying a firewall rule that has log enabled?

Thanks,

Florian



This thread was automatically locked due to age.
Parents
  • FormerMember
    0 FormerMember

    Hi Florian, Thanks for reaching out to Sophos Community.

    This API request fetches the Firewall rule configurations. I have checked internally and found that Unfortunately, You won't be able to get traffic (In & Out) details through the API. 

  • Oh, that's a pitty. Any other way to get the traffic without using a netflow tool?

    Thanks for checking!

    Florian

  • XML API is a configuration based API. There is some data, which came from a database (like traffic in&out). 

    To get this data, you need a webadmin query, therefore there is no API. 

    But as far as i know, Central Reporting can get this data, but again in a web based manner. 

    __________________________________________________________________________________________________________________

Reply
  • XML API is a configuration based API. There is some data, which came from a database (like traffic in&out). 

    To get this data, you need a webadmin query, therefore there is no API. 

    But as far as i know, Central Reporting can get this data, but again in a web based manner. 

    __________________________________________________________________________________________________________________

Children