Getting started

Quickstart

Add your domain, get an alert when it goes down and send your first log, in about five minutes.

This guide takes you from no account to a monitored website, an alert channel and your first log. Each step links to the full guide when you want more.

Monitor your website

  1. Sign in Sign in to Logdash with GitHub or Google. The Hobby plan is free and needs no card.
  2. Add your domain Enter your website address, such as example.com, and press Start monitoring. Logdash checks it right away, then every 5 minutes on the Hobby plan.
  3. Monitor more addresses Under Monitor more, add the other URLs your users open, such as api.example.com or a health check endpoint, then press Done. See Uptime monitors for what counts as up.

Get alerted

A new monitor alerts the channels of its domain. When the domain has none yet, Logdash adds an email channel for the address you signed in with, so you hear about downtime without any setup. To get alerts on Telegram or to call your own webhook, open your domain, go to Settings and press Add channel in the Alerts card. See Alerts for every channel and what the messages look like.

Send your first log

Go to Logs, pick your language and press Copy prompt. Paste the prompt into your coding agent, and it installs the SDK and adds logging with your ingest key. To do it by hand, follow the steps below.

  1. Copy the ingest key Open Settings and press Copy in the Ingest key card. Keep it in an environment variable, such as LOGDASH_API_KEY. It can only write, so a leaked key cannot read your data.
  2. Install the SDK Pick your language. The tab you pick stays picked on every page.
    npm install @logdash/node
  3. Send a log Logs show up in Logs within a second. Without an SDK, send the same log with one HTTP request.
    import { Logdash } from '@logdash/node';
    
    const logdash = new Logdash(process.env.LOGDASH_API_KEY);
    
    logdash.info('Application started successfully');
    logdash.error('An unexpected error occurred');
    logdash.warn('Low disk space warning');

Short-lived processes, such as cron jobs and serverless functions, can exit before the SDK sends what it queued. Flush before you exit, as the page for your SDK shows.

Next steps