Real-Time Logpush

Medianova's Real-Time Logpush enables you to automatically send detailed CDN request and response logs to your designated destination in real time or in intervals. This documentation outlines the setup, available fields, and log formats.

Overview

The Real-Time Logpush service delivers logs in JSON Lines format (.jsonl), compressed with Gzip (.txt.gz). Each log entry represents an HTTP request processed by Medianova's CDN edge servers.

Logs are pushed automatically every 5 minutes or when the size limit is reached—whichever comes first. For HTTP, the limit is 5 MB. For other options, it’s 50 MB.

For detailed information or to enable real-time logpush on your account, please contact our Sales Team at [email protected]

Delivery Method

Logs are pushed automatically every 5 minutes or when the size limit is reached—whichever comes first. For HTTP, the limit is 5 MB. For other options, it’s 50 MB.

Destination Types Supported

  • Medianova Stook (MN Storage Service)

  • Amazon S3

  • S3 Compatible Storage Services

  • HTTP/S endpoint

  • ElasticSearch Indexes

Configuration Steps

  1. Basic Info: Provide a name, description, and select resource(s) for your logpush job.

  1. Fields: Select from available log fields.

  1. Destination: Define the destination (e.g., Medianova Stook, Amazon S3, Google Cloud Storage and any S3 Compatible Storage, Elasticsearch or your own HTTP/S endpoint).

  2. Review: Verify your settings and activate the job.

Available Log Fields

You can select from the following fields to include in your logs:

Field Name
Description

Account Type

The type of account making the request.

Asn

Autonomous System Number of the client's ISP.

Body Bytes Sent

Bytes sent in the response body.

Body Received

Bytes received in the request body.

Bytes Sent

Total bytes sent from CDN to the client.

Client Port

Source port used by the client.

Content Type

The Content-Type of the response.

Country Code

ISO country code of the client IP address.

HTTP Host

The value of the Host HTTP header.

HTTP Protocol

HTTP version used (e.g., HTTP/1.1, HTTP/2).

HTTP Referrer

Referrer URL sent by the client.

HTTP User Agent

Browser or client user agent making the request.

Http X Request Host

The X-Request-Host HTTP header value.

Isp

Internet Service Provider of the client.

Proxy Cache Status

Status of CDN caching (HIT, MISS, BYPASS, etc.).

Remote Address

Client IP address initiating the request.

Request ID

Unique identifier assigned to each request.

Request Method

HTTP method used (GET, POST, etc.).

Request Parameters

Query parameters sent with the request.

Request Time

Total time taken by the CDN to process the request (s).

Request URI

Requested URI including path and query string.

Resource UUID

Unique identifier for the requested CDN resource.

Scheme

The request scheme (http or https).

Sent Http Content Length

The Content-Length of the response sent to the client.

Server Name

Domain name (Host header) requested.

SSL Cipher

The SSL/TLS cipher suite used for the connection.

SSL Protocol

The SSL/TLS protocol used for the connection.

Status

HTTP response status code returned by the CDN.

TCP Info RTT

The TCP round-trip time in milliseconds.

TCP Info RTT Var

The TCP round-trip time variance.

Timestamp

The time when the request was received at the edge server.

Upstream Response Time

The time taken by the upstream server to respond to the request (s).

Via

The value of the Via HTTP header.

Log Format Example

Each log entry is structured as a JSON line:

{"asn":"AS9121","body_bytes_sent":"22535","body_received":"174","bytes_sent":"22820","country_code":"TR","http_protocol":"HTTP/2.0","http_referrer":"https://cdn.medianova.com/","http_user_agent":"Mozilla/5.0 (Linux; Android 11; CPH2239 Build/RP1A.200720.011; wv) AppleWebKit/537.36 (KHTML like Gecko) Version/4.0 Chrome/135.0.7049.38 Mobile Safari/537.36 EbaMobil/7.7.1.0 MobileQr","isp":"","proxy_cache_status":"HIT","remote_addr":"1.1.1.1","remote_port":"35450","request_id":"17ba51b735147390088a628eb7f757e9","request_method":"GET","request_param":"?query","request_time":0,"request_uri":"/PROD_REPOSITORY/","resource_uuid":"80bdb1b4-63a2-bd0c60c4e2e0","server_name":"cdn-medianova.mncdn.com","status":"200","timestamp":"2025-04-13 23:56:32.000","upstream_response_time":""}

Pricing

Pricing varies depending on log volume. Please contact the Medianova Sales Team for detailed pricing information based on your log size requirements.

Usage Considerations

  • Ensure your destination endpoint can handle real-time data ingestion.

  • Regularly monitor storage usage, especially if selecting all available fields.

  • Configure access controls and encryption at your destination to maintain data security.

For support or additional integration queries, contact Medianova Technical Support [email protected].

Last updated

Was this helpful?