The Dgraph request log (also called the query log) contains one entry for each request processed.
$BDD_HOME/dgraph/bin/dgraph.reqlog
Note that a dash (-) is entered for any field for which information is not available or pertinent. The requests are sorted by their timestamp.
By default, the Dgraph truncates the contents of the body for POST requests at 64K. This default setting saves disk space in the log, especially during the process of adding large numbers of records to a Dgraph database. If you need to review the log for the full contents of the POST request body, contact Oracle Support.
Using grep on the Dgraph request log
value%3D%22RefreshDate
X-Endeca-Portlet-Id HTTP Header
for the portlet sending the request, and grep for that. This is something like:
X-Endeca-Portlet-Id: endecaresultslistportlet_WAR_endecaresultslistportlet_INSTANCE_5RKp_LAYOUT_11601
PORTLET=endecaresultslistportlet_WAR_endecaresultslistportlet_INSTANCE_5RKp_LAYOUT_11601then you can look at the times and response codes for the last ten requests from that portlet with a command such as:
grep $PORTLET Discovery.reqlog | tail -10 | cut -d ' ' -f 6,7,8
The command produces output similar to:
20.61 20.04 200 80.24 79.43 200 19.87 18.06 200 79.97 79.24 200 35.18 24.36 200 87.52 86.74 200 26.65 21.52 200 81.64 80.89 200 28.47 17.66 200 82.29 81.53 200
X-Endeca-Portlet-Id
— The unique ID of the portlet in the application.X-Endeca-Session-Id
— The ID of the user session.X-Endeca-Gesture-Id
— The ID of the end-user action (not filled in unless Studio has CLIENT logging enabled).X-Endeca-Request-Id
— If multiple dgraph requests are sent for a single Dgraph Gateway request, they will all have the same X-Endeca-Request-Id
.