Your setup looks correct. I'm unsure if the document_id interpolation of DOC_ID works, but it sounds like your error is related to the HTTP connection itself.
Are you using App Search on swiftype.com, Elastic Cloud or as self-managed? If you're on Elastic Cloud or self-managed you should be able to see some logs.
I'm on Elastic Cloud. Sending a get request to: /api/as/v1/engines/<engine_name>/logs/api
I get a listing of logs but I can't find any result with a status that isn't 200.
How might I use the endpoint to specify that I'm looking for results specific to indexing and not search? Or specify a filter of status != 200... I see there's a query param and a filter/status but there's not much documentation: https://www.elastic.co/guide/en/app-search/current/api-logs.html
Or is there another way to get the logs? Or are there other logs?
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.