globalRequestNumber


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"}}