Skip to main content
Glama

Panther MCP Server

Official
Apache 2.0
20
  • Apple

get_sample_log_events

Fetch a sample of 10 recent log events from the specified log type in the Panther data lake. Use the returned query ID to retrieve results, enabling quick exploration of log data structure and patterns.

Instructions

Get a sample of 10 log events for a specific log type from the panther_logs.public database.

This function is the RECOMMENDED tool for quickly exploring sample log data with minimal effort. This function constructs a SQL query to fetch recent sample events and executes it against the data lake. The query automatically filters events from the last 7 days to ensure quick results. NOTE: After calling this function, you MUST call get_data_lake_query_results with the returned query_id to retrieve the actual log events. Example usage: # Step 1: Get query_id for sample events result = get_sample_log_events(schema_name="Panther.Audit") # Step 2: Retrieve the actual results using the query_id events = get_data_lake_query_results(query_id=result["query_id"]) # Step 3: Display results in a markdown table format Returns: Dict containing: - success: Boolean indicating if the query was successful - query_id: ID of the executed query for retrieving results with get_data_lake_query_results - message: Error message if unsuccessful Post-processing: After retrieving results, it's recommended to: 1. Display data in a table format (using artifacts for UI display) 2. Provide sample JSON for a single record to show complete structure 3. Highlight key fields and patterns across records

Input Schema

NameRequiredDescriptionDefault
schema_nameYesThe schema name to query for sample log events

Input Schema (JSON Schema)

{ "properties": { "schema_name": { "description": "The schema name to query for sample log events", "example": "Panther.Audit", "title": "Schema Name", "type": "string" } }, "required": [ "schema_name" ], "type": "object" }

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/panther-labs/mcp-panther'

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