Skip to content

GraphJSON

Overview

Send logs from your Vercel apps to GraphJSON for easy debugging, troubleshooting and alerting.

Works great with Vercel

  • Adds observability to your Vercel apps
  • View logs from any and all projects
  • Full blown SQL notebook to slice, dice and visualize your data
  • Set alerts for anomalous behaviors
  • Search for specific logs with easy to use filter groups
  • Get Started Free with 50k free events forever

Additional Information

FAQ

Where are my logs?

Vercel wraps all your console logs in the context of the request. They're buried in the message in your log event metadata. This is the stdout dump from your lambda runs. AWS gives us some metadata about the request in the report section along with the stdout string.

You can thus extract the stdout using a JSON extract function, eg.

SELECT
  timestamp,
  JSONExtractString(json, 'message') as stdout
FROM
  logs
LIMIT
  10

How do I find my errors

For errors, each event has a message field with ERROR in it. Thus to find all logs with errors, we simply need to add a LIKE filter

SELECT
  timestamp,
  JSONExtractString(json, 'message') as stdout
FROM
  logs
WHERE
  JSONExtractString(json, 'message') LIKE '%ERROR%'
LIMIT
  10
Get started with Vercel and GraphJSON.