Skip to content

VitalRix use case

Log management that links every line to the request behind it

Send structured logs from any service, search them in seconds, watch them live while you deploy, parse messy lines into fields and open the trace of the request that wrote them.

6 min read7 sectionsUpdated

On this page

At a glance

  • For: developers and on-call engineers who need to find the one line that explains an incident, without running a log stack of their own.
  • Send: JSON over HTTPS from any language, up to 1,000 entries and 5 MB per request.
  • Find: full-text search plus filters for service, environment, level, trace id, request id and any metadata field.
  • Act: live tail while you deploy, saved views for the team, pipelines that parse unstructured lines, and log-based metrics you can alert on.
  • Connect: every line with a trace id opens the full request across your services.

What goes wrong without central logs

Logs written to local files or a container's standard output are fine for one process on your laptop. In production they become a problem:

  • A request touches four services on six machines. The relevant lines are on all of them.
  • Containers are replaced, and their logs disappear with them.
  • Someone has to log in to a box to search, with whatever access that implies.
  • Each service logs a different shape, so no single search finds "order o_123".
  • The first question in every incident is "where are the logs?", before anyone can ask what they say.

What central, structured logs give you

  • One place that every service writes to and every responder can search.
  • Fields instead of text. Searching orderId=o_123 beats grepping for a number.
  • Correlation. Trace id and request id tie one customer action to every line it produced.
  • History for the length of your plan's retention, independent of container life.
  • Access control and audit. Reading needs a read permission, changing pipelines or metrics needs write, and changes are recorded in the audit log.

What you can do with it

  • Search and filter

    Full-text search on the message plus filters for level, service, environment, trace id, request id and metadata values such as orderId=o_123. Every filter lives in the page address, so you can bookmark or share a search.

  • Live tail

    Watch new lines arrive as they are sent, with your filters applied. Pause freezes the view while new lines are counted so you can read without losing your place. Disabled for custom absolute time ranges.

  • Fields and patterns

    The Fields column shows the top values of each field for the current query; click to filter, or exclude a value. Patterns group lines by template, so a thousand "card declined for order <id>" lines become one row with a count.

  • Pipelines

    Parse lines before they are stored. Processors include JSON, grok, rename, level and message, up to 20 per pipeline, filtered by service, environment or message text. Test a pipeline against a sample line before saving.

  • Log-based metrics

    Turn a filtered stream into a metric: count matching lines, or take percentiles of a numeric field, grouped by up to three labels. They appear in the metrics explorer and work with metric threshold alert rules.

  • Log to trace and back

    A line that carries a trace id opens its trace. An incident opens the logs for its service and time window with the filters already filled in.

Send your first log in two minutes

  1. Create an API key under Settings, API keys with only the write logs permission (the Log ingestion preset). Keep it on the server.
  2. Send one line with a single HTTP request (below).
  3. Open Logs in the Monitor app and search, or switch on Live tail and send another line.
  4. Set the service name to your application's slug. Logs then sit next to that application's uptime, incidents and traces.
  5. Batch. Send lines every few seconds rather than one request per line, and never let a failed log request break your application.
send-a-log.shbash
curl -X POST "$VITALRIX_URL/api/v1/logs" \
  -H "x-api-key: $VITALRIX_API_KEY" \
  -H "content-type: application/json" \
  -d '{"logs":[{"level":"error","service":"my-shop","environment":"production","message":"card declined","traceId":"5b8efff798038103d269b633813fc60c","metadata":{"orderId":"o_123"}}]}'
FieldRules
messageRequired. Up to 32 KB.
leveldebug, info, warn, error or fatal. Aliases such as warning and critical, and pino numbers, are understood. Default info.
serviceThe service name. Use your application slug to link logs to it.
environmentDefault production.
timestampISO 8601 or milliseconds since epoch. Default is when received. Up to 366 days old and at most 24 hours ahead.
traceIdThe OpenTelemetry trace id, 32 hex characters, to link the line to its trace.
requestId, spanIdFree text up to 128 characters.
metadataAny JSON object up to 16 KB, searchable by key.

Frequently asked questions

What format do logs need?

JSON with a message, and optionally a level, timestamp, service, environment, trace id, request id and any metadata fields you want to filter on. A level defaults to info.

How long are logs kept?

Retention follows your plan. The Free plan keeps 14 days, and paid plans keep longer. Expired data is dropped automatically.

Can I alert on logs?

Yes, through log-based metrics. Define a metric from a filter, then add a metric threshold rule on it. There is no rule that evaluates raw lines directly.

Is personal data safe?

Each organization's data is isolated and deleted after its retention period. Leave personal data out of log messages, or mask it before sending.

Can I send logs from the browser?

No. Never put an ingestion key in browser code. Use real user monitoring for browsers and send server-side logs from your backend.

Can I use my existing log shipper?

Anything that can POST JSON to the ingestion endpoint works. For plain-text sources, use pipelines to parse fields after ingest.

What happens above the rate limit?

Requests get 429 with the number of seconds to wait. Batch larger requests and retry after the delay.

How do I share a search with a colleague?

Every filter is part of the page address, so copy the link. Save frequent searches as saved views, which the whole organization can use.

Can I change a log after it is stored?

No. Logs are append-only. Pipelines only affect lines ingested after you save them.

Who can read or change logs configuration?

Reading needs the log read permission. Creating pipelines, views and log-based metrics needs log write, and every change is recorded in the audit log.

  • What is log aggregation?: Log aggregation explained: collecting logs from every server and container into one searchable place, the pipeline, structured logs, cost control and retention.
  • Best log management tools: How to choose a log management tool in 2026: search, retention, cost control and trace links, well-known options compared, and which fits which team.
  • Nginx monitoring: status, logs and alerts: Monitor Nginx with stub_status and JSON access logs: active and dropped connections, request rate, 5xx share, upstream time and alerts to set.
  • What is log optimization?: Log optimization explained: finding the noisiest log sources, levels and sampling, structured fields, dropping duplicates, retention tiers.
  • The three pillars of observability: Logs, metrics and traces compared: what each pillar of observability is good at, what it costs, and how to link them so one alert leads to the cause.
  • Kubernetes observability: Kubernetes observability for application teams: pod resources against limits, restarts and OOM kills, and traces with Kubernetes metadata.

Find the line that matters, faster

Create a free account, send one log line and open Live tail. The curl example above is enough to start.