I get the error "No processor type exists with name [attachment]"

if you mean by restarting : sudo systemctl restart elasticsearch.service yes i did it.
can you please specify how can i get the log you want?