Skip to main content
Glama
filesystem.json2.4 kB
{ "id": "filesystem", "schema": { "type": "object", "title": "", "required": ["path"], "properties": { "type": { "type": "string", "enum": ["filesystem"], "flag": { "prefix": "collector", "modes": ["single", "worker"] } }, "outputName": { "type": "string", "title": "Auto-populate from", "description": "Select a predefined configuration (a Destination) to auto-populate Collector settings" }, "path": { "type": "string", "title": "Directory", "description": "The directory from which to collect data. Templating is supported, such as /myDir/${datacenter}/${host}/${app}/. Time-based tokens are also supported, such as /myOtherDir/${_time:%Y}/${_time:%m}/${_time:%d}/.", "minLength": 1, "templated": true }, "extractors": { "type": "array", "uniqueFields": ["key"], "title": "Path extractors", "additionalProperties": false, "items": { "type": "object", "required": ["key", "expression"], "properties": { "key": { "type": "string", "title": "Token", "description": "A token from the template directory, such as epoch" }, "expression": { "type": "string", "title": "Extractor expression", "description": "JavaScript expression that receives token under \"value\" variable, and evaluates to populate event fields, such as {date: new Date(+value*1000)}" } } }, "description": "Allows using template tokens as context for expressions that enrich discovery results. For example, given a template /path/${epoch}, an extractor under key \"epoch\" with an expression {date: new Date(+value*1000)}, will enrich discovery results with a human readable \"date\" field." }, "recurse": { "type": "boolean", "title": "Recursive", "description": "Recurse through subdirectories", "default": true }, "maxBatchSize": { "type": "number", "title": "Batch size limit (files)", "description": "Maximum number of metadata files to batch before recording as results", "minimum": 1, "default": 10 } } } }

Latest Blog Posts

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/atree1023/snc-cribl-mcp'

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