Do Android 3 years, the network is not very concerned about, and now look let me eat a surprise, many of the previously expected features are open source, and powerful, try a bit.
Simple trial
Download elasticsearch-1.4.2 and start
Download logstash-1.4.2, run the following command
Bin/logstash-e ' input {stdin {}} output {elasticsearch {host = localhost}} '
The data entered by the console will be logstash to Elasticsearch (so Logstash is a data glue or connector)
Found a more index (but also a useless Node, later to understand)
Download kibana-3.1.0, Kibana just JS, put in the Web App directory will be
I put it in/var/lib/tomcat6/webapps/root/.
Then visit http://10.15.4.207:8080/kibana-3.1.0/index.html
But it is wrong to say that the connection is not elasticsearch, check more information, using the following methods to solve
Change Elasticsearch.yml, add the following two lines
Http.cors.enabled:true
Http.cors.allow-origin:/https?:\ /\/<*your\.kibana\.host*> (: [0-9]+)?
See the Kibana interface
Join Redis
Download redis-2.8.19
Run Src/redis-server start service after make
Redis is a data storage service interface similar to memcached
This experiment is actually very simple, with two logstash processes.
First feed, read stdin and then send data to Redis
The second one gives the index data, Logstash reads the Redis data, and then submits the data to the Elasticsearch
specific steps, editing logstash.feed.conf
$ cat logstash.feed.conf
Input {
stdin {
}
}
Output {
StdOut {}
Redis {host = "127.0.0.1" data_type = "List" key = "Logstash"}
}
And start with Bin/logstash-f logstash.feed.conf .
Edit logstash.index.conf (content below)
Input {
Redis
{
Host = "127.0.0.1"
data_type = "List"
Key = "Logstash"
Type = "Redis-input"
}
}
Output
{
Elasticsearch {
host = "localhost"
}
}
Enter data in the console of the feed, and check in the Kibana window
The data was successfully imported.
With powerful tools, I haven't been working on the internet lately, but I'm also thinking about where it's available.
Ref
Http://www.cnblogs.com/xiaouisme/p/3977721.html
Http://www.cnblogs.com/buzzlight/p/logstash_elasticsearch_kibana_log.html
Http://tinytub.github.io/logstash-install.html
http://blog.csdn.net/longxibendi/article/details/35237543
http://m.oschina.net/blog/179848
NOTES: Trial Kibana+logstash+elasticsearch+redis