Hi everyone, I am having issues running the elasti...
# all-things-deployment
l
Hi everyone, I am having issues running the elasticsearch setup job during deployment. Logs can be found in the thread. Does anyone know how to fix this? thanks!
Copy code
2022/10/14 04:03:09 Waiting for: <http://elasticsearch-master:9200>
2022/10/14 04:03:09 Received 200 from <http://elasticsearch-master:9200>
Going to use protocol: http
Going to use default elastic headers
Create datahub_usage_event if needed against Elasticsearch at elasticsearch-master:9200
Going to use index prefix::
curl: option -k <http://elasticsearch-master:9200/_ilm/policy/datahub_usage_event_policy>: is unknown
curl: try 'curl --help' or 'curl --manual' for more information
/create-indices.sh: line 41: [: -eq: unary operator expected
/create-indices.sh: line 45: [: -eq: unary operator expected
/create-indices.sh: line 47: [: -eq: unary operator expected
Policy GET response code is
Got response code  while creating policy so exiting.
2022/10/14 04:03:09 Command exited with error: exit status 1
f
l
Thanks for the help! I will try that.