GuideReference
TrainingSupportCommunity
Reference

global_​request_​number

  • Property Manager name: Global Request Number
  • Behavior version: The v2024-01-09 rule format supports the global_​request_​number behavior v1.0.
  • Rule format status: GA, stable
  • Access: Read/Write
  • Allowed in includes: Yes

Generates a unique identifier for each request on the Akamai edge network, for use in logging and debugging. GRN identifiers follow the same format as Akamai's error reference strings, for example: 0.​05313217.​1567801841.​1457a3. You can use the Edge Diagnostics API's Translate error string operation to get low-level details about any request.

OptionTypeDescriptionRequires
output_​optionenum

Specifies how to report the GRN value.

{"displayType":"enum","options":["RESPONSE_HEADER","REQUEST_HEADER","BOTH_HEADERS","ASSIGN_VARIABLE"],"tag":"select"}
RESPONSE_​HEADER

Use a response header.

REQUEST_​HEADER

Use a request header.

BOTH_​HEADERS

Use both headers.

ASSIGN_​VARIABLE

Process the value in some other way as a variable.

header_​namestring

With output_​option set to specify any set of headers, this specifies the name of the header to report the GRN value.

output_​option is either: RESPONSE_​HEADER, REQUEST_​HEADER, BOTH_​HEADERS
{"displayType":"string","tag":"input","type":"text"}
{"if":{"attribute":"outputOption","op":"in","value":["RESPONSE_HEADER","REQUEST_HEADER","BOTH_HEADERS"]}}
variable_​namestring (variable name)

This specifies the name of the variable to assign the GRN value to. You need to pre-declare any variable you specify within the rule tree.

output_​option is ASSIGN_​VARIABLE
{"displayType":"string","tag":"input","type":"text"}
{"if":{"attribute":"outputOption","op":"eq","value":"ASSIGN_VARIABLE"}}