New to elasticsearch, kibana and logstash


(Simon Mandy) #1

Hello,

I am a new user to to elasticsearch, kibana and logstash.

I downloaded Elasticsearch 2.4.1 zip file to ubuntu 14.04 and extricated to /apps/elasticsearch-2.4.1/
Started it by /apps/elasticsearch-2.4.1/bin/elasticsearch -d

I downloaded Kibana 4.6.1 tar file to ubuntu 14.04 and extricated to /apps/kibana-4.6.1-linux-x86_64/
Edited /apps/kibana-4.6.1-linux-x86_64/config/kibana.yml and set below values
server.port: 5601
server.host: ""
elasticsearch.url: "http://localhost:9200"

Started it by /apps/kibana-4.6.1-linux-x86_64/bin/kibana
saw message [info][listening] Server running at http://:5601

But i dont get a page when i try http://:5601

Can any one help?

Thanks,
Simon Mandy


(David Pilato) #2

What do the elasticsearch logs say?

BTW, I'd not try to modify any setting at first. So keep the default Kibana settings values.

I think that server.host: "" should be something like server.host: "127.0.0.1"


(Simon Mandy) #3

OK, I clean installed elasticsearch and kibana and started both back. (to get the confutation to default as you suggested)
Here is log from elasticsearch.log

[2016-10-04 11:33:26,985][INFO ][node                     ] [Hector] version[2.4.1], pid[5415], build[c67dc32/201
6-09-27T18:57:55Z]
[2016-10-04 11:33:26,998][INFO ][node                     ] [Hector] initializing ...
[2016-10-04 11:33:27,774][INFO ][plugins                  ] [Hector] modules [reindex, lang-expression, lang-groo
vy], plugins [], sites []
[2016-10-04 11:33:27,799][INFO ][env                      ] [Hector] using [1] data paths, mounts [[/apps (/dev/x
vdb1)]], net usable_space [43.5gb], net total_space [46.8gb], spins? [no], types [ext4]
[2016-10-04 11:33:27,799][INFO ][env                      ] [Hector] heap size [1007.3mb], compressed ordinary ob
ject pointers [true]
[2016-10-04 11:33:27,800][WARN ][env                      ] [Hector] max file descriptors [4096] for elasticsearc
h process likely too low, consider increasing to at least [65536]
[2016-10-04 11:33:29,983][INFO ][node                     ] [Hector] initialized
[2016-10-04 11:33:29,983][INFO ][node                     ] [Hector] starting ...
[2016-10-04 11:33:30,083][INFO ][transport                ] [Hector] publish_address {127.0.0.1:9300}, bound_addr
esses {127.0.0.1:9300}
[2016-10-04 11:33:30,089][INFO ][discovery                ] [Hector] elasticsearch/M0tziDnZRVunwibP0FggRg
[2016-10-04 11:33:33,142][INFO ][cluster.service          ] [Hector] new_master {Hector}{M0tziDnZRVunwibP0FggRg}{
127.0.0.1}{127.0.0.1:9300}, reason: zen-disco-join(elected_as_master, [0] joins received)
[2016-10-04 11:33:33,202][INFO ][http                     ] [Hector] publish_address {127.0.0.1:9200}, bound_addr
esses {127.0.0.1:9200}
[2016-10-04 11:33:33,203][INFO ][node                     ] [Hector] started
[2016-10-04 11:33:33,236][INFO ][gateway                  ] [Hector] recovered [0] indices into cluster_state
[2016-10-04 11:33:49,726][INFO ][cluster.metadata         ] [Hector] [.kibana] creating index, cause [api], templ
ates [], shards [1]/[1], mappings [config]
[2016-10-04 11:33:50,003][INFO ][cluster.routing.allocation] [Hector] Cluster health status changed from [RED] to
 [YELLOW] (reason: [shards started [[.kibana][0]] ...]).

(David Pilato) #4

It looks good.

(Please format your code)


(Simon Mandy) #5

I did below and that fixed it.
sudo ufw allow 5601


(system) #6