How to Monitor and Analyze Traffic Patterns

Beginner 15 minutes DevOps / Security Engineers Dashboard & Analytics Updated

Use the audit log, Insights and Inventory to track package requests, filter by repository, client and outcome, spot anomalies, and understand your organization's dependency patterns.

Overview

Every package request that flows through the proxy is recorded with its package, version, client, repository, outcome and origin. There is no separate Traffic page; the request log lives in Report → Audit log, and the aggregate views live in Intelligence → Insights, Intelligence → Activity and Investigate → Inventory. This tutorial shows how to use them together to monitor activity, detect anomalies and understand your dependency consumption.

Prerequisites

  • Manager or above for Report → Audit log and Investigate → Inventory; Insights is open to every role
  • Traffic flowing through the proxy

Step 1: Open the Audit Log

Click Report → Audit log in the sidebar. The Event log lists every request, newest first.

Audit log event log
Report → Audit log lists every package request, newest first

Repeated identical requests are folded together while Group duplicates is on; turn it off to see every row. The badge next to it shows the total event count.

Step 2: Read an Entry

ColumnDescription
EventThe kind of event, such as Install
PackagePackage name, version and the repository it went through
ClientThe credential that made the request
OutcomeAllowed, Monitored, Blocked and so on
Blocked byThe policy that refused the request, when one did
CachedWhether the artifact was served from Chainsaw’s cache
RecordedWhen the request happened
OriginSource IP address and its country

Click a row to open the event drawer: timestamp, resource, source IP, correlation ID (with Show related events), failure reason, the correlation trail and the full event JSON. From the drawer you can Create policy from this event, Create exception or Ask Billy about this event.

Audit event detail drawer
The event drawer shows the full request context

Step 3: Filter Requests

Expand Filters above the activity chart. Filters combine:

  • Repository — one ecosystem’s repository (npmjs, pypi, …)
  • Client — one team’s or pipeline’s credential
  • Outcome — for example only blocked requests
  • Category, Package and Actor
  • Time range
Audit log filters
Repository, client, outcome, category, package, actor and time-range filters
Combine filters to answer specific questions, for example “all blocked npm requests from the CI service token in the last 24 hours”. Save a combination you use often with Saved views, and take the filtered rows with you using Export or Download audit log.

Expand Activity for a histogram of the filtered requests. Click a bar to filter to that bucket, or drag across bars to set a custom range.

Step 4: Detect Anomalies

Unusual volume spikes

Intelligence → Insights → Decisions over time shows volume per day for the last 7, 30 or 90 days. A sudden increase may mean:

  • a new CI/CD pipeline being configured,
  • a dependency update pulling many new packages, or
  • an automated attack (dependency confusion, mass scanning).
Decisions over time on Insights
Decisions over time on the Insights page; look for days that break the pattern

Unexpected packages

Packages you don’t recognize: new transitive dependencies pulled in by an update, typosquats of known packages, or packages from an ecosystem the team doesn’t use. Filter the audit log by Package to see who pulled one, and when.

Failed requests

A cluster of failures may point to an upstream registry outage, a misconfigured credential, network trouble or a package-name typo in a build file. The event drawer’s Failure reason says which.

Unusual client activity

Investigate → Inventory → By client lists each client with its distinct packages, installs over 30 days, ecosystems and whether it also reaches registries directly. A service token that normally only uses npm and suddenly shows PyPI is worth a look.

Inventory by client
Inventory → By client: packages, installs and ecosystems per client

Step 5: Analyze Dependency Patterns

Most blocked packages

Insights → Top blocked packages lists the packages refused most often, with their ecosystem and when they were last seen.

Top blocked packages and blocks by ecosystem
Top blocked packages and blocks by ecosystem on the Insights page

For the most-installed packages, use Investigate → Inventory → By package, which sorts by installs over 30 days.

Ecosystem distribution

Insights → Blocks by ecosystem shows which ecosystems account for the most blocks. Inventory → By ecosystem shows the overall composition of what you install.

Repository activity over time

Intelligence → Activity plots one row per repository and one dot per day: filled for blocked, hollow for a monitor-mode flag, with markers where a repository flipped between monitor and block.

Client comparison

Inventory → By client compares package consumption across teams and pipelines.

Inventory by client comparison
Compare package consumption across teams and CI/CD pipelines

Step 6: Investigate Blocked Requests

Filter the audit log to the Blocked outcome and click a request. The row’s Blocked by column names the policy, and the drawer shows:

  1. the failure reason (the condition that matched),
  2. the package and version,
  3. the client, source IP and correlation ID, with related events.
Blocked request investigation
Drill into a blocked request to see why it was denied

Step 7: Use Billy for Traffic Analysis

Ask Billy to help analyze traffic patterns:

"What are the top 10 most downloaded packages this week?"
"Show me all failed requests in the last 24 hours"
"Which client has the highest request volume today?"
"Are there any packages being requested that we haven't seen before?"
Billy analyzing traffic patterns
Use Billy to query traffic patterns and identify trends

Step 8: Set Up Monitoring Workflows

Daily check

  1. Open Report → Audit log.
  2. Filter Outcome to blocked, then to flagged.
  3. Review any new violations.
  4. Glance at Insights → Decisions over time for anything unusual.

Weekly review

  1. Compare volume to the previous week on Insights (each card shows the change).
  2. Review Inventory → By package for the most-installed packages.
  3. Check Insights → Cache efficiency.
  4. Look for new packages entering the supply chain.

Incident response

  1. Set the audit log Time range to the suspected window (or brush it on the Activity chart).
  2. Filter to the affected client or package.
  3. Open a request and use Show related events to follow its correlation ID.
  4. Export the filtered rows for the incident record.

Next Steps