Back to Glossary Index
Core ConceptSIEM / log-analytics integration, external to the MCP spec itself

Splunk (MCP log search)

Industry Definition Set • Entity Resolution Path: /glossary/splunk-mcp

Quick Answer / TL;DR

A SIEM and log-analytics platform whose REST API runs searches as asynchronous jobs - create the job, optionally poll until it's done, then retrieve results - using SPL, its pipeline-based query language.

Key Takeaways

  • Searches are asynchronous: create a job, then poll or use exec_mode=blocking, rather than a single synchronous call.
  • SPL pipes commands together starting from an index= filter - always scope to a specific index rather than searching everything.
  • Always pass an explicit earliest_time; an unscoped, all-time search over a large index is slow and can be expensive.
Definitive Statement: A SIEM and log-analytics platform whose REST API runs searches as asynchronous jobs - create the job, optionally poll until it's done, then retrieve results - using SPL, its pipeline-based query language.

Technical Context & Protocol Usage

Detailed Explanation
Splunk searches are asynchronous by default: a client POSTs a search job (getting back a search ID, or SID), then either polls GET /services/search/jobs/{SID} until dispatchState reports DONE, or - more simply for shorter queries - sets exec_mode=blocking so the creation call itself waits for completion. SPL pipes commands together with |, conventionally starting from an index= filter and narrowing down from there; an MCP tool should reject searches lacking an index filter and always pass an explicit earliest_time, since an unscoped, all-time search over a large index is slow and expensive.

Format & Payload Metadata

Format: REST API, search jobs expressed in Splunk Processing Language (SPL)

Latency: Seconds to tens of seconds per search, dependent on index size and time range

Real-World Implementation Use Case

An MCP tool submits the SPL query "index=web status=5* | stats count by uri_path" with earliest_time=-1h and exec_mode=blocking to summarize recent server errors.

M
MCPserver.in Engineering

Platform Team

Published: 2026-07-21
Updated: 2026-07-21

References & Technical Specifications

Cite This Page

MLA Style:

MCPserver.in Engineering. "Splunk (MCP log search)." MCPserver.in Knowledge Hub, 21 July 2026, mcpserver.in/glossary/splunk-mcp.