Elasticsearch roles to use for zipkin user if Elasticsearch has the auth enabled Create a role named as zipkin (use correct auth in -u curl option) curl -k -X POST -H 'Content-Type: application/json' -u $ELASTIC_USERNAME:$ELASTIC_PASSWORD https://elasticsearch-host:9200/_security/role/zipkin -d' { "indices": [ { "names": [ "zipkin*" ], "privileges": ["all"] } ], "cluster": [ "manage_index_templates", "monitor" ] } ' Create an user named as zipkin and assign the role to it curl -k -X POST -H 'Content-Type: application/json' -u $ELASTIC_USERNAME:$ELASTIC_PASSWORD https://elasticsearch-host:9200/_security/user/zipkin -d' { "enabled" : true, "password" : "super_secret", "roles" : [ "zipkin" ], "full_name" : "Zipkin User" } ' Start zipkin with elasticsearch and auth STORAGE_TYPE=elasticsearch ES_HOSTS=https://elasticsearch-host:9200 ES_USERNAME=zipkin ES_PASSWORD=super_secret java -jar zipkin.jar