Exception thrown when starting Elastic search with X-pack
Looks like an issue with Zen Discovery. Maybe you should increase the ping timeout. More info here:
https://www.elastic.co/guide/en/elasticsearch/reference/current/modules-discovery-zen.html
You must read the latest documentation from https://www.elastic.co/guide/en/x-pack/current/installing-xpack.html#installing-xpack
To use X-Pack you need:
Elasticsearch 5.3.0 - Installing Elasticsearch
Kibana 5.3.0 - Getting Kibana Up and Running
after all installed on u're machine
let's surf this documentation: https://www.elastic.co/guide/en/x-pack/current/security-getting-started.html