Spaces method and path for this operation:
Refer to Spaces for more information.
Get output by ID.
[Required authorization] Route required privileges: fleet-settings-read OR fleet-agent-policies-read.
Responses
-
Successful response
Hide response attribute Show response attribute object
item
object Required Any of: Hide attributes Show attributes
-
Not more than
1000elements. -
At least
1but not more than10elements. -
Default value is
false. -
Default value is
false. -
Values are
balanced,custom,throughput,scale, orlatency. -
Additional properties are allowed.
Hide secrets attribute Show secrets attribute object
-
Additional properties are allowed.
Hide shipper attributes Show shipper attributes object
-
Default value is
false.
-
Additional properties are allowed.
-
Value is
elasticsearch.
Hide attributes Show attributes
-
Not more than
1000elements. -
At least
1but not more than10elements. -
Default value is
false. -
Default value is
false. -
Values are
balanced,custom,throughput,scale, orlatency. -
Additional properties are allowed.
Hide secrets attributes Show secrets attributes object
-
Additional properties are allowed.
Hide shipper attributes Show shipper attributes object
-
Default value is
false.
-
Additional properties are allowed.
-
Value is
remote_elasticsearch.
Hide attributes Show attributes
-
Not more than
1000elements. -
At least
1but not more than10elements. -
Default value is
false. -
Default value is
false. -
Additional properties are allowed.
Hide secrets attribute Show secrets attribute object
-
Additional properties are allowed.
Hide shipper attributes Show shipper attributes object
-
Default value is
false.
-
Additional properties are allowed.
-
Value is
logstash.
Hide attributes Show attributes
-
Not more than
1000elements. -
Values are
none,user_pass,ssl, orkerberos. -
Values are
gzip,snappy,lz4, ornone. -
Values are
plaintextorencryption. -
Additional properties are allowed.
-
Not more than
100elements. -
At least
1but not more than10elements. -
Default value is
false. -
Default value is
false. -
Values are
random,round_robin, orhash. -
Additional properties are allowed.
-
Values are
1,0, or-1. -
Additional properties are allowed.
-
Additional properties are allowed.
-
Additional properties are allowed.
Hide secrets attributes Show secrets attributes object
-
Additional properties are allowed.
Hide shipper attributes Show shipper attributes object
-
Default value is
false.
-
Additional properties are allowed.
-
Value is
kafka.
-
-
Bad Request
-
Not Found
curl \
--request GET 'https://<KIBANA_URL>/api/fleet/outputs/{outputId}' \
--header "Authorization: $API_KEY"
{
"item": {
"hosts": [
"https://elasticsearch.example.com:9200"
],
"id": "output-id-1",
"is_default": true,
"is_default_monitoring": true,
"name": "Default output",
"type": "elasticsearch"
}
}
{
"error": "Bad Request",
"message": "An error message describing what went wrong",
"statusCode": 400
}
{
"error": "Not Found",
"message": "Output output-id-1 not found",
"statusCode": 404
}