Following is the log for elasticsearch.
[2017-03-20T07:11:05,114][INFO ][o.e.n.Node ] [node-tta] stopping ...
[2017-03-20T07:11:05,141][INFO ][o.e.n.Node ] [node-tta] stopped
[2017-03-20T07:11:05,141][INFO ][o.e.n.Node ] [node-tta] closing ...
[2017-03-20T07:11:05,148][INFO ][o.e.n.Node ] [node-tta] closed
[2017-03-20T07:11:06,327][WARN ][o.e.b.JNANatives ] Unable to lock JVM Memory: error=12, reason=Cannot allocate memory
[2017-03-20T07:11:06,328][WARN ][o.e.b.JNANatives ] This can result in part of the JVM being swapped out.
[2017-03-20T07:11:06,328][WARN ][o.e.b.JNANatives ] Increase RLIMIT_MEMLOCK, soft limit: 65536, hard limit: 65536
[2017-03-20T07:11:06,328][WARN ][o.e.b.JNANatives ] These can be adjusted by modifying /etc/security/limits.conf, for example:
# allow user 'elasticsearch' mlockall
elasticsearch soft memlock unlimited
elasticsearch hard memlock unlimited
[2017-03-20T07:11:06,328][WARN ][o.e.b.JNANatives ] If you are logged in interactively, you will have to re-login for the new limits to take effect.
[2017-03-20T07:11:06,410][INFO ][o.e.n.Node ] [node-tta] initializing ...
[2017-03-20T07:11:06,488][INFO ][o.e.e.NodeEnvironment ] [node-tta] using [1] data paths, mounts [[/ (/dev/xvda1)]], net usable_space [21.2gb], net total_space [29.3gb], spins? [no], types [ext4]
[2017-03-20T07:11:06,489][INFO ][o.e.e.NodeEnvironment ] [node-tta] heap size [1.9gb], compressed ordinary object pointers [true]
[2017-03-20T07:11:06,493][INFO ][o.e.n.Node ] [node-tta] node name [node-tta], node ID [ubat_-tiS5q7E2y8yCZysQ]
[2017-03-20T07:11:06,495][INFO ][o.e.n.Node ] [node-tta] version[5.2.2], pid[3546], build[f9d9b74/2017-02-24T17:26:45.835Z], OS[Linux/3.13.0-105-generic/amd64], JVM[Oracle Corporation/Java HotSpot(TM) 64-Bit Server VM/1.8.0_121/25.121-b13]
[2017-03-20T07:11:07,281][INFO ][o.e.p.PluginsService ] [node-tta] loaded module [aggs-matrix-stats]
[2017-03-20T07:11:07,281][INFO ][o.e.p.PluginsService ] [node-tta] loaded module [ingest-common]
[2017-03-20T07:11:07,281][INFO ][o.e.p.PluginsService ] [node-tta] loaded module [lang-expression]
[2017-03-20T07:11:07,281][INFO ][o.e.p.PluginsService ] [node-tta] loaded module [lang-groovy]
[2017-03-20T07:11:07,281][INFO ][o.e.p.PluginsService ] [node-tta] loaded module [lang-mustache]
[2017-03-20T07:11:07,281][INFO ][o.e.p.PluginsService ] [node-tta] loaded module [lang-painless]
[2017-03-20T07:11:07,282][INFO ][o.e.p.PluginsService ] [node-tta] loaded module [percolator]
[2017-03-20T07:11:07,282][INFO ][o.e.p.PluginsService ] [node-tta] loaded module [reindex]
[2017-03-20T07:11:07,282][INFO ][o.e.p.PluginsService ] [node-tta] loaded module [transport-netty3]
[2017-03-20T07:11:07,282][INFO ][o.e.p.PluginsService ] [node-tta] loaded module [transport-netty4]
[2017-03-20T07:11:07,283][INFO ][o.e.p.PluginsService ] [node-tta] no plugins loaded
[2017-03-20T07:11:09,579][INFO ][o.e.n.Node ] [node-tta] initialized
[2017-03-20T07:11:09,579][INFO ][o.e.n.Node ] [node-tta] starting ...
[2017-03-20T07:11:09,657][WARN ][i.n.u.i.MacAddressUtil ] Failed to find a usable hardware address from the network interfaces; using random bytes: 0a:41:fa:cb:0d:22:65:6b
[2017-03-20T07:11:09,721][INFO ][o.e.t.TransportService ] [node-tta] publish_address {127.0.0.1:9300}, bound_addresses {[::1]:9300}, {127.0.0.1:9300}
[2017-03-20T07:11:09,729][WARN ][o.e.b.BootstrapChecks ] [node-tta] memory locking requested for elasticsearch process but memory is not locked
[2017-03-20T07:11:12,783][INFO ][o.e.c.s.ClusterService ] [node-tta] new_master {node-tta}{ubat_-tiS5q7E2y8yCZysQ}{irqomIONRPW2CQAyVyR9lQ}{127.0.0.1}{127.0.0.1:9300}, reason: zen-disco-elected-as-master ([0] nodes joined)
[2017-03-20T07:11:12,825][INFO ][o.e.h.HttpServer ] [node-tta] publish_address {x.x.x.x:9200}, bound_addresses {[::1]:9200}
[2017-03-20T07:11:12,825][INFO ][o.e.n.Node ] [node-tta] started
[2017-03-20T07:11:12,962][INFO ][o.e.g.GatewayService ] [node-tta] recovered [1] indices into cluster_state
[2017-03-20T07:11:13,706][INFO ][o.e.c.r.a.AllocationService] [node-tta] Cluster health status changed from [RED] to [YELLOW] (reason: [shards started [[.kibana][0]] ...]).