3.6 Working with Events
Key Takeaways
- The Events viewer lists matching events newest-first with timestamps, Selected field pills, highlighted search terms, and expandable raw/field details.
- List, Table, and Raw formats change presentation of the same events; List is best for pill-driven investigation while Raw emphasizes _raw.
- Show Syntax style views expose structured field=value pairs so you can verify extractions against the original log line.
- Surrounding events provide neighboring context for a selected event; the Event Actions menu is the entry point for per-event follow-ups at User level.
3.6 Working with Events
Quick Summary: After a search returns events, the Events viewer lets you inspect raw logs, switch among List, Table, and Raw display formats, click field pills, reveal structured Show Syntax output, open Surrounding events for context, and use the basic Event Actions menu. These skills map directly to blueprint topic 2.6 Work with events.
Running a search is only half of Basic Searching. The exam expects you to read what Splunk returns: timestamps, highlighted keywords, selected fields, and the actions available on each event row. This section stays at Core Certified User scope—viewing and navigating events—without Power User knowledge-object authoring such as macros, tags, or calculated fields.
The Events List: Anatomy of a Result Row
By default, Splunk lists the most recent matching event first (reverse chronological order by _time). Each row typically includes:
- Timestamp — the event’s
_timerendered in your user time zone. - Selected field pills — compact
field=valuechips for fields marked Selected (defaults includehost,source, andsourcetype). - Event text — usually an excerpt of
_rawwith search terms highlighted. - Expansion controls — open the event to see more fields and actions.
| UI Piece | Role | User Exam Focus |
|---|---|---|
| Timestamp | Orders and anchors the event in time | Relate spikes on the timeline to specific rows |
| Field pills | Show Selected field values inline | Click values to refine or investigate |
| Highlighted terms | Mark tokens that matched your search | Confirm why an event was returned |
_raw | Original unparsed log line | Ultimate source of truth for the message |
| Event Actions | Per-event menu of follow-up tasks | Surrounding events, show source/syntax-style views |
[!TIP] If matching terms are highlighted but you expected a field match, remember keyword searches scan
_raw. Field-value searches (for example,status=503) are more precise and often easier to justify on the exam.
Display Formats: List, Table, and Raw
Above the event list, format controls change presentation without changing the search string.
List (default)
- Shows timestamp + Selected field pills + event text.
- Best for interactive investigation and field-pill workflows.
- Expand an event to browse additional extracted fields.
Table
- Renders events in columnar form.
- Useful when comparing the same fields across many rows.
- Still event-oriented (not the same as a
statsStatistics table from a transforming search).
Raw
- Emphasizes the original
_rawcontent with minimal chrome. - Ideal when you need to copy/paste log lines or verify parsing boundaries.
Per Page controls how many events render at once. Increasing page size helps scanning; decreasing it keeps the UI responsive on large jobs.
Events view selector (conceptual):
[ List ▼ ] [ Format ] [ Per Page: 20 ▼ ]
List → pills + highlighted excerpt
Table → columns for comparison
Raw → prioritize _raw text
Field Pills and Inline Field Discovery
Field pills are the clickable Selected-field badges attached to each event in List view. They make Selected Fields actionable:
- Scan pills to see
host,source,sourcetype, or other Selected fields without opening the sidebar. - Click a pill value to explore that field’s value in context (add to search, exclude, or open field summary workflows depending on UI version).
- Promote frequently used Interesting Fields to Selected so they appear as pills on every row.
Workflow example:
- Search
index=main sourcetype=access_combined status=503. - Note pills for
host=www1dominating the spike. - Click the host pill / add
host=www1to focus the investigation. - Compare with
www2/www3to see whether the issue is node-local.
This pill-driven refinement sits next to Fields sidebar skills (domain 3.0) but is tested as part of working with the event viewer itself.
Show Syntax and Structured Event Views
Show Syntax (wording can appear as a syntax/key-value style event display in the expanded event tools) presents the event as structured field=value pairs rather than only a free-text _raw blob. Use it when you need to:
- Verify which fields Splunk extracted for this event.
- Confirm exact values (case, punctuation, multi-value fields).
- Distinguish indexed defaults (
host,source,sourcetype,_time,_raw) from search-time extractions.
Related inspection habits at User level:
- Expand the event to scroll the full field list.
- Compare
_rawagainst extracted fields to spot parsing surprises. - Use highlighted tokens to see which search terms matched.
[!NOTE] Deep field-extraction authoring (interactive FX workflows as an admin/power skill) is outside Core User primary scope. For this exam, focus on reading syntax/field displays, not building new extractions as a Power User would.
Surrounding Events: Context Around a Needle
When one event looks suspicious, you often need the lines that occurred just before and after it on the same stream.
Surrounding events open a contextual window of neighboring events (commonly constrained by the same source/host style boundaries in the UI workflow). Use surrounding events when:
- A single error line lacks enough detail.
- You need startup/shutdown messages around an outage.
- A spike contains one critical event and you must see the lead-up.
| Goal | Better Tool |
|---|---|
| Find when volume changed | Timeline zoom |
| Read one log line carefully | Expand event / Raw / Show Syntax |
| See nearby lines for the same stream | Surrounding events |
| Compare field distributions | Fields sidebar |
Exam cue: surrounding events answer “what else happened around this?”—not “how many events per hour?” (timeline) and not “save this query” (Save As).
Event Actions Menu Basics (User Level)
Each event exposes an Event Actions (or equivalent per-event actions) menu. At Core User level, recognize the purpose of common actions rather than memorizing admin configuration:
- Surrounding events — open contextual neighbors.
- Show source / inspect raw style actions — jump to the originating log context when available.
- Field-oriented actions — work with values visible on the event (add/exclude patterns via UI affordances).
- Awareness that some advanced actions (for example, building reusable event types as knowledge objects) belong to later certifications—do not over-study Power User object creation here.
Practical User workflow:
- Locate the interesting row via timeline zoom + search terms.
- Expand the event; review pills and full fields.
- Toggle List/Table/Raw as needed; use Show Syntax to confirm extractions.
- Open Surrounding events if the single line is insufficient.
- Only then decide whether to refine SPL, export results, or save as a report (next sections).
Connecting Events Work to Earlier Basic Searching Topics
Working with events assumes you already can run searches (2.1), set time (2.2), identify result contents (2.3), and refine queries (2.4). The event viewer is where those skills become visible:
- Boolean mistakes show up as unexpected highlighted tokens.
- Wrong time ranges produce empty lists even when the timeline of a broader search had data.
- Field refinements change which pills dominate the list.
Stay disciplined: read _time, Selected pills, and _raw before changing the search again. That habit prevents random SPL edits and matches how User exam scenarios describe UI investigation.
In the default Events List view, what do field pills represent?
When should you use Surrounding events during an investigation?
How do List, Table, and Raw event formats differ?