search_logs
Search SolarWinds Observability logs with optional filtering
Search SolarWinds Observability logs by filter and time range from chat, and turn the same query into a histogram of when the events actually happened.
LABSCO SUMMARY
Running the histogram before the search is the cheaper order — bucket by hour, find the ten minutes where the error count jumps, then re-run the same filter with a narrow start and end time instead of paging through a day. Know the boundary before you rely on it: queries are filter strings, and the author notes the server does not support structured-data search.
A reader for SolarWinds Observability logs. One tool returns matching log entries, the other counts the same query into time buckets so a spike is visible before you read a single line.
A SolarWinds Observability API token in SOLARWINDS_API_TOKEN, set in the client config, the environment, or a local .env file. It starts over stdio as npx -y mcp-solarwinds. Searches default to the last 24 hours and a page size of 50. On Windows, a spawn ENOENT on npx is worked around by pointing the command at node.exe and npx-cli.js by full path.
One command plus a key — npm install -g mcp-solarwinds, then supply credentials
USE CASES
Bucket the same filter by hour or minute across the window and read the counts, so the onset is a number rather than a scroll.
Search the filter with an explicit start and end time and page through the results in either direction, with hostnames and timestamps attached.
Narrow the same query by entity or group before searching, so a noisy fleet does not bury the one machine you care about.
Ask for JSON output and the response carries time ranges, counts and totals with the query parameters, ready to be drawn.
Counted once with only startup setup. Other versions, modes or optional credentials may expose a different list.
search_logsSearch SolarWinds Observability logs with optional filtering
visualize_logsGenerate a histogram visualization of log events
BEFORE YOU INSTALL
2 tools when we connected. solarwinds://{query}/search is a resource, not a third tool, and the server does not support structured data search, so don't expect field-level queries.
All 3 documented clients run the server on your machine.
CONTEXT COST
Rated by the size of the 2 tool definitions that ride along on every turn, not by how many there are
INSTALLATION
npm install -g mcp-solarwinds{
"mcpServers": {
"solarwinds": {
"command": "npx",
"args": [
"-y",
"mcp-solarwinds"
],
"env": {
"SOLARWINDS_API_TOKEN": "<YOUR_SOLARWINDS_API_TOKEN>"
},
"autoApprove": [
"search_logs",
"visualize_logs"
]
}
}
}{
"mcpServers": {
"solarwinds": {
"command": "npx",
"args": [
"-y",
"mcp-solarwinds"
],
"env": {
"SOLARWINDS_API_TOKEN": "<YOUR_SOLARWINDS_API_TOKEN>"
}
}
}
}{
"mcpServers": {
"solarwinds": {
"command": "C:\\Users\\<YOUR_USERNAME>\\AppData\\Roaming\\nvm\\[node-version]\\node.exe",
"args": [
"C:\\Users\\<YOUR_USERNAME>\\AppData\\Roaming\\npm\\node_modules\\npm\\bin\\npx-cli.js",
"-y",
"mcp-solarwinds"
],
"env": {
"SOLARWINDS_API_TOKEN": "<YOUR_SOLARWINDS_API_TOKEN>"
}
}
}
}