Get output
Get output by ID.
[Required authorization] Route required privileges: ANY of [fleet-settings-read OR fleet-agent-policies-read].
Path parameters
-
outputId
string Required
Responses
-
200 application/json
Hide response attribute Show response attribute object
item
object Required Any of: Hide attributes Show attributes
-
allow_edit
array[string] -
ca_sha256
string | null -
ca_trusted_fingerprint
string | null -
config_yaml
string | null -
hosts
array[string(uri)] Required At least
1
element. -
id
string -
is_default
boolean Default value is
false
. -
is_default_monitoring
boolean Default value is
false
. -
is_internal
boolean -
is_preconfigured
boolean -
name
string Required -
preset
string Values are
balanced
,custom
,throughput
,scale
, orlatency
. -
proxy_id
string | null -
secrets
object Additional properties are allowed.
Hide secrets attribute Show secrets attribute object
-
shipper
object | null Additional properties are allowed.
Hide shipper attributes Show shipper attributes object | null
-
compression_level
number | null Required -
disk_queue_compression_enabled
boolean | null Required -
disk_queue_enabled
boolean | null Default value is
false
. -
disk_queue_encryption_enabled
boolean | null Required -
disk_queue_max_size
number | null Required -
disk_queue_path
string | null Required -
loadbalance
boolean | null Required -
max_batch_bytes
number | null Required -
mem_queue_events
number | null Required -
queue_flush_timeout
number | null Required
-
-
ssl
object | null Additional properties are allowed.
Hide ssl attributes Show ssl attributes object | null
-
certificate
string -
certificate_authorities
array[string] -
key
string -
verification_mode
string Values are
full
,none
,certificate
, orstrict
.
-
-
type
string Required Value is
elasticsearch
.
Hide attributes Show attributes
-
allow_edit
array[string] -
ca_sha256
string | null -
ca_trusted_fingerprint
string | null -
config_yaml
string | null -
hosts
array[string(uri)] Required At least
1
element. -
id
string -
is_default
boolean Default value is
false
. -
is_default_monitoring
boolean Default value is
false
. -
is_internal
boolean -
is_preconfigured
boolean -
kibana_api_key
string | null -
kibana_url
string | null -
name
string Required -
preset
string Values are
balanced
,custom
,throughput
,scale
, orlatency
. -
proxy_id
string | null -
secrets
object Additional properties are allowed.
Hide secrets attributes Show secrets attributes object
kibana_api_key
object | string service_token
object | string -
ssl
object Additional properties are allowed.
Hide ssl attribute Show ssl attribute object
-
service_token
string | null -
shipper
object | null Additional properties are allowed.
Hide shipper attributes Show shipper attributes object | null
-
compression_level
number | null Required -
disk_queue_compression_enabled
boolean | null Required -
disk_queue_enabled
boolean | null Default value is
false
. -
disk_queue_encryption_enabled
boolean | null Required -
disk_queue_max_size
number | null Required -
disk_queue_path
string | null Required -
loadbalance
boolean | null Required -
max_batch_bytes
number | null Required -
mem_queue_events
number | null Required -
queue_flush_timeout
number | null Required
-
-
ssl
object | null Additional properties are allowed.
Hide ssl attributes Show ssl attributes object | null
-
certificate
string -
certificate_authorities
array[string] -
key
string -
verification_mode
string Values are
full
,none
,certificate
, orstrict
.
-
-
sync_integrations
boolean -
type
string Required Value is
remote_elasticsearch
.
Hide attributes Show attributes
-
allow_edit
array[string] -
ca_sha256
string | null -
ca_trusted_fingerprint
string | null -
config_yaml
string | null -
hosts
array[string] Required At least
1
element. -
id
string -
is_default
boolean Default value is
false
. -
is_default_monitoring
boolean Default value is
false
. -
is_internal
boolean -
is_preconfigured
boolean -
name
string Required -
proxy_id
string | null -
secrets
object Additional properties are allowed.
Hide secrets attribute Show secrets attribute object
-
shipper
object | null Additional properties are allowed.
Hide shipper attributes Show shipper attributes object | null
-
compression_level
number | null Required -
disk_queue_compression_enabled
boolean | null Required -
disk_queue_enabled
boolean | null Default value is
false
. -
disk_queue_encryption_enabled
boolean | null Required -
disk_queue_max_size
number | null Required -
disk_queue_path
string | null Required -
loadbalance
boolean | null Required -
max_batch_bytes
number | null Required -
mem_queue_events
number | null Required -
queue_flush_timeout
number | null Required
-
-
ssl
object | null Additional properties are allowed.
Hide ssl attributes Show ssl attributes object | null
-
certificate
string -
certificate_authorities
array[string] -
key
string -
verification_mode
string Values are
full
,none
,certificate
, orstrict
.
-
-
type
string Required Value is
logstash
.
Hide attributes Show attributes
-
allow_edit
array[string] -
auth_type
string Required Values are
none
,user_pass
,ssl
, orkerberos
. -
broker_timeout
number -
ca_sha256
string | null -
ca_trusted_fingerprint
string | null -
client_id
string -
compression
string Values are
gzip
,snappy
,lz4
, ornone
. compression_level
array | null | boolean | number | object | string Required -
config_yaml
string | null connection_type
array | null | boolean | number | object | string Required -
hash
object Additional properties are allowed.
-
headers
array[object] -
hosts
array[string] Required At least
1
element. -
id
string -
is_default
boolean Default value is
false
. -
is_default_monitoring
boolean Default value is
false
. -
is_internal
boolean -
is_preconfigured
boolean -
key
string -
name
string Required -
partition
string Values are
random
,round_robin
, orhash
. password
array | null | boolean | number | object | string Required -
proxy_id
string | null -
random
object Additional properties are allowed.
Hide random attribute Show random attribute object
-
group_events
number
-
-
required_acks
integer Values are
1
,0
, or-1
. -
round_robin
object Additional properties are allowed.
Hide round_robin attribute Show round_robin attribute object
-
group_events
number
-
-
sasl
object | null Additional properties are allowed.
Hide sasl attribute Show sasl attribute object | null
-
mechanism
string Values are
PLAIN
,SCRAM-SHA-256
, orSCRAM-SHA-512
.
-
-
secrets
object Additional properties are allowed.
Hide secrets attributes Show secrets attributes object
-
shipper
object | null Additional properties are allowed.
Hide shipper attributes Show shipper attributes object | null
-
compression_level
number | null Required -
disk_queue_compression_enabled
boolean | null Required -
disk_queue_enabled
boolean | null Default value is
false
. -
disk_queue_encryption_enabled
boolean | null Required -
disk_queue_max_size
number | null Required -
disk_queue_path
string | null Required -
loadbalance
boolean | null Required -
max_batch_bytes
number | null Required -
mem_queue_events
number | null Required -
queue_flush_timeout
number | null Required
-
-
ssl
object | null Additional properties are allowed.
Hide ssl attributes Show ssl attributes object | null
-
certificate
string -
certificate_authorities
array[string] -
key
string -
verification_mode
string Values are
full
,none
,certificate
, orstrict
.
-
-
timeout
number -
topic
string -
type
string Required Value is
kafka
. username
array | null | boolean | number | object | string Required -
version
string
-
-
400 application/json
Hide response attributes Show response attributes object
-
error
string -
errorType
string -
message
string Required -
statusCode
number
-
curl \
--request GET http://localhost:5622/api/fleet/outputs/{outputId} \
--header "Authorization: $API_KEY"
{
"item": {
"allow_edit": [
"string"
],
"ca_sha256": "string",
"ca_trusted_fingerprint": "string",
"config_yaml": "string",
"hosts": [
"https://example.com"
],
"id": "string",
"is_default": false,
"is_default_monitoring": false,
"is_internal": true,
"is_preconfigured": true,
"name": "string",
"preset": "balanced",
"proxy_id": "string",
"secrets": {
"ssl": {
"key": {
"id": "string"
}
}
},
"shipper": {
"compression_level": 42.0,
"disk_queue_compression_enabled": true,
"disk_queue_enabled": false,
"disk_queue_encryption_enabled": true,
"disk_queue_max_size": 42.0,
"disk_queue_path": "string",
"loadbalance": true,
"max_batch_bytes": 42.0,
"mem_queue_events": 42.0,
"queue_flush_timeout": 42.0
},
"ssl": {
"certificate": "string",
"certificate_authorities": [
"string"
],
"key": "string",
"verification_mode": "full"
},
"type": "elasticsearch"
}
}
{
"error": "string",
"errorType": "string",
"message": "string",
"statusCode": 42.0
}