Install by package by direct upload
Headers
-
Kibana's anti Cross-Site Request Forgery token. Can be any string value.
Query parameters
-
ignoreMappingUpdateErrors boolean
avoid erroring out on unexpected mapping update errors
Default value is
false
. -
skipDataStreamRollover boolean
Skip data stream rollover during index template mapping or settings update
Default value is
false
.
application/gzip; Elastic-Api-Version=2023-10-31
Body
string(binary)
string(binary)
Body
string(binary)
string(binary)
POST /api/fleet/epm/packages
cURL (application/gzip; Elastic-Api-Version=2023-10-31)
curl \
-X POST https://localhost:5601/api/fleet/epm/packages \
-H "Content-Type: application/gzip; Elastic-Api-Version=2023-10-31" \
-H "kbn-xsrf: string"
curl \
-X POST https://localhost:5601/api/fleet/epm/packages \
-H "Content-Type: application/zip; Elastic-Api-Version=2023-10-31" \
-H "kbn-xsrf: string"
Response examples (200)
{
"_meta": {
"install_source": "upload"
},
"items": [
{
"id": "string",
"type": "dashboard"
}
]
}
Response examples (400)
{
"error": "string",
"message": "string",
"statusCode": 42.0
}
Response examples (429)
{
"error": "string",
"message": "string",
"statusCode": 42.0
}