Reputation: 452
I have a ES + LogStash + Kibana set up. ES 1.1.1 is running as a Service with default configuration.
Logstash has a simple config like below:
input { stdin { }}
output{
elasticsearch_http {
host => "localhost:9200"}
}
My aim is to see the staff I'm inputting to Console on Kibana which is configured to listen http://someserver.com:9200 in config.js.
When I run logstash with above config file and input some words, I'm able to see them on Web page http://someserver.com:9200/_search?pretty, but my Kibana has default black screen?
What could I miss?
Upvotes: 0
Views: 4053
Reputation: 452
The issue here was in IIS. I didn't analyse where exactly, but once I set-up Apache 2.5 everything started working as well. Once I understand what is the issue, will update message.
Upvotes: 0
Reputation: 17155
Here's a simple how to get started:
bin/elasticsearch
in a console window.input { stdin { }} output{ stdout { codec => rubydebug } elasticsearch_http { host => "localhost:9200" } }
bin/logstash -f simple.conf
Type something in and make sure it gets echo'd back out:
This is a test { "message" => "This is a test", "@version" => "1", "@timestamp" => "2014-05-05T18:46:25.535Z", "host" => "yourhostname" }
now you can be sure that things are working, so you need to load kibana. If you are just using a web browser (with no web server), you'll need to change the config.js file to show elasticsearch: "http://localhost:9200",
instead of the default (which builds the URL based on the web server serving the kibana content).
If any of this is unclear, let me know which step is giving you issues.
Upvotes: 1