Siddharth Trikha
Siddharth Trikha

Reputation: 2506

Logstash+ES+Kibana setup?

I have logstash-1.4.1, elasticsearch-1.1.1 and kibana-3.1.0 downloaded on my machine. Presently I do the following steps to run the three and view my logs:

  1. run ./bin/elasticsearch to start elastic search.
  2. run bin/logstash -f logstash-simple.conf to start logstash. So till here my logs are stored in ES.
  3. To view my logs, I go to kibana-3.1.0 folder and open the index.html file inside it and I select a dashboard and my logs appear and am able to analyze them.

So presently index.html is run and a local file url is displayed in the browser with directory structure of the index file: file:///path/to/file/kibana-3.1.0/index.html#/dashboard/file/default.json

I want to view my logs via a proper url (which I can also give it to my client to run). If I try http://this.is.my.ip:9200//_search?pretty=true, I get to see logs in plain text format (the way it is stored in ES).

How should I able too view my logs with a URL (not the index.html). I want to give it to the client so that he can view logs through it's machine.

If I try http://this.is.my.ip:9200/kibana, I get No handler found for uri [/kibana] and method [GET].

I am new to this. I guess am missing something. Please help.

Upvotes: 2

Views: 2659

Answers (2)

Tanmay Deshpande
Tanmay Deshpande

Reputation: 509

Here is the latest installation and integration tutorial of Logstash, ElasticSearch and Kibana on Apache Logs.

Installation Guide on Windows

Log Analytics using ElasticSearch, Logstash and Kibana

Upvotes: 3

Ban-Chuan Lim
Ban-Chuan Lim

Reputation: 7890

You need an web server, for example apache run at port 80, and put kibana folder into apache htdocs folder. So, you will have the URL: http:/this.is.my.ip/kibana-3.1.0/index.html

Then you want view your logs via the link above. Also, you can give this url to your client.

Upvotes: 2

Related Questions