# Field Definitions

Each **Raw Log** entry contains detailed information about CDN requests processed by Medianova edge servers.\
Fields are grouped by category for clarity and consistency.\
You can select which fields to display in the [Medianova Control Panel](https://cloud.medianova.com) using the **Edit Columns** option under **MN Logz → Raw Logs**.

### **Request Information**

<table data-header-hidden><thead><tr><th width="300.00006103515625"></th><th></th></tr></thead><tbody><tr><td><strong>Field Name</strong></td><td><strong>Description</strong></td></tr><tr><td><code>timestamp</code></td><td>Time when the CDN edge received the request (UTC).</td></tr><tr><td><code>request_id</code></td><td>Unique identifier assigned to each request.</td></tr><tr><td><code>request_method</code></td><td>HTTP method used (GET, POST, PUT, etc.).</td></tr><tr><td><code>request_uri</code></td><td>Full URI path requested by the client.</td></tr><tr><td><code>request_param</code></td><td>Query string parameters included in the request.</td></tr><tr><td><code>http_protocol</code></td><td>HTTP version (e.g., HTTP/1.1, HTTP/2).</td></tr><tr><td><code>server_name</code></td><td>Domain or hostname requested.</td></tr><tr><td><code>status</code></td><td>HTTP response status code returned by the CDN.</td></tr></tbody></table>

### **Response & Cache Metrics**

<table data-header-hidden><thead><tr><th width="300"></th><th></th></tr></thead><tbody><tr><td><strong>Field Name</strong></td><td><strong>Description</strong></td></tr><tr><td><code>proxy_cache_status</code></td><td>Cache result: HIT, MISS, BYPASS, EXPIRED, or STALE.</td></tr><tr><td><code>content_type</code></td><td>MIME type of the response.</td></tr><tr><td><code>body_bytes_sent</code></td><td>Size of the response body (in bytes).</td></tr><tr><td><code>bytes_sent</code></td><td>Total number of bytes sent to the client.</td></tr><tr><td><code>body_received</code></td><td>Bytes received from the client (for uploads or POST requests).</td></tr><tr><td><code>request_time</code></td><td>Total time (seconds) spent processing the request.</td></tr><tr><td><code>upstream_response_time</code></td><td>Time (seconds) taken by the origin to respond.</td></tr><tr><td><code>sent_http_content_length</code></td><td>Content-Length header sent in the response.</td></tr></tbody></table>

### **Client & Network Details**

<table data-header-hidden><thead><tr><th width="299"></th><th></th></tr></thead><tbody><tr><td><strong>Field Name</strong></td><td><strong>Description</strong></td></tr><tr><td><code>remote_addr</code></td><td>IP address of the client initiating the request.</td></tr><tr><td><code>remote_port</code></td><td>Source port used by the client.</td></tr><tr><td><code>country_code</code></td><td>Two-letter ISO country code of the client IP.</td></tr><tr><td><code>asn</code></td><td>Autonomous System Number of the client’s network.</td></tr><tr><td><code>isp</code></td><td>Internet Service Provider name.</td></tr><tr><td><code>tcp_info_rtt</code></td><td>TCP round-trip time (ms).</td></tr><tr><td><code>tcp_info_rtt_var</code></td><td>TCP round-trip time variance.</td></tr><tr><td><code>scheme</code></td><td>Protocol used (<code>http</code> or <code>https</code>).</td></tr></tbody></table>

### **User & Header Information**

<table data-header-hidden><thead><tr><th width="300"></th><th></th></tr></thead><tbody><tr><td><strong>Field Name</strong></td><td><strong>Description</strong></td></tr><tr><td><code>http_user_agent</code></td><td>Browser or client user agent string.</td></tr><tr><td><code>http_referrer</code></td><td>Referring page or source URL.</td></tr><tr><td><code>http_host</code></td><td>Host header from the original HTTP request.</td></tr><tr><td><code>via</code></td><td>Proxy routing information sent in the Via header.</td></tr><tr><td><code>resource_uuid</code></td><td>Unique identifier of the CDN resource.</td></tr><tr><td><code>account_type</code></td><td>Type of account (enterprise, standard, etc.).</td></tr></tbody></table>

### **Example Raw Log Entry**

```json
{
  "timestamp": "2025-04-13T16:18:54+03:00",
  "request_id": "4cf6103583ff66578fa4466a074095d6",
  "request_method": "GET",
  "request_uri": "/uploads/assets/demo/image.svg",
  "status": "200",
  "proxy_cache_status": "HIT",
  "bytes_sent": "1674",
  "country_code": "TR",
  "asn": "47331",
  "isp": "Turk Telekom",
  "request_time": 0.12
}
```

{% hint style="info" %}
Each log line represents a single request processed by a CDN edge node.\
Empty or unavailable fields are omitted automatically from the log entry.
{% endhint %}

### **Usage Notes**

* All field names are **case-sensitive**.
* Units are represented in **seconds** (time) and **bytes** (size).
* Logs are formatted as JSON and updated in real time.
* Only active resources with traffic will generate visible data.
