Elastic Stack (ELK Stack) Fleet outputs API

Fleet outputs APIs enable you to manage Fleet outputs, including creating, updating, and deleting output configurations, generating Logstash API keys, and monitoring output health.

Operations 7

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

POST /api/fleet/logstash_api_keys Generate a Logstash API key for Fleet · Generate a Logstash API key #
Ask an LLM
“How do I get an API key so Logstash can receive data from a Fleet output?”
“Can Fleet generate the Logstash credentials for me?”
Tell an agent
Generate a Logstash API key for a Fleet output, sending kbn-xsrf {kbn_xsrf}.
Create new Logstash credentials for Fleet with kbn-xsrf header {kbn_xsrf}.
GET /api/fleet/outputs List Fleet outputs · Get outputs #
Ask an LLM
“Where are my Elastic Agents configured to ship data?”
“Which Fleet outputs exist, and which one is the default?”
Tell an agent
List all Fleet outputs.
Show every configured Fleet output destination.
POST /api/fleet/outputs Create a Fleet output · Create output #
Ask an LLM
“How do I add a new output, like Elasticsearch, Kafka or Logstash, for agents to send data to?”
“Can I create a second Fleet output for a different cluster?”
Tell an agent
Create a new Fleet output, sending kbn-xsrf {kbn_xsrf}.
Add a Fleet output destination for my agents with kbn-xsrf header {kbn_xsrf}.
DELETE /api/fleet/outputs/{outputId} Delete a Fleet output · Delete output #
Ask an LLM
“How do I remove a Fleet output I no longer use?”
“Is deleting an output permanent?”
Tell an agent destructive · confirm first
Delete Fleet output {outputId}.
Remove output {outputId}.
GET /api/fleet/outputs/{outputId} Get a Fleet output · Get output #
Ask an LLM
“What hosts and settings does a specific Fleet output use?”
“Can I look up one output by id?”
Tell an agent
Get Fleet output {outputId}.
Show the configuration of output {outputId}.
PUT /api/fleet/outputs/{outputId} Update a Fleet output · Update output #
Ask an LLM
“Can I change the hosts of an existing Fleet output?”
“How do I edit an output my agents already use?”
Tell an agent
Update Fleet output {outputId}.
Edit the settings of output {outputId}.
GET /api/fleet/outputs/{outputId}/health Check a Fleet output's health · Get the latest output health #
Ask an LLM
“Is my Fleet output healthy and receiving data?”
“What's the latest health status reported for an output?”
Tell an agent
Check the health of output {outputId}.
Show the latest health state of Fleet output {outputId}.

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/elk-stack:elk-stack-fleet-outputs-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

elk-stack-fleet-outputs-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  contact:
    name: Kibana Team
  description: The Kibana REST APIs enable you to manage resources such as connectors, data views, and saved objects.
  title: Kibana Fleet outputs API
  version: ''
  x-doc-license:
    name: Attribution-NonCommercial-NoDerivatives 4.0 International
    url: https://creativecommons.org/licenses/by-nc-nd/4.0/
  x-feedbackLink:
    label: Feedback
    url: https://github.com/elastic/docs-content/issues/new?assignees=&labels=feedback%2Ccommunity&projects=&template=api-feedback.yaml&title=%5BFeedback%5D%3A+
servers:
- url: https://{kibana_url}
  variables:
    kibana_url:
      default: localhost:5601
security:
- apiKeyAuth: []
- basicAuth: []
tags:


# --- truncated at 32 KB (65 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/elk-stack/refs/heads/main/openapi/elk-stack-fleet-outputs-api-openapi.yml