i get
{
"error": {
"root_cause": [
{
"type": "parse_exception",
"reason": "No processor type exists with name [attachment]",
"processor_type": "attachment"
}
],
"type": "parse_exception",
"reason": "No processor type exists with name [attachment]",
"processor_type": "attachment"
},
"status": 400
}
when i try to do the pipeline here in the docs https://www.elastic.co/guide/en/elasticsearch/plugins/7.2/using-ingest-attachment.html
PUT _ingest/pipeline/attachment
{
"description" : "Extract attachment information",
"processors" : [
{
"attachment" : {
"field" : "data",
"indexed_chars" : 11
}
}
]
}
can anyone help me! i'm new to ES i just install it, everything is working and i followed the docs i can index and search fine ..
i installed the plugin : sudo bin/elasticsearch-plugin install ingest-attachment
and when i hit : GET _cat/plugins?v .. i get :
name component version
ubuntu-TUF-Gaming-FX505GE-FX505GE ingest-attachment 7.2.0
ok i downloaded the archive package from the download page. i choose download for linux, then extracted and started the elasticsearch with ./bin/elasticsearch in cmd.
what is the log that i should show?
i saw you talk about this in old issues and you said that we have to install the plugin in every node.. first i don't understand why i have 2 nodes, i only had installed elasticsearch for 5 days and just followed the docs on how to index and do simple stuff !
You can't have 2 nodes running on the same machine unless if you changed some settings.
Kill the node you don't need. Or just kill them all and restart only one
so i did kill one and did sudo systemctl restart elasticsearch.service and now when i did GET /_cat/nodes?v i get ip heap.percent ram.percent cpu load_1m load_5m load_15m node.role master name 127.0.0.1 15 83 8 0.67 1.20 0.98 mdi * ubuntu-TUF-Gaming-FX505GE-FX505GE
but i still get { "error": { "root_cause": [ { "type": "parse_exception", "reason": "No processor type exists with name [attachment]", "processor_type": "attachment" } ], "type": "parse_exception", "reason": "No processor type exists with name [attachment]", "processor_type": "attachment" }, "status": 400 }
when i do PUT _ingest/pipeline/attachment { "description" : "Extract attachment information", "processors" : [ { "attachment" : { "field" : "data", "indexed_chars" : 11 } } ] }
PS: i removed and reinstalled the Ingest Attachment Processor Plugin!
i uninstalled elasticsearch and reinstalled it and everything works fine and i understood now that at first i installed and run it twice: with service and with./bin/elasticsearch that is why i got two nodes. thanks
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.