Can somebody give me an in deep MessageId-format explanation?

Not applicable

In router's access_log I am able to see the messageId in the below format

<routers_hostname>-xxxxx-xxxxxxxxx-x 

Then, when I try to trace the same messageId in the MP system log, the closest match I can find for the same period of time is:

<routers_hostname>-xxxxx


Q: Is that the same Message? or does it have to be an exact match?

I am really confused and I haven't been able to find any documentation regarding the MessageId format in the different edge components.

Regards!

1 1 1,261
1 REPLY 1

@claudio gallardo,

The message id seen in the Nginx access log is unique for a specific API request. It is basically formed as follows:

$hostname-$pid-$connection-$connection_requests

where

$hostname

- Router's host name

$pid

- Nginx process id

$connections

- connection serial number

$connection_requests

- the current number of requests made through a connection

You can find information about the last two variables here

Please note,

  1. We can use this message id from the Nginx access logs to get more information about a specific API request in the Message Processor logs, if there are any errors for that specific API request.
  2. The same message id will be used in the Message Processor logs as well.

If you are unable to find the specific message id in the Message Processor, then that indicates either that specific API request had a successful response or no other information about the error was logged.

Can you please check in the Router's log what was the response code (status) for the specific message id ?