Token导航 LogoToken导航TokenDH.com
研究检索敏感数据github未标认证来源可访问许可证需确认审计异常

solarwinds-logs太阳风日志

Agent Skill

solarwinds-logs 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

1,128

周安装

47

GitHub Stars

公开资料未说明

下载量

376
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:solarwinds-logs(太阳风日志)
来源仓库:https://github.com/jakenuts/agent-skills
仓库路径:skills/solarwinds-logs
安装命令:
npx skills add https://github.com/jakenuts/agent-skills --skill solarwinds-logs
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/jakenuts/agent-skills --skill solarwinds-logs

简介

:统计数据,包括严重性细分、截断信息

  • 结果
  • :带有时间戳、来源、严重性、消息的日志条目数组
  • 分页
  • :获得更多结果的信息
  • 高级用法
  • 有关查询语法、MCP 服务器模式和高级模式的详细文档,请参阅references/REFERENCE.md 。
  • 有关常见的调查模式和方法,请参阅references/RECIPES.md。
  • 每周安装量
  • 47
  • 存储库
  • jakenuts/特工技能
  • 第一次看到
  • 2天前
  • 安全审计
  • Gen 代理信任中心失败
  • 套接字通行证
  • 斯尼克失败

SKILL.md

SolarWinds Log Search

Search DealerVision production logs through the SolarWinds Observability API using the logs CLI tool.

First-Time Setup (On Demand)

This skill requires the logs CLI tool,.NET 10, and a SolarWinds API token. Install only when the skill is activated.

1. Check if Already Installed

Linux/macOS:

logs --help 2>/dev/null || echo "Not installed - setup required"
echo "$SOLARWINDS_API_TOKEN"

Windows (PowerShell):

logs --help 2>$null
Write-Host "SOLARWINDS_API_TOKEN=$env:SOLARWINDS_API_TOKEN"

2. Install Dependencies and Tool (One-Time Setup)

Run the setup script from the deployed skill folder:

Linux/macOS:

bash ~/.codex/skills/solarwinds-logs/scripts/setup.sh

Windows (PowerShell):

pwsh ~/.codex/skills/solarwinds-logs/scripts/setup.ps1

If you are using Claude Code, replace ~/.codex/skills with ~/.claude/skills.

What this does:

  • Installs.NET SDK 10 if missing (user-level)
  • Installs the logs CLI tool from the skill-local package
  • Verifies the installation
  • Checks for required environment variables

Note: Installation only happens once; the tool becomes globally available.

3. Configure Environment Variable

The tool requires a SolarWinds API token for authentication.

Linux/macOS:

export SOLARWINDS_API_TOKEN="your-token-here"

Windows (PowerShell):

$env:SOLARWINDS_API_TOKEN = "your-token-here"

To obtain a token:

  1. Log in to SolarWinds Observability
  2. Navigate to Settings -> API Tokens
  3. Create a new token with 'Logs Read' permission

4. Verify Setup

Linux/macOS:

dotnet tool list --global | grep SolarWindsLogSearch
logs "test" --limit 1

Windows (PowerShell):

dotnet tool list --global | Select-String SolarWindsLogSearch
logs "test" --limit 1

Prerequisites

  • .NET SDK 10.0+ (required to install the tool)
  • SOLARWINDS_API_TOKEN environment variable (required to use the tool)
  • Default data center: na-01

Alternative: Manual Installation

If you prefer to install manually without the setup script:

# Requires .NET SDK 10.0+
dotnet tool install --global DealerVision.SolarWindsLogSearch --version 2.4.0 --add-source ~/.codex/skills/solarwinds-logs/tools

# If using Claude Code, replace ~/.codex/skills with ~/.claude/skills
# Windows path: %USERPROFILE%\\.codex\\skills\\solarwinds-logs\\tools (or .claude for Claude Code)

# Verify
logs --help

⚠️ Critical: Prefer Simple Searches (No Time Arguments)

The SolarWinds/Papertrail API is finicky with time ranges and often skips recent entries when time arguments are used. The logs tool is designed to start from the most recent entries and page backward through time automatically until a predefined limit (typically 24 hours worth of data).

Default Search Pattern

Always prefer simple keyword searches without time arguments:

# ✅ RECOMMENDED - Simple searches that capture current entries
logs 'error'
logs 'exception'
logs 'timeout'
logs 'DbUpdateException'

# ✅ GOOD - Add filters, but avoid time arguments
logs 'error' --severity ERROR
logs 'exception' --program webhook-api

Why Avoid Time Arguments?

When you use --time-range, --start-time, or --end-time, the API may return a subset of entries that misses vital current/recent log entries. This is a known quirk of the underlying Papertrail API.

# ⚠️ AVOID - Time arguments can miss recent entries
logs "error" --time-range 1h      # May miss errors from the last few minutes
logs "error" --time-range 24h     # May skip entries that just happened

How to Handle User Requests with Time References

When a user asks for something like "errors from today" or "logs from the last hour":

  1. Default to simple search: Run logs 'error' without time arguments
  2. Filter results after retrieval: The agent can filter out older entries from the results
  3. Only use time arguments if the user explicitly wants to exclude current/recent results

Example interpretations:

  • "Search logs for errors from today" → logs 'error' OR 'exception' (filter results yourself)
  • "Find exceptions in the last 4 hours" → logs 'exception' (filter results yourself)
  • "Show me errors, but only from yesterday, not today" → Time arguments are appropriate here

When Time Arguments Are Appropriate

Only use time arguments when the user explicitly wants to:

  • Exclude current/recent results
  • Look at a specific historical window (e.g., "what happened last Tuesday between 2-4pm")
  • Investigate a known past incident with specific timestamps

Quick Commands

# Search for errors (recommended - no time arguments)
logs 'error'

# Find specific exceptions
logs 'DbUpdateException' --severity ERROR --limit 10

# Filter by service (still no time arguments)
logs 'timeout' --program webhook-api

# Get full details for a specific log entry
logs --id 1901790063029837827 --with-data

# Export large result sets to file
logs 'exception' --output-file results.json

Key Options

OptionDescription
--time-range1h, 4h, 12h, 24h, 2d, 7d, 30d
--severityINFO, WARN, ERROR, DEBUG
--programFilter by service name (e.g., media-processing)
--hostnameFilter by host
--limitMax results (default 1000, max 50000)
--with-dataInclude structured JSON payload
--no-dataExclude payload (faster, smaller response)
--output-fileSave full results to file

Workflow Strategy

  1. Start broad - Run initial search without many filters
  2. Narrow progressively - Add severity, time-range, or program filters based on results
  3. Retrieve details - Use --id with --with-data for full log entry inspection
  4. Export large datasets - Use --output-file for comprehensive analysis

Output Format

Returns JSON with:

  • success: boolean status
  • query: search parameters used
  • summary: statistics including severity breakdown, truncation info
  • results: array of log entries with timestamps, source, severity, message
  • pagination: info for getting more results

Advanced Usage

For detailed documentation on query syntax, MCP server modes, and advanced patterns, see references/REFERENCE.md.

For common investigation patterns and recipes, see references/RECIPES.md.

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

33.6%
按下载量换算126

Claude

31.42%
按下载量换算118

Cursor

17.77%
按下载量换算67

Gemini CLI

9.9%
按下载量换算37

安全审计

Gen Agent Trust Hub

未通过

Socket

通过

Snyk

未通过

权限和风险

敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills