Activity tab

The activity tab is a customizable list of events that you've captured. It's great for checking events are being captured, debugging captured events, and being a jumping off point for further analysis. You can expand each event to its specific properties, metadata, raw JSON, and feature flags.

Activity tab

The options for customization on the activity tab include:

  1. Filtering by date, event, properties, and more.

  2. Customizing the columns shown. These can include event properties, person properties, feature flags, and even SQL queries. You can reorder them and set your customization as the default for all project members.

For example, to show an absolute timestamp like Jul 16, 09:12:55, you can add an SQL expression like formatDateTime(toTimeZone($timestamp, 'America/Chicago' ), '%b %d, %H:%i:%s').

Activity views

The activity tab also has multiple views:

  1. PostHog default: Shows a list of events with their person, URL or screen, library, and time.

  2. Project default: Shows a list of events with the configured columns you set.

  3. Event count: Shows each event along with the number of times it's been captured.

  4. Live: Shows a live feed of events as they are captured as well as the number of currently active users. This can be filtered for a specific event or paused.

Terminal live events (posthog-live)

You can also view live PostHog events directly in your terminal using the posthog-live CLI tool.

`posthog-live` CLI tool showing live events in the terminal

Installation

Download and install for macOS (Apple Silicon):

Terminal
curl -L https://github.com/PostHog/posthog/releases/download/posthog-live-latest/posthog-live-darwin-arm64 -o posthog-live && chmod +x posthog-live

For other platforms (Linux, Intel Mac), see the GitHub releases page.

Usage

Run the tool and authenticate via your browser:

Terminal
./posthog-live

Filter events using CLI flags:

Terminal
./posthog-live --event-type "$pageview,$autocapture" --distinct-id "user_123"

Keyboard shortcuts

KeyAction
pPause/resume event stream
fSet event type filter
dSet distinct ID filter
cSet property columns
EnterOpen event detail view
?Toggle help
qQuit

Community questions

Was this page useful?

Questions about this page? or post a community question.