Finding the Needle in the Logs

4. Timeline and Patterns

2 min

You’ve narrowed down to error logs from a single service. Now let’s understand when the problem started and what the errors look like.

Exercise

Step 1: Analyze the Timeline

  • Look at the timeline chart at the top of the page. Focus on the shape of the error bars.
Is the error rate constant, or did it spike at a specific time? What might that tell you?

Step 2: Expand a Log Entry

  • Click on a representative error log entry in the table to expand it.
  • The detail pane shows all structured fields attached to the log entry.

Examine these key fields:

FieldWhat it tells you
messageThe actual error text — often contains the root cause
service.nameConfirms which service emitted the log
k8s.pod.nameThe specific pod instance
deployment.environmentYour workshop environment
severityThe log level (should be ERROR)

Step 3: Look for Patterns

  • Scroll through several error entries. Do they all have the same message, or are there different error types?
  • Note any version tags, deployment identifiers, or dependency references in the log messages.
Do all the error logs share the same message pattern, or are there multiple distinct errors?

Info

Structured logging with OpenTelemetry means every log entry carries consistent, queryable fields. This is what makes Log Observer’s no-code filtering so effective — the structure is built into the data, not imposed after the fact.