Skip to main content
Glama

OpenSearch MCP Server

by cyberbalsa

searchLogs

Query and analyze Wazuh security logs stored in OpenSearch by searching specific index patterns, filtering by time range, and retrieving relevant fields for detailed insights.

Instructions

Search for logs in any OpenSearch index

Input Schema

NameRequiredDescriptionDefault
fieldsNoComma-separated list of fields to return
indexYesIndex pattern to search
maxResultsNoMaximum number of results to return
queryYesThe search query text
timeFieldNoName of the timestamp field@timestamp
timeRangeNoTime range (e.g., 1h, 24h, 7d)24h

Input Schema (JSON Schema)

{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "fields": { "description": "Comma-separated list of fields to return", "type": "string" }, "index": { "description": "Index pattern to search", "type": "string" }, "maxResults": { "default": 20, "description": "Maximum number of results to return", "type": "number" }, "query": { "description": "The search query text", "type": "string" }, "timeField": { "default": "@timestamp", "description": "Name of the timestamp field", "type": "string" }, "timeRange": { "default": "24h", "description": "Time range (e.g., 1h, 24h, 7d)", "type": "string" } }, "required": [ "query", "index" ], "type": "object" }

Other Tools from OpenSearch MCP Server

Related Tools

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/cyberbalsa/mcp-opensearch-js'

If you have feedback or need assistance with the MCP directory API, please join our Discord server