papertrail

Query and download logs from SolarWinds Observability (formerly Papertrail) using the paperctl CLI. Use when: (1) Downloading logs from Taskcluster workers or other systems (2) Searching for specific log entries across systems (3) Investigating CI failures by pulling worker logs (4) Listing available entities (hosts) in SolarWinds Observability Triggers: "papertrail", "pull logs", "worker logs", "download logs", "search logs"

Safety Notice

This listing is imported from skills.sh public index metadata. Review upstream SKILL.md and repository scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "papertrail" with this command: npx skills add jwmossmoz/agent-skills/jwmossmoz-agent-skills-papertrail

SolarWinds Observability Logs (paperctl)

Query and download logs from SolarWinds Observability (formerly Papertrail) using paperctl v2.0.

Prerequisites

Requires SWO_API_TOKEN environment variable or ~/.config/paperctl/config.toml.

Initialize config interactively:

paperctl config init

Commands

Pull logs from a system

Download all logs for a system to ~/.cache/paperctl/logs/<system>.txt:

paperctl pull <system-name>

Partial name matching is supported. Use Taskcluster worker IDs directly:

# Matches vm-abc123def.reddog.microsoft.com
paperctl pull vm-abc123def

Pull with time range:

paperctl pull vm-abc123 --since -24h
paperctl pull vm-abc123 --since "2026-01-29T00:00:00" --until "2026-01-29T12:00:00"

Pull to specific location:

paperctl pull vm-abc123 --output ~/logs/worker.txt
paperctl pull vm-abc123 --output ~/logs/  # Uses system name as filename

Pull multiple systems in parallel:

paperctl pull vm-abc,vm-def,vm-ghi --output ~/logs/

Search logs

Search across all systems:

paperctl search "error" --since -1h
paperctl search "error AND timeout" --since -24h --limit 100

Search specific system:

paperctl search "error" --system vm-abc123 --since -1h

Save search results to file:

paperctl search "error" --since -1h --file errors.txt

List entities (hosts)

paperctl entities list
paperctl entities list --type Host --output json
paperctl entities list --name web-1

Show entity details

paperctl entities show <entity-id>
paperctl entities show <entity-id> --output json

List available entity types

paperctl entities list-types

View configuration

paperctl config show

Query syntax

SWO search uses text matching with boolean operators. No regex or wildcards.

OperatorExample
ANDerror AND timeout
ORerror OR warning
NOTerror NOT debug
Exact phrase"connection refused"

Time formats

FormatExample
Relative-1h, -24h, -7d, 2 hours ago
ISO timestamp2026-01-29T00:00:00Z
Natural languageyesterday, last week

Output formats

Use --format to change output:

paperctl pull vm-abc123 --format json
paperctl pull vm-abc123 --format csv
paperctl search "error" --output json

Common workflows

Download Taskcluster worker logs

Get worker IDs from Taskcluster, then pull logs:

# Get recent workers from a pool
curl -s "https://firefox-ci-tc.services.mozilla.com/api/worker-manager/v1/workers/gecko-t%2Fwin11-64-24h2-alpha" | \
  jq -r '.workers | sort_by(.created) | reverse | .[0:3] | .[].workerId'

# Pull logs using partial worker ID
paperctl pull vm-abc123def

Search for errors across workers

paperctl search "error" --since -1h --file errors.txt

Investigate specific timeframe

paperctl pull vm-abc123 --since "2026-01-29T10:00:00" --until "2026-01-29T11:00:00" --output incident.txt

Migration from v1.x

v2.0 switched from Papertrail API to SolarWinds Observability API:

v1.xv2.0
PAPERTRAIL_API_TOKENSWO_API_TOKEN
paperctl systems listpaperctl entities list
paperctl groups listRemoved (not in SWO API)
paperctl archives listRemoved (not in SWO API)
--group option on searchRemoved
System IDs (integers)Entity IDs (strings)

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

Automation

redash

No summary provided by upstream source.

Repository SourceNeeds Review
Automation

os-integrations

No summary provided by upstream source.

Repository SourceNeeds Review
Automation

worker-image-investigation

No summary provided by upstream source.

Repository SourceNeeds Review
Automation

bigquery

No summary provided by upstream source.

Repository SourceNeeds Review