Elasticsearch: Declare the pipeline attachment
This documentation is part of the Ingest attachment plugin guide. View the full guide here: How to extract data from PPT, XLS, and PDF files to Elasticsearch.
👋 Welcome to the Stackhero documentation!
Stackhero offers a ready-to-use Elasticsearch cloud solution that provides a host of benefits, including:
- Optimal performance and robust security powered by a private and dedicated VM.
- Customizable domain name secured with HTTPS encryption support.
Save time and simplify your life: it only takes 5 minutes to try Stackhero's Elasticsearch cloud hosting solution!
Next, declare the attachment pipeline in Elasticsearch. In this example, the content you wish to extract is stored in the field data:
PUT _ingest/pipeline/attachment
{
"description": "Extract attachment information",
"processors": [
{
"attachment": {
"field": "data"
}
}
]
}
We recommend using the "Dev Tools" in Kibana for a simple copy/paste execution of this command.
Dev tools Kibana