fastly · Capability

Fastly Real-Time Logging API — Logging Splunk

Fastly Real-Time Logging API — Logging Splunk. 2 operations. Lead operation: List Splunk logging endpoints. Self-contained Naftiko capability covering one Fastly business surface.

Run with Naftiko FastlyLogging Splunk

What You Can Do

GET
Listlogsplunk — List Splunk logging endpoints
/v1/service/{service-id}/version/{version-id}/logging/splunk
POST
Createlogsplunk — Create a Splunk logging endpoint
/v1/service/{service-id}/version/{version-id}/logging/splunk

MCP Tools

list-splunk-logging-endpoints

List Splunk logging endpoints

read-only idempotent
create-splunk-logging-endpoint

Create a Splunk logging endpoint

Capability Spec

logging-logging-splunk.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Fastly Real-Time Logging API — Logging Splunk
  description: 'Fastly Real-Time Logging API — Logging Splunk. 2 operations. Lead operation: List Splunk logging endpoints.
    Self-contained Naftiko capability covering one Fastly business surface.'
  tags:
  - Fastly
  - Logging Splunk
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    FASTLY_API_KEY: FASTLY_API_KEY
capability:
  consumes:
  - type: http
    namespace: logging-logging-splunk
    baseUri: https://api.fastly.com
    description: Fastly Real-Time Logging API — Logging Splunk business capability. Self-contained, no shared references.
    resources:
    - name: service-service_id-version-version_id-logging-splunk
      path: /service/{service_id}/version/{version_id}/logging/splunk
      operations:
      - name: listlogsplunk
        method: GET
        description: List Splunk logging endpoints
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: createlogsplunk
        method: POST
        description: Create a Splunk logging endpoint
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    authentication:
      type: apikey
      key: Fastly-Key
      value: '{{env.FASTLY_API_KEY}}'
      placement: header
  exposes:
  - type: rest
    namespace: logging-logging-splunk-rest
    port: 8080
    description: REST adapter for Fastly Real-Time Logging API — Logging Splunk. One Spectral-compliant resource per consumed
      operation, prefixed with /v1.
    resources:
    - path: /v1/service/{service-id}/version/{version-id}/logging/splunk
      name: service-service-id-version-version-id-logging-splunk
      description: REST surface for service-service_id-version-version_id-logging-splunk.
      operations:
      - method: GET
        name: listlogsplunk
        description: List Splunk logging endpoints
        call: logging-logging-splunk.listlogsplunk
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: createlogsplunk
        description: Create a Splunk logging endpoint
        call: logging-logging-splunk.createlogsplunk
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: logging-logging-splunk-mcp
    port: 9090
    transport: http
    description: MCP adapter for Fastly Real-Time Logging API — Logging Splunk. One tool per consumed operation, routed inline
      through this capability's consumes block.
    tools:
    - name: list-splunk-logging-endpoints
      description: List Splunk logging endpoints
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: logging-logging-splunk.listlogsplunk
      outputParameters:
      - type: object
        mapping: $.
    - name: create-splunk-logging-endpoint
      description: Create a Splunk logging endpoint
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: logging-logging-splunk.createlogsplunk
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.