Router Request Log

JFrog Platform Administration Documentation

Content Type
Administration / Platform
ft:sourceType
Paligo

The JFrog Router has a JSON based access log containing all the requests that went through the Router, including service service communication.

Below is an example of an entry in the Router request log (router-request.log)

Router Request Log Entry

{
  "BackendAddr": "http://localhost:8049",
  "ClientAddr": "127.0.0.1:61899",
  "DownstreamContentSize": 2,
  "DownstreamStatus": 200,
  "Duration": 8353000,
  "RequestMethod": "GET",
  "RequestPath": "/router/api/v1/system/ping",
  "StartUTC": "2020-11-12T11:53:03.605300906Z",
  "request_Uber-Trace-Id": "4ccb40200c199346:1a3f95ce1b27711d:71e15f8b6031c9e9:0",
  "request_User-Agent": "curl/7.54.0",  
  "time": "2019-08-05T14:42:09+03:00",
  "level": "info",
  "msg": ""
}

Value

Description

Example

BackendAddr

Address of the backend server the request was forwarded to

http://localhost:8049

ClientAddr

The IP address of the remote caller in its original form (ipv4 or ipv6, usually IP:port).

127.0.0.1:61899

DownstreamContentSize

The number of bytes in the response entity returned to the client.

2

DownstreamStatus

The HTTP return code for the request.

200

Duration

The time in nanoseconds for the request to process.

8353000

RequestMethod

The HTTP request method, in UPPERCASE.

GET

RequestPath

The relative URL for the request.

/router/api/v1/system/ping

StartUTC

The date and time request processing has started, in UTC time with the standard format: [yyyy-MM-dd'T'HH:mm:ss.SSSSSSSSSZ].

2020-11-12T11:53:03.605300906Z

request_Uber-Trace-Id

The full trace id value.

4ccb40200c199346:1a3f95ce1b27711d:71e15f8b6031c9e9:0

request_User-Agent

The request user agent.

curl/7.54.0

time

The date and time the request was completed and entered into the log file, in UTC time with the standard format: [yyyy-MM-dd'T'HH:mm:ss.SSSZ]

2019-08-05T14:42:09+03:00

time / msg

Default info and empty message