Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    Squid Proxy to log user agent, referrer etc

    Cache/Proxy
    2
    3
    1.0k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • N
      ng87
      last edited by

      Hi all
      Been trying to find where to set Squid proxy to log extra fields like http referer , user agent and more. Can't seem to find anything in relation to this, can someone point me in the right direction and the default logs are lacking .

      1 Reply Last reply Reply Quote 0
      • KOMK
        KOM
        last edited by

        There is nothing built-in to WebGUI for that AFAIK. You might be able to add the logfile definition declarations in one of the Advanced options boxes, perhaps under Integrations.

        https://wiki.squid-cache.org/SquidFaq/SquidLogs#useragent.log

        http://www.squid-cache.org/Doc/config/referer_log/

        1 Reply Last reply Reply Quote 0
        • N
          ng87
          last edited by

          thanks a lot. Will go through that documentation and try it out.

          1 Reply Last reply Reply Quote 0
          • First post
            Last post
          Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.