Request Log
Canarytrace Pro#
What you’ll learn
- What is Request Log
- How to setup Request Log
- What is Cherry picking and Tracing ID
Canarytrace on the fly collects all requests and responses between browser and server. All data are saved into c.request-log-*
Elasticsearch index.
#
Features#
Collects requests and responsesCanarytrace joins to the devTools and via API download all requests and responses called between browser and server. All data are saved into Elasticsearch. Example of saved request and response in Elasticsearch.
Example on https://battle.canarytrace.com/assets/images/4kWallpaperSmokePro.png
request
Compare request-log-*
and DevTools
Go to find important informations
Show all responses with missing gzip
or br
encoding
Show field statistics / a occurrence of responses codes
New Kibana Request Log Dashboard
Request Log Dashboard is available via Installer
#
Cherry pickingCanarytrace can pick data from postData
property in a requests and these can be used for subsequent search or categorization in Elasticsearch.
For example, it is useful for monitoring Graphql requests.
Set POST_DATA_PATH
with expression '.title'
Set POST_DATA_PATH
with expression '[0].type'
or
if is POST_DATA_PATH
with '[0].user.biskoId'
or
if is POST_DATA_PATH
with '[0].user'
#
Tracing IDTracing all requests from browser into server is very useful for request investigation and monitoring. Canarytrace set extra header for all requests in your application and you can monitoring in other tools, what happends with requests in your infrastructure.
canary-trace-id
is default name of request header with UUID in the length of 32 characters. You can name of this request header changing.
#
ConfigurationStart your Canarytrace with following configurations:
REQUEST_LOG=allow
for collecting requests and response.REQUEST_LOG_DEBUG=allow
for debugging parsing.POST_DATA_PATH='data[0].type'
activate cherry-picking and search value inpostData
property with expression.TRACE_ID_NAME='trace-id'
is name for extra header name with unique UUID.
#
LogCanarytrace print activities from RequestLog service into stdout.
Successfully cherry picking
Successfully paired requests and responses
- Do you find mistake or have any questions? Please create issue, thanks 👍
- Have more questions? Contact us.