跳到正文
MCP ThesaurusMCP Thesaurus

Log:search

社区Incomplete39/100认领

MITupdated 20d ago

Search through application log files to find entries matching a pattern.

源码官网文档

Log:search 能做什么?


name: "log:search" description: "Search application logs for patterns and errors"

Search through application log files to find entries matching a pattern.

Steps

  1. Determine which log directory to search (/var/log/app/ or the path provided)
  2. Use grep or ripgrep to find matching lines
  3. Format results with timestamps and context lines
  4. Display the matches