Skip to main content
Glama
samwang0723

MCP Sumo Logic Server

by samwang0723

MCP 스모 로직

Sumo Logic의 API와 통합되어 로그 검색을 수행하는 MCP(Model Context Protocol) 서버입니다.

특징

  • 사용자 정의 쿼리를 사용하여 Sumo Logic 로그 검색

  • 검색을 위한 구성 가능한 시간 범위

  • 오류 처리 및 자세한 로깅

  • 간편한 배포를 위한 Docker 지원

Related MCP server: sumo-mcp

환경 변수

지엑스피1

설정

  1. 저장소를 복제합니다

  2. 종속성 설치:

    npm install
  3. 필요한 환경 변수로 .env 파일을 만듭니다.

  4. 프로젝트를 빌드하세요:

    npm run build
  5. 서버를 시작합니다:

    npm start

도커 설정

  1. Docker 이미지를 빌드합니다.

    docker build -t mcp/sumologic .
  2. 컨테이너를 실행합니다(방법 하나 선택):

    a. 환경 변수를 직접 사용하는 경우:

    docker run -e ENDPOINT=your_endpoint -e SUMO_API_ID=your_api_id -e SUMO_API_KEY=your_api_key mcp/sumologic

    b. .env 파일 사용:

    docker run --env-file .env mcp/sumologic

    참고: .env 파일에 필수 환경 변수가 포함되어 있는지 확인하세요.

    ENDPOINT=your_endpoint
    SUMO_API_ID=your_api_id
    SUMO_API_KEY=your_api_key

용법

서버는 다음 매개변수를 허용하는 search-sumologic 도구를 제공합니다.

  • query (필수): Sumo Logic 검색 쿼리

  • (선택 from ): ISO 8601 형식의 시작 시간

  • (선택 to ): ISO 8601 형식의 종료 시간

예제 쿼리:

const query = '_index=app_pro_fiat_cont | json auto | fields log_identifier';
const results = await search(sumoClient, query, {
  from: '2024-02-23T00:00:00Z',
  to: '2024-02-24T00:00:00Z',
});

오류 처리

서버에는 포괄적인 오류 처리 및 로깅이 포함되어 있습니다.

  • API 오류가 발견되어 세부 정보와 함께 기록됩니다.

  • 검색 작업 상태가 모니터링되고 기록됩니다.

  • 네트워크 및 인증 문제가 적절하게 처리됩니다.

개발

개발 모드에서 실행하려면:

npm run dev

테스트용:

npm test
F
license - not found
Not graded
quality - not tested
D
maintenance

Maintenance

0Releases (12mo)

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Connectors

Related MCP Servers

  • F
    license
    A
    quality
    D
    maintenance
    Enables searching Sumo Logic logs using the search_logs tool, with support for query parameters such as time range and maximum results.
    1
    1
  • A
    license
    Not graded
    quality
    D
    maintenance
    Enables natural language interaction with SumoLogic for log management and analytics, with contextual awareness through a configuration file that maps your environment.
    Apache 2.0

View all related MCP servers

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/samwang0723/mcp-sumologic'

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