Add a new user defined function in ExprFunctions.hpp
inline string testEngineParamOutSide (EngineServiceRequest& request) {
return request.requestid_.key();
}
Call this function in GSQL query like this
CREATE QUERY test_query_id() FOR GRAPH gsql_demo {
STRING result;
result = testEngineParamOutSide(__ENGINE__REQUEST);
PRINT result;
}
Get response with what we need
[
{
"result": "65538.RESTPP_1_1.1583397387123.N"
}
]
Use this RESTPP ID to find related logs on RESTPP, GSE, GPE