Fluentd · Capability

Fluentd HTTP Input API

The Fluentd HTTP Input plugin exposes an HTTP endpoint that accepts log records posted as JSON, MessagePack, or form-encoded data. It allows applications to send events to Fluentd over standard HTTP, making it accessible from any language or platform that can make HTTP requests. Events can be sent individually or in batches, and the tag routing system determines downstream processing pipelines.

Run with Naftiko FluentdAPI

What You Can Do

POST
Postevent — Fluentd Post a log event
/{tag}
POST
Posteventwithformat — Fluentd Post a log event with explicit format
/{tag}.{format}

MCP Tools

postevent

Fluentd Post a log event

posteventwithformat

Fluentd Post a log event with explicit format

Capability Spec

fluentd-capability.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Fluentd HTTP Input API
  description: The Fluentd HTTP Input plugin exposes an HTTP endpoint that accepts log records posted as JSON, MessagePack,
    or form-encoded data. It allows applications to send events to Fluentd over standard HTTP, making it accessible from any
    language or platform that can make HTTP requests. Events can be sent individually or in batches, and the tag routing system
    determines downstream processing pipelines.
  tags:
  - Fluentd
  - API
  created: '2026-05-06'
  modified: '2026-05-06'
capability:
  consumes:
  - type: http
    namespace: fluentd
    baseUri: http://localhost:8888
    description: Fluentd HTTP Input API HTTP API.
    resources:
    - name: tag
      path: /{tag}
      operations:
      - name: postevent
        method: POST
        description: Fluentd Post a log event
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: tag-format
      path: /{tag}.{format}
      operations:
      - name: posteventwithformat
        method: POST
        description: Fluentd Post a log event with explicit format
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
  exposes:
  - type: rest
    port: 8080
    namespace: fluentd-rest
    description: REST adapter for Fluentd HTTP Input API.
    resources:
    - path: /{tag}
      name: postevent
      operations:
      - method: POST
        name: postevent
        description: Fluentd Post a log event
        call: fluentd.postevent
        outputParameters:
        - type: object
          mapping: $.
    - path: /{tag}.{format}
      name: posteventwithformat
      operations:
      - method: POST
        name: posteventwithformat
        description: Fluentd Post a log event with explicit format
        call: fluentd.posteventwithformat
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    port: 9090
    namespace: fluentd-mcp
    transport: http
    description: MCP adapter for Fluentd HTTP Input API for AI agent use.
    tools:
    - name: postevent
      description: Fluentd Post a log event
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: fluentd.postevent
      outputParameters:
      - type: object
        mapping: $.
    - name: posteventwithformat
      description: Fluentd Post a log event with explicit format
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: fluentd.posteventwithformat
      outputParameters:
      - type: object
        mapping: $.