FortiProxy
FortiProxy provides enterprise-class protection against internet-borne threats and Advanced Web Content Caching
pginete
Staff
Staff
Article Id 256452
Description

This article describes how to fix the no logs appearing in HTTP Transaction Log.

Scope FortiProxy.
Solution

Under the Log & Report -> HTTP Transaction Log, no logs are appearing even if there is traffic passing through FortiProxy.


http log transaction no logs.png

 

Even in the CLI, no logs are appearing in HTTP Transaction Log.

 

http log transaction no logs cli.png

 

Enable the Log HTTP Transaction on every Transparent or Explicit Proxy policy under Policy & Objects -> Policy and select 'Apply' to save the changes.

 

https transaction enable.jpg

 

Use the commands below to enable the HTTP Transaction Log in the transparent or explicit proxy policies.

 

config firewall policy

    edit <id>

        set log-http-transaction enable

    next

end

 

The HTTP Transaction Log is now showing logs.

 

date=2024-08-12 time=13:12:47 eventtime=1723457567180725453 tz="+0300" logid="0010000099" type="traffic" subtype="http-transaction" level="notice" vd="root" srcip=10.212.3.1 dstip=147.182.197.70 clientip=10.212.3.1 scheme="http" srcport=64088 dstport=80 hostname="www.nekocloud.com" url=" http://www.nekocloud.com/vendor/jquery-easing/jquery.easing.min.js" prefetch=0 policyid=23 sessionid=1231606552 transid=67108915 reqlength=360 resplength=1160 rcvdbyte=1160 sentbyte=360 resptype="normal" referralurl=" http://www.nekocloud.com/" httpmethod="GET" agent="Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:129.0) Gecko/20100101 Firefox/129.0" statuscode="200" rawdata="Time=336ms|Header-Host=www.nekocloud.com|Response-Content-Type=text/javascript" reqtime=1723457566 resptime=1723457567 respfinishtime=1723457567 duration=335 appcat="unscanned"

 

http transaction log result.png