find-contact
Resolve a 3CX contact or extension by email, extension, or name
Search logs via Better Stack Logtail
$ npx -y skills add wyre-technology/msp-claude-plugins --agent claude-codeHow it fires
How this command gets triggered: by you, by Claude, or both.
/search-logsContext preview
What this command does when you run it.
Search logs via Better Stack Logtail
description: Search logs via Better Stack Logtail argument-hint: "<query> [source] [from] [to] [limit]" arguments: [query, source, from, to, limit]
Search and query logs via Better Stack Logtail using structured queries. Use for incident investigation, error pattern analysis, and proactive monitoring.
1. **Identify log sources**
If a `source` filter is provided, resolve the source name to a source ID. Otherwise, search across all sources. Call `list_sources` to see available sources if needed.
2. **Build and execute query**
Call `execute_query` with the ClickHouse SQL query based on the provided `query` string. Apply `from` and `to` time range filters. Limit results to the specified `limit`.
3. **Format results**
For each log entry, extract: timestamp, level, message, service, host, and any relevant custom fields.
4. **Identify patterns**
Group results by error type or service. Highlight recurring errors, error rate spikes, or unusual patterns.
5. **Provide investigation context**
Suggest related queries for deeper investigation. Cross-reference with monitor incidents using `/incident-triage`.
| Parameter | Type | Required | Default | Description | |-----------|------|----------|---------|-------------| | query | string | Yes | | Search query (field:value, text search, boolean operators) | | source | string | No | all | Log source name or ID | | from | string | No | last 1 hour | Start time (ISO 8601) | | to | string | No | now | End time (ISO 8601) | | limit | integer | No | 100 | Maximum number of log entries to return |
/search-logs --query "level:error"
/search-logs --query "level:error AND service:api-gateway" --from "2026-03-27T08:00:00Z"
/search-logs --query "\"connection refused\""
/search-logs --query "level:fatal" --source "Production API"
One command to supercharge Claude Code for MSP workflows. Then restart Claude Code. That's it. Documentation: mcp.wyre.ai
Repo: wyre-technology/msp-claude-plugins
Resolve a 3CX contact or extension by email, extension, or name
Search for specific threat patterns in Abnormal Security by sender, recipient, attack type, or keywords
Triage recent email threats detected by Abnormal Security by severity and attack type