Apex Logs public beta

Exploring the API

$ curl \
-H "Authorization: Bearer <TOKEN>" \
-H "Content-Type: application/json" \
-d '{ "project_id": "<PROJECT_ID>", "events": [{ "level": "info", "message": "Sign in", "fields": { "email": "tobi@example.com" } }] }' \
https://<ENDPOINT>/add_events
logger.info('Sign in', { email: 'tobi@example.com' })
log.WithField("email", "tobi@example.com").Info("Sign in")

Exploring the UI

Project listing
Project listing for Apex Software products

Custom query language

{
"level": "info",
"message": "uploaded file",
"fields": {
"file": "sloth.png",
"type": "image/png",
"duration": 2502,
"size": 43008,
"user": {
"name": "Tobi",
"email": "tobi@example.com"
},
"source": {
"host": "api-01"
}
}
}
uploaded tobi@example.com
"uploaded file" tobi@example.com
message = "uploaded file" user.email = "tobi@example.com"
message = "uploaded file" and user.email = "tobi@example.com"
message = "uploaded file"
user.email = "*@example.com"
size >= 400kb
type = "image/*"
file.size >= 10mb
request.size > 100kb
request.size <= 0
response.duration >= 300ms
response.duration >= 1.5s

What makes Apex Logs different?

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store