Trustwave and Cybereason Merge to Form Global MDR Powerhouse for Unparalleled Cybersecurity Value. Learn More

Trustwave and Cybereason Merge to Form Global MDR Powerhouse for Unparalleled Cybersecurity Value. Learn More

Services
Managed Detection & Response

Eliminate active threats with 24/7 threat detection, investigation, and response.

Co-Managed SOC (SIEM)

Maximize your SIEM investment, stop alert fatigue, and enhance your team with hybrid security operations support.

Advisory & Diagnostics

Advance your cybersecurity program and get expert guidance where you need it most.

Penetration Testing

Test your physical locations and IT infrastructure to shore up weaknesses before exploitation.

Database Security

Prevent unauthorized access and exceed compliance requirements.

Email Security

Stop email threats others miss and secure your organization against the #1 ransomware attack vector.

Digital Forensics & Incident Response

Prepare for the inevitable with 24/7 global breach response in-region and available on-site.

Firewall & Technology Management

Mitigate risk of a cyberattack with 24/7 incident and health monitoring and the latest threat intelligence.

Solutions
BY TOPIC
Microsoft Security
Unlock the full power of Microsoft Security
Offensive Security
Solutions to maximize your security ROI
Rapidly Secure New Environments
Security for rapid response situations
Securing the Cloud
Safely navigate and stay protected
Securing the IoT Landscape
Test, monitor and secure network objects
Why Trustwave
About Us
Awards and Accolades
Trustwave SpiderLabs Team
Trustwave Fusion Security Operations Platform
Trustwave Security Colony
Partners
Technology Alliance Partners
Key alliances who align and support our ecosystem of security offerings
Trustwave PartnerOne Program
Join forces with Trustwave to protect against the most advance cybersecurity threats
Loading...
Loading...

INFO: Sample Log File - Squid Net Cache Log File Format

Expand / Collapse


This article applies to:

  • Firewall Suite 4.X

Question:

What is an example of a Log File in Squid Net Cache Log File Format?

Information:

Sample Log File Format:

902351618.864 440 120.65.1.1 TCP_MISS/304 110 GET http://www.webtrends.com:8005/Images/search.gif - DIRECT/www.webtrends.com -
902351639.632 120.65.1.1 TCP_REFRESH_MISS/200 2014 GET http://www.webtrends.com/news/news.txt - DIRECT/newsroom.compuserve.com text/plain
902351659.571 274 207.65.46.33 TCP_CLIENT_REFRESH/200 1467 GET http://www.webtrends.com/news/headlines.txt - - DIRECT/www.webtrends.com text/plain
902351691.541 120.65.1.1 TCP_REFRESH_MISS/200 2014 GET http://www.webtrends.com/support/support.txt - DIRECT/www.webtrends.com text/plain
902351708.872 286 207.65.46.33 TCP_MISS/200 1384 GET http://www.webtrends.com/news/headlines.txt - - DIRECT/www.webtrends.com text/plain


Log File Field Structure Definitions:

  • Timestamp
    The time when the client socket is closed. The format is "Unix time" (seconds since Jan 1, 1970) with millisecond resolution. This can be modified to visible format by "cat access.log | perl -nwe s/^(\d+)/localtime($1)/e; print".

  • Elapsed Time
    The elapsed time of the request, in milliseconds. This is time between the accept() and close() of the client socket.

  • Client Address
    The IP address of the connecting client, or the FQDN if the 'log_fqdn' option is enabled in the config file.

  • Log Tag / HTTP Code
    The Log Tag describes how the request was treated locally (hit, miss, etc). All the tags are described in the link provided in the "Related Topics" section below. The HTTP code is the reply code taken from the first line of the HTTP reply header. Non-HTTP requests may have zeroreply codes.

  • Size
    The number of bytes written to the client.

  • Request Method
    The HTTP request method, or ICP_QUERY for ICP requests.

  • URL
    The requested URL.

  • Ident
    If 'ident_lookup' is enabled, this field may contain the user name associated with the client connection as derived from the ident service.

  • Hierarchy Data / Hostname
    A description of how and where the requested object was fetched.

  • Content Type
    The Content-type field from the HTTP reply.


 

This article was previously published as:
NETIQKB2418

To contact Trustwave about this article or to request support:


Rate this Article:
     
Tags:

Add Your Comments


Comment submission is disabled for anonymous users.
Please send feedback to Trustwave Technical Support or the Webmaster
.