naftiko: 1.0.0-alpha2 info: label: Kibana APIs — logstash description: 'Kibana APIs — logstash. 4 operations. Lead operation: Delete a Logstash pipeline. Self-contained Naftiko capability covering one Kibana business surface.' tags: - Kibana - logstash created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: KIBANA_API_KEY: KIBANA_API_KEY capability: consumes: - type: http namespace: kibana-logstash baseUri: https://{kibana_url} description: Kibana APIs — logstash business capability. Self-contained, no shared references. resources: - name: api-logstash-pipeline-id path: /api/logstash/pipeline/{id} operations: - name: deletelogstashpipeline method: DELETE description: Delete a Logstash pipeline outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: id in: path type: string description: An identifier for the pipeline. required: true - name: getlogstashpipeline method: GET description: Get a Logstash pipeline outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: id in: path type: string description: An identifier for the pipeline. required: true - name: putlogstashpipeline method: PUT description: Create or update a Logstash pipeline outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: id in: path type: string description: An identifier for the pipeline. Pipeline ID must begin with a letter or underscore and can contain only letters, underscores, dashes, hyphens, and numbers. required: true - name: body in: body type: object description: Request body (JSON). required: false - name: api-logstash-pipelines path: /api/logstash/pipelines operations: - name: getlogstashpipelines method: GET description: Get all Logstash pipelines outputRawFormat: json outputParameters: - name: result type: object value: $. authentication: type: apikey key: Authorization value: '{{env.KIBANA_API_KEY}}' placement: header exposes: - type: rest namespace: kibana-logstash-rest port: 8080 description: REST adapter for Kibana APIs — logstash. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/api/logstash/pipeline/{id} name: api-logstash-pipeline-id description: REST surface for api-logstash-pipeline-id. operations: - method: DELETE name: deletelogstashpipeline description: Delete a Logstash pipeline call: kibana-logstash.deletelogstashpipeline with: id: rest.id outputParameters: - type: object mapping: $. - method: GET name: getlogstashpipeline description: Get a Logstash pipeline call: kibana-logstash.getlogstashpipeline with: id: rest.id outputParameters: - type: object mapping: $. - method: PUT name: putlogstashpipeline description: Create or update a Logstash pipeline call: kibana-logstash.putlogstashpipeline with: id: rest.id body: rest.body outputParameters: - type: object mapping: $. - path: /v1/api/logstash/pipelines name: api-logstash-pipelines description: REST surface for api-logstash-pipelines. operations: - method: GET name: getlogstashpipelines description: Get all Logstash pipelines call: kibana-logstash.getlogstashpipelines outputParameters: - type: object mapping: $. - type: mcp namespace: kibana-logstash-mcp port: 9090 transport: http description: MCP adapter for Kibana APIs — logstash. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: delete-logstash-pipeline description: Delete a Logstash pipeline hints: readOnly: false destructive: true idempotent: true call: kibana-logstash.deletelogstashpipeline with: id: tools.id outputParameters: - type: object mapping: $. - name: get-logstash-pipeline description: Get a Logstash pipeline hints: readOnly: true destructive: false idempotent: true call: kibana-logstash.getlogstashpipeline with: id: tools.id outputParameters: - type: object mapping: $. - name: create-update-logstash-pipeline description: Create or update a Logstash pipeline hints: readOnly: false destructive: false idempotent: true call: kibana-logstash.putlogstashpipeline with: id: tools.id body: tools.body outputParameters: - type: object mapping: $. - name: get-all-logstash-pipelines description: Get all Logstash pipelines hints: readOnly: true destructive: false idempotent: true call: kibana-logstash.getlogstashpipelines outputParameters: - type: object mapping: $.